Title: [209206] trunk/Source/WebCore
Revision
209206
Author
bda...@apple.com
Date
2016-12-01 14:14:09 -0800 (Thu, 01 Dec 2016)

Log Message

Blacklist Netflix for TouchBar support
https://bugs.webkit.org/show_bug.cgi?id=165104

Rubber-stamped by Tim Horton.

Meant to not have the www. in the first case because that is covered by the second 
case.

* html/HTMLMediaElement.cpp:
(WebCore::needsPlaybackControlsManagerQuirk):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209205 => 209206)


--- trunk/Source/WebCore/ChangeLog	2016-12-01 22:07:10 UTC (rev 209205)
+++ trunk/Source/WebCore/ChangeLog	2016-12-01 22:14:09 UTC (rev 209206)
@@ -1,3 +1,16 @@
+2016-12-01  Beth Dakin  <bda...@apple.com>
+
+        Blacklist Netflix for TouchBar support
+        https://bugs.webkit.org/show_bug.cgi?id=165104
+
+        Rubber-stamped by Tim Horton.
+
+        Meant to not have the www. in the first case because that is covered by the second 
+        case.
+
+        * html/HTMLMediaElement.cpp:
+        (WebCore::needsPlaybackControlsManagerQuirk):
+
 2016-12-01  Dave Hyatt  <hy...@apple.com>
 
         [CSS Parser] Support -webkit-overflow-scrolling: touch

Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (209205 => 209206)


--- trunk/Source/WebCore/html/HTMLMediaElement.cpp	2016-12-01 22:07:10 UTC (rev 209205)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp	2016-12-01 22:14:09 UTC (rev 209206)
@@ -573,7 +573,7 @@
         return false;
 
     String host = page.mainFrame().document()->url().host();
-    return equalLettersIgnoringASCIICase(host, "www.netflix.com") || host.endsWithIgnoringASCIICase(".netflix.com");
+    return equalLettersIgnoringASCIICase(host, "netflix.com") || host.endsWithIgnoringASCIICase(".netflix.com");
 }
 
 HTMLMediaElement* HTMLMediaElement::bestMediaElementForShowingPlaybackControlsManager(MediaElementSession::PlaybackControlsPurpose purpose)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to