Home
last modified time | relevance | path

Searched refs:scriptElement (Results 1 – 7 of 7) sorted by relevance

/external/webkit/Source/WebCore/html/parser/
DHTMLScriptRunner.cpp137 if (ScriptElement* scriptElement = toScriptElement(element.get())) { in executePendingScriptAndDispatchEvent() local
144 scriptElement->executeScript(sourceCode); in executePendingScriptAndDispatchEvent()
167 bool HTMLScriptRunner::execute(PassRefPtr<Element> scriptElement, const TextPosition1& scriptStartP… in execute() argument
169 ASSERT(scriptElement); in execute()
175 runScript(scriptElement.get(), scriptStartPosition); in execute()
291 ScriptElement* scriptElement = toScriptElement(script); in runScript() local
292 ASSERT(scriptElement); in runScript()
294 scriptElement->prepareScript(scriptStartPosition); in runScript()
296 if (!scriptElement->willBeParserExecuted()) in runScript()
299 if (scriptElement->willExecuteWhenDocumentFinishedParsing()) in runScript()
[all …]
DHTMLDocumentParser.cpp201 RefPtr<Element> scriptElement = m_treeBuilder->takeScriptToProcess(scriptStartPosition); in runScriptsForPausedTreeBuilder() local
205 return m_scriptRunner->execute(scriptElement.release(), scriptStartPosition); in runScriptsForPausedTreeBuilder()
/external/webkit/Source/WebCore/dom/
DXMLDocumentParserQt.cpp536 ScriptElement* scriptElement = toScriptElement(newElement.get()); in parseStartElement() local
537 if (scriptElement) in parseStartElement()
584 ScriptElement* scriptElement = toScriptElement(element); in parseEndElement() local
585 if (!scriptElement) { in parseEndElement()
594 …bool successfullyPrepared = scriptElement->prepareScript(m_scriptStartPosition, ScriptElement::All… in parseEndElement()
597 if (!scriptElement->isScriptTypeSupported(ScriptElement::AllowLegacyTypeInTypeAttribute)) in parseEndElement()
601 if (scriptElement->readyToBeParserExecuted()) in parseEndElement()
602scriptElement->executeScript(ScriptSourceCode(scriptElement->scriptContent(), document()->url(), m… in parseEndElement()
603 else if (scriptElement->willBeParserExecuted()) { in parseEndElement()
604 m_pendingScript = scriptElement->cachedScript(); in parseEndElement()
DScriptRunner.cpp52 void ScriptRunner::queueScriptForExecution(ScriptElement* scriptElement, CachedResourceHandle<Cache… in queueScriptForExecution() argument
54 ASSERT(scriptElement); in queueScriptForExecution()
56 Element* element = scriptElement->element(); in queueScriptForExecution()
DXMLDocumentParser.cpp353 ScriptElement* scriptElement = toScriptElement(e.get()); in notifyFinished() local
354 ASSERT(scriptElement); in notifyFinished()
360 scriptElement->dispatchErrorEvent(); in notifyFinished()
362 scriptElement->executeScript(sourceCode); in notifyFinished()
363 scriptElement->dispatchLoadEvent(); in notifyFinished()
DXMLDocumentParserLibxml2.cpp821 ScriptElement* scriptElement = toScriptElement(newElement.get()); in startElementNs() local
822 if (scriptElement) in startElementNs()
880 ScriptElement* scriptElement = toScriptElement(element); in endElementNs() local
881 if (!scriptElement) { in endElementNs()
890 …bool successfullyPrepared = scriptElement->prepareScript(m_scriptStartPosition, ScriptElement::All… in endElementNs()
893 if (!scriptElement->isScriptTypeSupported(ScriptElement::AllowLegacyTypeInTypeAttribute)) in endElementNs()
900 if (scriptElement->readyToBeParserExecuted()) in endElementNs()
901scriptElement->executeScript(ScriptSourceCode(scriptElement->scriptContent(), document()->url(), m… in endElementNs()
902 else if (scriptElement->willBeParserExecuted()) { in endElementNs()
903 m_pendingScript = scriptElement->cachedScript(); in endElementNs()
Dxml_expat_tokenizer.cpp500 Element* scriptElement = static_cast<Element*>(n); in endElementNs() local
504 scriptHref = scriptElement->getAttribute(srcAttr); in endElementNs()
508 const AtomicString& charset = scriptElement->getAttribute(charsetAttr); in endElementNs()
510 m_scriptElement = scriptElement; in endElementNs()
521 for (Node* child = scriptElement->firstChild(); child; child = child->nextSibling()) { in endElementNs()