[EME] Remove Amazon Prime Video from quirks list
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jan 2019 16:36:31 +0000 (16:36 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jan 2019 16:36:31 +0000 (16:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193514
rdar://problem/47295330

Reviewed by Jer Noble.

* page/Quirks.cpp:
(WebCore::Quirks::hasBrokenEncryptedMediaAPISupportQuirk const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240112 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/page/Quirks.cpp

index 408b1b4..b58a862 100644 (file)
@@ -1,3 +1,14 @@
+2019-01-17  Jon Lee  <jonlee@apple.com>
+
+        [EME] Remove Amazon Prime Video from quirks list
+        https://bugs.webkit.org/show_bug.cgi?id=193514
+        rdar://problem/47295330
+
+        Reviewed by Jer Noble.
+
+        * page/Quirks.cpp:
+        (WebCore::Quirks::hasBrokenEncryptedMediaAPISupportQuirk const):
+
 2019-01-17  Zalan Bujtas  <zalan@apple.com>
 
         [LFC][BFC] An element with transform is a containing block for positioned descendants.
index 580933b..d19a9a6 100644 (file)
@@ -48,11 +48,7 @@ bool Quirks::hasBrokenEncryptedMediaAPISupportQuirk() const
 
     auto domain = m_document->securityOrigin().domain().convertToASCIILowercase();
 
-    m_hasBrokenEncryptedMediaAPISupportQuirk = domain == "amazon.com"
-        || domain.endsWith(".amazon.com")
-        || domain == "primevideo.com"
-        || domain.endsWith(".primevideo.com")
-        || domain == "starz.com"
+    m_hasBrokenEncryptedMediaAPISupportQuirk = domain == "starz.com"
         || domain.endsWith(".starz.com")
         || domain == "hulu.com"
         || domain.endsWith("hulu.com");