Index: Source/core/html/parser/HTMLScriptRunner.cpp |
diff --git a/Source/core/html/parser/HTMLScriptRunner.cpp b/Source/core/html/parser/HTMLScriptRunner.cpp |
index c8b9c6c27c7c249580a1311b6283b399f930d481..871096253b10d046ba70f35ae60ed435ebeed42d 100644 |
--- a/Source/core/html/parser/HTMLScriptRunner.cpp |
+++ b/Source/core/html/parser/HTMLScriptRunner.cpp |
@@ -158,8 +158,9 @@ void HTMLScriptRunner::stopWatchingForLoad(PendingScript& pendingScript) |
pendingScript.setWatchingForLoad(false); |
} |
-// This function should match 10.2.5.11 "An end tag whose tag name is 'script'" |
-// Script handling lives outside the tree builder to keep the each class simple. |
+// Implements the steps for 'An end tag whose tag name is "script"' |
+// http://whatwg.org/html#scriptEndTag |
+// Script handling lives outside the tree builder to keep each class simple. |
void HTMLScriptRunner::execute(PassRefPtr<Element> scriptElement, const TextPosition& scriptStartPosition) |
{ |
ASSERT(scriptElement); |
@@ -268,8 +269,8 @@ bool HTMLScriptRunner::requestPendingScript(PendingScript& pendingScript, Elemen |
return true; |
} |
-// This method is meant to match the HTML5 definition of "running a script" |
-// http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#running-a-script |
+// Implements the initial steps for 'An end tag whose tag name is "script"' |
+// http://whatwg.org/html#scriptEndTag |
void HTMLScriptRunner::runScript(Element* script, const TextPosition& scriptStartPosition) |
{ |
ASSERT(m_document); |