Summary: | [Mac] Add a flag telling plug-in if it can enter sandbox | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
Component: | Plug-ins | Assignee: | Alexey Proskuryakov <ap> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, mjs | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Alexey Proskuryakov
2012-01-17 11:38:12 PST
Created attachment 122789 [details]
proposed patch
Comment on attachment 122789 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=122789&action=review > Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:503 > + case WKNVAllowedToEnterSandbox: > + *(NPBool*)value = true; > + break; Shouldn't this be true only when running in the plug-in process? (Not that it really matters since we don't support in-process plug-ins with WebKit2). > we don't support in-process plug-ins with WebKit2
Yes, this is why I made it always return true. Was there a better way to write this?
This has been landed long ago in <http://trac.webkit.org/changeset/105323>. |