Bug 75265
Summary: | Comments in WebScriptController.h for registerExtension are outdated. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jamie Kirkpatrick <jkp> |
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jamie Kirkpatrick
The comments currently read:
// Registers a v8 extension to be available on webpages. The three forms
// offer various restrictions on what types of contexts the extension is
// loaded into. If a scheme is provided, only pages whose URL has the given
// scheme will match. If extensionGroup is provided, the extension will only
// be loaded into scripts run via WebFrame::ExecuteInNewWorld with the
// matching group.
The problem is there are no longer three forms of this function. See http://trac.webkit.org/browser/trunk/WebKit/chromium/public/WebScriptController.h?rev=68666, https://bugs.webkit.org/show_bug.cgi?id=46683 and https://bugs.webkit.org/show_bug.cgi?id=45721
The documentation should be updated to reflect the new method of restricting access.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |