Home
last modified time | relevance | path

Searched refs:cachedScript (Results 1 – 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/html/parser/
DHTMLScriptRunner.cpp60 if (m_parsingBlockingScript.cachedScript() && m_parsingBlockingScript.watchingForLoad()) in ~HTMLScriptRunner()
65 if (pendingScript.cachedScript() && pendingScript.watchingForLoad()) in ~HTMLScriptRunner()
96 if (script.cachedScript()) { in sourceFromPendingScript()
97 errorOccurred = script.cachedScript()->errorOccurred(); in sourceFromPendingScript()
98 ASSERT(script.cachedScript()->isLoaded()); in sourceFromPendingScript()
99 return ScriptSourceCode(script.cachedScript()); in sourceFromPendingScript()
110 if (script.cachedScript() && !script.cachedScript()->isLoaded()) in isPendingScriptReady()
132 if (pendingScript.cachedScript() && pendingScript.watchingForLoad()) in executePendingScriptAndDispatchEvent()
154 m_host->watchForLoad(pendingScript.cachedScript()); in watchForLoad()
161 m_host->stopWatchingForLoad(pendingScript.cachedScript()); in stopWatchingForLoad()
[all …]
DHTMLDocumentParser.cpp497 void HTMLDocumentParser::watchForLoad(CachedResource* cachedScript) in watchForLoad() argument
499 ASSERT(!cachedScript->isLoaded()); in watchForLoad()
503 cachedScript->addClient(this); in watchForLoad()
506 void HTMLDocumentParser::stopWatchingForLoad(CachedResource* cachedScript) in stopWatchingForLoad() argument
508 cachedScript->removeClient(this); in stopWatchingForLoad()
/external/webkit/Source/WebCore/bindings/js/
DCachedScriptSourceProvider.h41 …ptSourceProvider> create(CachedScript* cachedScript) { return adoptRef(new CachedScriptSourceProvi… in create() argument
59 CachedScriptSourceProvider(CachedScript* cachedScript) in CachedScriptSourceProvider() argument
60 …: ScriptSourceProvider(stringToUString(cachedScript->response().url()), cachedScript->sourceProvid… in CachedScriptSourceProvider()
61 , m_cachedScript(cachedScript) in CachedScriptSourceProvider()
69 inline JSC::SourceCode makeSource(CachedScript* cachedScript) in makeSource() argument
71 return JSC::SourceCode(CachedScriptSourceProvider::create(cachedScript)); in makeSource()
/external/webkit/Source/WebCore/dom/
DScriptRunner.cpp52 …tion(ScriptElement* scriptElement, CachedResourceHandle<CachedScript> cachedScript, ExecutionType … in queueScriptForExecution() argument
64 m_scriptsToExecuteSoon.append(PendingScript(element, cachedScript.get())); in queueScriptForExecution()
70 m_scriptsToExecuteInOrder.append(PendingScript(element, cachedScript.get())); in queueScriptForExecution()
105 …Order.size() && m_scriptsToExecuteInOrder[numInOrderScriptsToExecute].cachedScript()->isLoaded(); … in timerFired()
112 CachedScript* cachedScript = scripts[i].cachedScript(); in timerFired() local
114 toScriptElement(element.get())->execute(cachedScript); in timerFired()
DPendingScript.h52 PendingScript(Element* element, CachedScript* cachedScript) in PendingScript() argument
56 setCachedScript(cachedScript); in PendingScript()
65 setCachedScript(other.cachedScript()); in PendingScript()
78 setCachedScript(other.cachedScript());
93 CachedScript* cachedScript() const;
DPendingScript.cpp48 void PendingScript::setCachedScript(CachedScript* cachedScript) in setCachedScript() argument
50 if (m_cachedScript == cachedScript) in setCachedScript()
54 m_cachedScript = cachedScript; in setCachedScript()
59 CachedScript* PendingScript::cachedScript() const in cachedScript() function in WebCore::PendingScript
DScriptElement.cpp295 void ScriptElement::execute(CachedScript* cachedScript) in execute() argument
298 ASSERT(cachedScript); in execute()
299 if (cachedScript->errorOccurred()) in execute()
302 executeScript(ScriptSourceCode(cachedScript)); in execute()
305 cachedScript->removeClient(this); in execute()
DScriptElement.h60 CachedResourceHandle<CachedScript> cachedScript() { return m_cachedScript; } in cachedScript() function
DXMLDocumentParserQt.cpp604 m_pendingScript = scriptElement->cachedScript(); in parseEndElement()
DXMLDocumentParserLibxml2.cpp903 m_pendingScript = scriptElement->cachedScript(); in endElementNs()
/external/webkit/Source/WebCore/bindings/v8/
DScriptSourceCode.h65 CachedScript* cachedScript() const { return m_cachedScript.get(); } in cachedScript() function
DV8Proxy.cpp327 …<v8::ScriptData> V8Proxy::precompileScript(v8::Handle<v8::String> code, CachedScript* cachedScript) in precompileScript() argument
336 if (!cachedScript || code->Length() < minPreparseLength) in precompileScript()
339 CachedMetadata* cachedMetadata = cachedScript->cachedMetadata(dataTypeID); in precompileScript()
344 cachedScript->setCachedMetadata(dataTypeID, scriptData->Data(), scriptData->Length()); in precompileScript()
376 OwnPtr<v8::ScriptData> scriptData = precompileScript(code, source.cachedScript()); in evaluate()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0684747 (WebCore::PendingScript::cachedScript):
112992 (WebCore::HTMLScriptRunner::PendingScript::cachedScript):
116502 (WebCore::HTML5ScriptRunner::PendingScript::cachedScript):
117610 (WebCore::ScriptSourceCode::cachedScript):
118463 (WebCore::ScriptSourceCode::cachedScript):
128370 (WebCore::ScriptSourceCode::cachedScript):
DChangeLog-2005-08-2353673 Move check of cachedScript.isEmpty() until after scriptExecution()
53674 call, because cachedScript.isEmpty() value can be changed by that call.
DChangeLog-2005-12-199903 I also renamed cachedScript to pendingScripts.
DChangeLog-2011-02-1632682 …* dom/PendingScript.h: Add ctor which sets element and cachedScript. Rename adoptElement->setEleme…
DChangeLog63748 …(WebCore::ScriptElement::cachedScript): prepareScript() is the only place that should load scripts…