Bug 141347 - Add youtube-nocookie URL to isYouTubeURL predicate
Summary: Add youtube-nocookie URL to isYouTubeURL predicate
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-02-06 16:55 PST by Brent Fulgham
Modified: 2015-02-06 17:38 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.43 KB, patch)
2015-02-06 16:59 PST, Brent Fulgham
eric.carlson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2015-02-06 16:55:14 PST
Some YouTube content is served via their "www.youtube-nocookie.com" site, which apparently is needed to satisfy certain EU cookie handling guidelines.

We should make sure we recognize this as a valid YouTube URL.

Examples:

http://www.cnet.com/news/youtubes-new-nocookie-feature-continues-to-serve-cookies/
https://wordpress.org/support/topic/embed-wwwyoutube-nocookiecom-videos-1
http://www.google.com/safebrowsing/diagnostic?site=www.youtube-nocookie.com
Comment 1 Brent Fulgham 2015-02-06 16:55:35 PST
<rdar://problem/19430657>
Comment 2 Brent Fulgham 2015-02-06 16:59:09 PST
Created attachment 246192 [details]
Patch
Comment 3 Brent Fulgham 2015-02-06 17:38:19 PST
Committed r179773: <http://trac.webkit.org/changeset/179773>