Lines Matching defs:cachedScript
60 if (m_parsingBlockingScript.cachedScript() && m_parsingBlockingScript.watchingForLoad())
65 if (pendingScript.cachedScript() && pendingScript.watchingForLoad())
96 if (script.cachedScript()) {
97 errorOccurred = script.cachedScript()->errorOccurred();
98 ASSERT(script.cachedScript()->isLoaded());
99 return ScriptSourceCode(script.cachedScript());
110 if (script.cachedScript() && !script.cachedScript()->isLoaded())
132 if (pendingScript.cachedScript() && pendingScript.watchingForLoad())
154 m_host->watchForLoad(pendingScript.cachedScript());
161 m_host->stopWatchingForLoad(pendingScript.cachedScript());
205 bool HTMLScriptRunner::executeScriptsWaitingForLoad(CachedResource* cachedScript)
209 ASSERT_UNUSED(cachedScript, m_parsingBlockingScript.cachedScript() == cachedScript);
210 ASSERT(m_parsingBlockingScript.cachedScript()->isLoaded());
230 ASSERT(m_scriptsToExecuteAfterParsing.first().cachedScript());
231 if (!m_scriptsToExecuteAfterParsing.first().cachedScript()->isLoaded()) {
248 ASSERT(m_parsingBlockingScript.cachedScript());
250 // We only care about a load callback if cachedScript is not already
253 if (!m_parsingBlockingScript.cachedScript()->isLoaded())
263 ASSERT(pendingScript.cachedScript());
272 CachedScript* cachedScript = toScriptElement(script)->cachedScript().get();
273 if (!cachedScript) {
277 pendingScript.setCachedScript(cachedScript);