Bug 171603

Summary: YouTube user agent quirk breaks new YouTube
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebCore Misc.Assignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia, commit-queue, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
See Also: https://bugzilla.gnome.org/show_bug.cgi?id=777702
https://bugs.webkit.org/show_bug.cgi?id=176094
https://bugs.webkit.org/show_bug.cgi?id=142074
Attachments:
Description Flags
Patch none

Description Michael Catanzaro 2017-05-03 09:04:15 PDT
Our user agent quirk to make YouTube 360 work breaks the new YouTube UI, causing it to attempt to use the obsolete custom elements v0 API. WebKit only supports the v1 API. We have to remove this quirk.

Note this does not affect Safari as Apple ports don't use our user agent quirks.
Comment 1 Michael Catanzaro 2017-05-03 09:07:42 PDT
Created attachment 308908 [details]
Patch
Comment 2 Michael Catanzaro 2017-05-03 13:21:18 PDT
"""
This preview is closed... for now
Thanks for your interest in helping us with the new desktop design! We've got a ton of feedback we're reading through, so we've closed the opt-in.
"""

So, I was apparently too slow and can't test this patch anymore... also, YouTube is crashing in trunk on bug #171336. But disabling/enabling site-specific quirks in MiniBrowser definitely toggled the problem when I tested it earlier today. So let's go with this.
Comment 3 WebKit Commit Bot 2017-05-03 13:51:04 PDT
Comment on attachment 308908 [details]
Patch

Clearing flags on attachment: 308908

Committed r216139: <http://trac.webkit.org/changeset/216139>
Comment 4 WebKit Commit Bot 2017-05-03 13:51:06 PDT
All reviewed patches have been landed.  Closing bug.