[Webkit-unassigned] [Bug 75265] New: Comments in WebScriptController.h for registerExtension are outdated.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 27 12:08:13 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=75265

           Summary: Comments in WebScriptController.h for
                    registerExtension are outdated.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jkp at kirkconsulting.co.uk


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list