[WK2][macOS] Support Flash Player DRM features
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 May 2017 19:54:45 +0000 (19:54 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 May 2017 19:54:45 +0000 (19:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=172157
<rdar://problem/31889297>

Reviewed by Dean Jackson.

Relax the IOKit whitelist to support DRM features needed by
some websites.

* PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:

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

Source/WebKit2/ChangeLog
Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in

index 747ee91..1dcb6ac 100644 (file)
@@ -1,5 +1,18 @@
 2017-05-16  Brent Fulgham  <bfulgham@apple.com>
 
+        [WK2][macOS] Support Flash Player DRM features
+        https://bugs.webkit.org/show_bug.cgi?id=172157
+        <rdar://problem/31889297>
+
+        Reviewed by Dean Jackson.
+
+        Relax the IOKit whitelist to support DRM features needed by
+        some websites.
+
+        * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:
+
+2017-05-16  Brent Fulgham  <bfulgham@apple.com>
+
         [WK2][macOS] Adopt a whitelist for XPC services
         https://bugs.webkit.org/show_bug.cgi?id=172151
         <rdar://problem/31916325>
index c73f1da..f0559a7 100644 (file)
@@ -63,6 +63,9 @@
     (iokit-property "IOGeneralInterest")
     (iokit-property "IOGLBundleName")
     (iokit-property "IOGVACodec")
+    (iokit-property-regex "^IOGVA[A-Z]+Decode")
+    (iokit-property "IOMACAddress") ;; For some Flash players
+    (iokit-property "IOPlatformSerialNumber") ;; Ditto
     (iokit-property "IOScreenRestoreState")
     (iokit-property "IOVARendererID")
     (iokit-property-regex #"^MetalPlugin(Name|ClassName)")