[Webkit-unassigned] [Bug 92189] New: Disabling eval changes the timing of DidCreateScriptContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 24 18:06:51 PDT 2012


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

           Summary: Disabling eval changes the timing of
                    DidCreateScriptContext
           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: abarth at webkit.org
                CC: mihaip at chromium.org


See http://code.google.com/p/chromium/issues/detail?id=130200

Comment 15 by mihaip at chromium.org, Today (21 minutes ago)
Specifically, here's how DidCreateScriptContext is invoked when eval is allowed:

    ExtensionDispatcher::DidCreateScriptContext() [0x7f77a03b81fd]
    chrome::ChromeContentRendererClient::DidCreateScriptContext() [0x7f77a030fc50]
    RenderViewImpl::didCreateScriptContext() [0x7f7794e83480]
    WebKit::FrameLoaderClientImpl::didCreateScriptContext() [0x7f7797efc72e]
    WebCore::V8DOMWindowShell::initContextIfNeeded() [0x7f779923424d]
    WebCore::V8Proxy::mainWorldContext() [0x7f779924f9ac]
    WebCore::V8Proxy::mainWorldContext() [0x7f779924fbc1]
    WebCore::ScriptController::evaluate() [0x7f7799200a4e]
    WebCore::ScriptElement::executeScript() [0x7f7798acd5a0]
    WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent() [0x7f7799982f3f]
    WebCore::HTMLScriptRunner::executeParsingBlockingScript() [0x7f7799982d92]
    WebCore::HTMLScriptRunner::executeParsingBlockingScripts() [0x7f77999832be]
    WebCore::HTMLScriptRunner::executeScriptsWaitingForLoad() [0x7f779998345c]
    WebCore::HTMLDocumentParser::notifyFinished() [0x7f77999763d5]
    WebCore::CachedResource::checkNotify() [0x7f7799650a1a]
    WebCore::CachedScript::data() [0x7f77996626cb]
    WebCore::SubresourceLoader::didFinishLoading() [0x7f7799633b59]
    WebCore::ResourceLoader::didFinishLoading() [0x7f779962f2f9]
    WebCore::ResourceHandleInternal::didFinishLoading() [0x7f779904ee46]
    webkit_glue::WebURLLoaderImpl::Context::OnCompletedRequest() [0x7f779e28ee36]
    content::ResourceDispatcher::OnRequestComplete() [0x7f7794d7f1b0]
....

And when it's not:

    ExtensionDispatcher::DidCreateScriptContext() [0x7f7096cbd1fd]
    chrome::ChromeContentRendererClient::DidCreateScriptContext() [0x7f7096c14c50]
    RenderViewImpl::didCreateScriptContext() [0x7f708b788480]
    WebKit::FrameLoaderClientImpl::didCreateScriptContext() [0x7f708e80172e]
    WebCore::V8DOMWindowShell::initContextIfNeeded() [0x7f708fb3924d]
    WebCore::ScriptController::disableEval() [0x7f708fb05f93]
    WebCore::Document::disableEval() [0x7f708f31104c]
    WebCore::CSPDirectiveList::create() [0x7f708ff78c71]
    WebCore::ContentSecurityPolicy::didReceiveHeader() [0x7f708ff7bb13]
    WebCore::FrameLoader::didBeginDocument() [0x7f708ff03253]
    WebCore::DocumentWriter::begin() [0x7f708fef684d]
    WebCore::DocumentLoader::commitData() [0x7f708fee6c2f]
    WebKit::WebFrameImpl::commitDocumentData() [0x7f708e860e52]
    WebKit::FrameLoaderClientImpl::committedLoad() [0x7f708e804a87]
    WebCore::DocumentLoader::commitLoad() [0x7f708fee6b6c]
    WebCore::DocumentLoader::receivedData() [0x7f708fee706b]
    WebCore::MainResourceLoader::addData() [0x7f708ff1eb97]
    WebCore::ResourceLoader::didReceiveData() [0x7f708ff339cb]
    WebCore::MainResourceLoader::didReceiveData() [0x7f708ff20044]
    WebCore::ResourceLoader::didReceiveData() [0x7f708ff342b3]
    WebCore::ResourceHandleInternal::didReceiveData() [0x7f708f953c7e]
    webkit_glue::WebURLLoaderImpl::Context::OnReceivedData() [0x7f7094b93a4c]
    content::ResourceDispatcher::OnReceivedData() [0x7f708b683d83]
....

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