Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
CTTE: ScriptElement always has a HTTPScriptElement or SVGScriptElement.
<https://webkit.org/b/134637> Have ScriptElement store the pointer to the more specific subclass element as a reference. Also made the constructor protected since nobody should instantiate ScriptElement directly. Reviewed by Antti Koivisto. * dom/ScriptElement.cpp: (WebCore::ScriptElement::ScriptElement): (WebCore::ScriptElement::childrenChanged): (WebCore::ScriptElement::dispatchErrorEvent): (WebCore::ScriptElement::prepareScript): (WebCore::ScriptElement::requestScript): (WebCore::ScriptElement::executeScript): (WebCore::ScriptElement::notifyFinished): (WebCore::ScriptElement::ignoresLoadRequest): (WebCore::ScriptElement::scriptContent): * dom/ScriptElement.h: (WebCore::ScriptElement::element): * dom/ScriptRunner.cpp: (WebCore::ScriptRunner::queueScriptForExecution): * html/HTMLScriptElement.cpp: (WebCore::HTMLScriptElement::HTMLScriptElement): * svg/SVGScriptElement.cpp: (WebCore::SVGScriptElement::SVGScriptElement): Canonical link: https://commits.webkit.org/152613@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Andreas Kling
committed
Jul 4, 2014
1 parent
3675d1d
commit 8265d112d3b4c36f7f794a0ef9b74cb095d136a7
Showing
6 changed files
with
71 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters