XMLDocumentParser::notifyFinished calls ScriptController::executeScript directly and fails to set isEvaluated flag to true.
We should call ScriptElement's executeScript instead.
Created attachment 74185 [details]
I'm wondering what should happen to scripts inside SVG <use>.
From the bug 49647:
(In reply to comment #2)
> > WebCore/dom/ScriptElement.h:90
> > + bool m_isEvaluated; // HTML5: "already started"
> Better names for these data members, that would obviate the need for those HTML5 comments:
This really annoyed me when I first looked at this code. I'm glad I can finally correct this.
oops wrong bug, please ignore my comment #3.
Thanks for the review, Adam. Will land.
Committed r72638: <http://trac.webkit.org/changeset/72638>