Title: [208708] trunk/Source/WebKit2
- Revision
- 208708
- Author
- bfulg...@apple.com
- Date
- 2016-11-14 13:44:38 -0800 (Mon, 14 Nov 2016)
Log Message
[Mac][iOS][WK2] Tighten permissions to change CapsLock delay
https://bugs.webkit.org/show_bug.cgi?id=164725
<rdar://problem/28970910>
Reviewed by Alexey Proskuryakov.
* PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in: Limit access
to the IOKit connection that actually needs it.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (208707 => 208708)
--- trunk/Source/WebKit2/ChangeLog 2016-11-14 21:38:02 UTC (rev 208707)
+++ trunk/Source/WebKit2/ChangeLog 2016-11-14 21:44:38 UTC (rev 208708)
@@ -1,5 +1,16 @@
2016-11-14 Brent Fulgham <bfulg...@apple.com>
+ [Mac][iOS][WK2] Tighten permissions to change CapsLock delay
+ https://bugs.webkit.org/show_bug.cgi?id=164725
+ <rdar://problem/28970910>
+
+ Reviewed by Alexey Proskuryakov.
+
+ * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in: Limit access
+ to the IOKit connection that actually needs it.
+
+2016-11-14 Brent Fulgham <bfulg...@apple.com>
+
Unreviewed sandbox fix after r208702
Correct version check to avoid breaking users in Safari Technology Preview
Modified: trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in (208707 => 208708)
--- trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in 2016-11-14 21:38:02 UTC (rev 208707)
+++ trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in 2016-11-14 21:44:38 UTC (rev 208708)
@@ -314,7 +314,12 @@
(shared-preferences-read "org.cups.PrintingPrefs"))
;; Text Services Manager
+#if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200)
+(with-filter (iokit-registry-entry-class "IOHIDEventDriver")
+ (allow iokit-set-properties (iokit-property "CapsLockDelayOverride")))
+#else
(allow iokit-set-properties (iokit-property "CapsLockDelayOverride"))
+#endif
;; Image Capture
(define (webkit-imagecapture)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes