[Webkit-unassigned] [Bug 26906] New: Prevent Javascript object from being initialized when JavascriptEnabled is false

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 1 14:41:42 PDT 2009


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

           Summary: Prevent Javascript object from being initialized when
                    JavascriptEnabled is false
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robert at roberthogan.net


If clients call addToJavaScriptWindowObject even though JavascriptEnabled is
false webkit will segfault on the assert:
          ASSERTION FAILED: _rootObject
          (../../../WebCore/bridge/runtime.cpp:52
         
JSC::Bindings::Instance::Instance(WTF::PassRefPtr<JSC::Bindings::RootObject>))

Fix is to ensure JavaScript is enabled when client calls
addToJavaScriptWindowObject.


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



More information about the webkit-unassigned mailing list