[Webkit-unassigned] [Bug 26966] New: [V8] Move security functions from V8Proxy to V8SecurityManager

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 4 08:33:31 PDT 2009


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

           Summary: [V8] Move security functions from V8Proxy to
                    V8SecurityManager
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: abarth at webkit.org


My initial impression of which functions to move are:

        static DOMWindow* retrieveWindow();
        static DOMWindow* retrieveWindow(v8::Handle<v8::Context>);
        static V8Proxy* retrieve();
        static V8Proxy* retrieve(Frame*);
        static V8Proxy* retrieve(ScriptExecutionContext*);
        static Frame* retrieveFrame();
        static Frame* retrieveFrame(v8::Handle<v8::Context>);
        static Frame* retrieveFrameForEnteredContext();
        static Frame* retrieveFrameForCurrentContext();
        static Frame* retrieveFrameForCallingContext();
        static v8::Local<v8::Context> context(Frame*);
        static v8::Local<v8::Context> currentContext();
        static bool canAccessFrame(Frame*, bool reportError);
        static bool checkNodeSecurity(Node*);
        static bool canAccessPrivate(DOMWindow*);

I think there are some more hidden elsewhere.

Also, I would hope we can cut down on the number of retrieve* functions.  How
is a developer supposed to know which one to use?

-- 
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