Commit 7394d79e authored by darin's avatar darin
Browse files

Test: fast/parser/script-after-frameset-assert.html

        Reviewed by Darin.
        
        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6959
          REGRESSION: Assertion failure in HTMLTokenizer::parseTag (!scriptNode) on page with ignored scripts

        * khtml/html/htmltokenizer.cpp:
        (WebCore::HTMLTokenizer::scriptHandler): Reset scriptNode to 0 if the
        script is being skipped.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2b9bd35c
2006-01-31 Mitz Pettel <opendarwin.org@mitzpettel.com>
Test: fast/parser/script-after-frameset-assert.html
Reviewed by Darin.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6959
REGRESSION: Assertion failure in HTMLTokenizer::parseTag (!scriptNode) on page with ignored scripts
* khtml/html/htmltokenizer.cpp:
(WebCore::HTMLTokenizer::scriptHandler): Reset scriptNode to 0 if the
script is being skipped.
2006-01-31 Mitz Pettel <opendarwin.org@mitzpettel.com>
 
Reviewed by Darin.
......
......@@ -371,7 +371,8 @@ HTMLTokenizer::State HTMLTokenizer::scriptHandler(State state)
pendingScripts.enqueue(cs);
else
scriptNode = 0;
}
} else
scriptNode = 0;
scriptSrc=QString::null;
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment