Slashdot Mirror


Google Has Made YouTube Slower on Edge and Firefox, Mozilla Alleges (neowin.net)

Usama Jawad, writing for Neowin: Early last year, YouTube received a design refresh with Google's own Polymer library which enabled "quicker feature development" for the platform. Now, a Mozilla executive is claiming that Google has made YouTube slower on Edge and Firefox by using this framework. In a thread on Twitter, Mozilla's Technical Program Manager has stated that YouTube's Polymer redesign relies heavily on the deprecated Shadow DOM v0 API, which is only available in Chrome. This in turn makes the site around five times slower on competing browsers such as Microsoft Edge and Mozilla Firefox. Further reading: Safari Users Unable to Play Newer 4K Video On YouTube in Native Resolution.

6 of 145 comments (clear)

  1. Shadow DOM is a W3C standard by Anonymous Coward · · Score: 5, Interesting

    Shadow DOM is a W3C standard. I don't know why they throw in "v0" there, as far as I know, the version of the Shadow DOM that Chrome supports is the released standard. Firefox flat-out doesn't support it yet.

    The Shadow DOM makes various repeated elements load much faster because it allows the same snippet of HTML be reused without being reparsed. It's a very useful feature if you're writing a web UI library where you have effectively the same HTML chunk over and over again. The lack of support in Firefox and Edge is annoying and results in effectively having to manually add the elements to the DOM, which is, not surprisingly, slower than just being able to copy them.

    This isn't Google being evil. This is Google using web standards that Firefox is too lazy to adapt.

    1. Re: Shadow DOM is a W3C standard by Anonymous Coward · · Score: 0, Interesting

      Are you seriously trying to deny google is evil? The rest of us figured it out 10-15 years ago.

    2. Re:Shadow DOM is a W3C standard by GeLeTo · · Score: 5, Interesting

      The parent post is moderated into oblivion but it is 100% correct. The statement that Shadow DOM is deprecated is factually wrong. If Shadow DOM did not exist - Polymer apps would have been equally slow on all browsers. Firefox currently has experimental support for Shadow DOM, you can enable it with the dom.webcomponents.shadowdom.enabled flag.

    3. Re:Shadow DOM is a W3C standard by squiggleslash · · Score: 5, Interesting

      This appears to be correct. Mozilla are in the middle of implementing Shadow DOM and there's an about:config flag you can flip to turn it on (although whether that means Youtube will automatically start using it is another question, most websites go by browser ID rather than probing for features alas.)

      The notion this is tied to "version 0" is the bit that I don't get about the summary. It doesn't matter what version of Shadow DOM is targeted by Youtube, none of the major browsers except Chrome supports it right now.

      On that basis, I'd say "Google making use of a good new standard that they happen to support but other browser makers haven't gotten around to yet, with a safe workaround for browsers that don't support it" is hardly the anticompetitive act the summary makes it out to be. I'd expect websites, be they Google or anyone else, to do the same thing.

      --
      You are not alone. This is not normal. None of this is normal.
  2. We neec to get Chrome away from Google by xack · · Score: 4, Interesting

    Development of Chrome should be sent off to an independent organization (perhaps forced to by anti trust courts). Chrome now has more market share than internet explorer used to and also owns phones and schools with chromebooks. We also need to force Google to code to standards and work on all of the competition’s browsers under interoperability laws. this includes minority browers like waterfox and falkon.

  3. I am APK the LORD of HOSTS by Anonymous Coward · · Score: 3, Interesting

    I am APK the great "LORD of HOSTS", a.k.a. AlecStaar or Alexander Peter Kowalski.

    See subject & APK Hosts File Engine 2.0++ 64-bit for Linux h t t p : / / I . a m . a . f u c k i n g / a s s h o l e . r e t a r d . z i p (remove spaces between characters & download).

    I am the godlike creator of various GUI front-ends for other people's configuration files.

    Calling people ne'er-do-wells or Jealous JOWIEs is how I think I win every argument

    When people state the truth about me I get really mad and accuse them of projecting which is something I do all the time.

    Don't call me out on anything unless you are willing to prove you too can write some strings to a file programmatically

    Spamming and being a general pain in the ass is what I do

    Listen as I relive my glory days of being a college athlete in the early 80s

    You must be conspiring with the Jews and Soros if you disagree with me

    Bask in my greatness as I can do a ping as a non root user.

    Watch as I whine about my work being flagged as malware by anti-virus software.

    Witness my descent into madness

    APK