Title: [179773] trunk/Source/WebCore
Revision
179773
Author
[email protected]
Date
2015-02-06 17:38:15 -0800 (Fri, 06 Feb 2015)

Log Message

Add youtube-nocookie URL to isYouTubeURL predicate 
https://bugs.webkit.org/show_bug.cgi?id=141347
<rdar://problem/19430657>

Reviewed by Eric Carlson.

* Modules/plugins/YouTubePluginReplacement.cpp:
(WebCore::isYouTubeURL): Update for additional youtube-nocookie site.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (179772 => 179773)


--- trunk/Source/WebCore/ChangeLog	2015-02-07 01:24:48 UTC (rev 179772)
+++ trunk/Source/WebCore/ChangeLog	2015-02-07 01:38:15 UTC (rev 179773)
@@ -1,3 +1,14 @@
+2015-02-06  Brent Fulgham  <[email protected]>
+
+        Add youtube-nocookie URL to isYouTubeURL predicate 
+        https://bugs.webkit.org/show_bug.cgi?id=141347
+        <rdar://problem/19430657>
+
+        Reviewed by Eric Carlson.
+
+        * Modules/plugins/YouTubePluginReplacement.cpp:
+        (WebCore::isYouTubeURL): Update for additional youtube-nocookie site.
+
 2015-02-06  Said Abou-Hallawa  <[email protected]>
 
         Invalid cast in WebCore::SVGAnimateElement::calculateAnimatedValue.

Modified: trunk/Source/WebCore/Modules/plugins/YouTubePluginReplacement.cpp (179772 => 179773)


--- trunk/Source/WebCore/Modules/plugins/YouTubePluginReplacement.cpp	2015-02-07 01:24:48 UTC (rev 179772)
+++ trunk/Source/WebCore/Modules/plugins/YouTubePluginReplacement.cpp	2015-02-07 01:38:15 UTC (rev 179773)
@@ -186,7 +186,9 @@
     return hostName == "m.youtube.com"
         || hostName == "youtu.be"
         || hostName == "www.youtube.com"
-        || hostName == "youtube.com";
+        || hostName == "youtube.com"
+        || hostName == "www.youtube-nocookie.com"
+        || hostName == "youtube-nocookie.com";
 }
 
 static const String& valueForKey(const YouTubePluginReplacement::KeyValueMap& dictionary, const String& key)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to