Changeset 150175 in webkit
- Timestamp:
- May 15, 2013, 9:34:51 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Source/WebKit2/ChangeLog ¶
r150161 r150175 1 2013-05-15 Simon Cooper <scooper@apple.com> 2 3 Enable printing in plugins 4 https://bugs.webkit.org/show_bug.cgi?id=116201 5 <rdar://problem/12347902> 6 7 Reviewed by Alexey Proskuryakov. 8 9 Add the printing entitlement so that legacy printing drivers can 10 customize the print panel. Update the printing rules and enable them 11 for the plugins. 12 13 * Configurations/PluginService.entitlements: 14 * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb: 15 * Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb: 16 * Resources/PlugInSandboxProfiles/com.microsoft.SilverlightPlugin.sb: 17 * Resources/PlugInSandboxProfiles/com.oracle.java.JavaAppletPlugin.sb: 18 1 19 2013-05-15 Anders Carlsson <andersca@apple.com> 2 20 -
TabularUnified trunk/Source/WebKit2/Configurations/PluginService.entitlements ¶
r143544 r150175 3 3 <plist version="1.0"> 4 4 <dict> 5 <key>com.apple.security.print</key> 6 <true/> 5 7 <key>com.apple.security.files.user-selected.read-write</key> 6 8 <true/> -
TabularUnified trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb ¶
r149751 r150175 177 177 (global-name "com.apple.cmio.VDCAssistant") 178 178 (global-name "com.apple.cookied") ;; FIXME: <rdar://problem/10790768> Limit access to cookies. 179 (global-name "com.apple.coreservices.launchservicesd") 179 180 (global-name "com.apple.ocspd") 180 181 (global-name "com.apple.pasteboard.1") … … 231 232 ;; Printing 232 233 (define (webkit-printing) 234 (if (defined? 'authorization-right-obtain) 235 (allow authorization-right-obtain 236 (right-name "system.print.operator") 237 (right-name "system.printingmanager"))) 238 (if (defined? 'mach-register) 239 (deny mach-register (with no-log) 240 (global-name-regex #"^com\.apple\.ICA-[0-9]+$"))) 241 (if (defined? 'mach-task-name) 242 (allow mach-task-name)) 233 243 (allow network-outbound (literal "/private/var/run/cupsd")) 234 244 (allow mach-lookup … … 237 247 (global-name "com.apple.printtool.daemon")) 238 248 (allow file-read* 249 (subpath "/Library/Printers") 239 250 (home-literal "/.cups/lpoptions") 240 251 (home-literal "/.cups/client.conf") … … 242 253 (literal "/private/etc/cups/lpoptions") 243 254 (subpath "/private/etc/cups/ppd") 244 (subpath "/private/var/run/cupsd") 245 (shared-preferences-read "org.cups.PrintingPrefs")))255 (subpath "/private/var/run/cupsd")) 256 (shared-preferences-read "org.cups.PrintingPrefs")) 246 257 247 258 ;; Text Services Manager -
TabularUnified trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb ¶
r149217 r150175 28 28 29 29 (webkit-powerbox) 30 (webkit-printing) -
TabularUnified trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.microsoft.SilverlightPlugin.sb ¶
r149217 r150175 21 21 (allow ipc-posix-shm* 22 22 (ipc-posix-name-regex #"^CoreCLR_")) 23 24 (webkit-printing) -
TabularUnified trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.oracle.java.JavaAppletPlugin.sb ¶
r149217 r150175 36 36 (deny job-creation (with no-log)) 37 37 (deny file-write* (with no-log) (subpath "/Library/Application Support/Oracle")) 38 39 (webkit-printing)
Note:
See TracChangeset
for help on using the changeset viewer.