[Webkit-unassigned] [Bug 27698] New: [V8] Database callbacks get wrong isolated world

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 27 01:36:03 PDT 2009


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

           Summary: [V8] Database callbacks get wrong isolated world
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: abarth at webkit.org
                CC: fishd at chromium.org, dglazkov at chromium.org


This looks broken from code inspection.  I haven't tested yet.

    Frame* frame = V8Proxy::retrieveFrame();
[...]
            callback = V8CustomSQLStatementCallback::create(args[2], frame);
[...]
    v8::Handle<v8::Context> context = V8Proxy::context(m_frame.get());

The callbacks should just hold onto a v8::Context.  Right now, they should get
the v8::Context::GetCurrent() context.  (This is also wrong, but that's another
bug.)

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