Searched refs:scriptElement (Results 1 – 7 of 7) sorted by relevance
/external/webkit/Source/WebCore/html/parser/ |
D | HTMLScriptRunner.cpp | 137 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 …]
|
D | HTMLDocumentParser.cpp | 201 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/ |
D | XMLDocumentParserQt.cpp | 536 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() 602 …scriptElement->executeScript(ScriptSourceCode(scriptElement->scriptContent(), document()->url(), m… in parseEndElement() 603 else if (scriptElement->willBeParserExecuted()) { in parseEndElement() 604 m_pendingScript = scriptElement->cachedScript(); in parseEndElement()
|
D | ScriptRunner.cpp | 52 void ScriptRunner::queueScriptForExecution(ScriptElement* scriptElement, CachedResourceHandle<Cache… in queueScriptForExecution() argument 54 ASSERT(scriptElement); in queueScriptForExecution() 56 Element* element = scriptElement->element(); in queueScriptForExecution()
|
D | XMLDocumentParser.cpp | 353 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()
|
D | XMLDocumentParserLibxml2.cpp | 821 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() 901 …scriptElement->executeScript(ScriptSourceCode(scriptElement->scriptContent(), document()->url(), m… in endElementNs() 902 else if (scriptElement->willBeParserExecuted()) { in endElementNs() 903 m_pendingScript = scriptElement->cachedScript(); in endElementNs()
|
D | xml_expat_tokenizer.cpp | 500 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()
|