Bug 40804 - HTML5PreloadScanner parses <script> in DataState
Summary: HTML5PreloadScanner parses <script> in DataState
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 19:23 PDT by Adam Barth
Modified: 2010-06-17 19:48 PDT (History)
1 user (show)

See Also:


Attachments
Patch (4.53 KB, patch)
2010-06-17 19:25 PDT, Adam Barth
eric: review+
eric: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2010-06-17 19:23:36 PDT
HTML5PreloadScanner parses <script> in DataState
Comment 1 Adam Barth 2010-06-17 19:25:31 PDT
Created attachment 59059 [details]
Patch
Comment 2 Eric Seidel (no email) 2010-06-17 19:36:12 PDT
Comment on attachment 59059 [details]
Patch

+        ASSERT(m_lexer.state() != HTML5Lexer::ScriptDataState);

Should be the DataState always, no?
Comment 3 Adam Barth 2010-06-17 19:48:43 PDT
Committed r61370: <http://trac.webkit.org/changeset/61370>