Bug 57407

Summary: Tokenizer stuck in ScriptDataDoubleEscapedState
Product: WebKit Reporter: Tony Gentilcore <tonyg>
Component: WebCore Misc.Assignee: Tony Gentilcore <tonyg>
Status: RESOLVED WONTFIX    
Severity: Normal CC: abarth, eric, gregsimon, ian
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 41115    
Attachments:
Description Flags
testcase none

Description Tony Gentilcore 2011-03-29 17:30:13 PDT
Created attachment 87441 [details]
testcase

See attached test case. FF4 behaves the same way so this is likely a spec bug.

IE7-9: PASS
SF5: PASS
OP11: PASS
FF3.6: PASS
FF4: FAIL
CR10-12: FAIL
Comment 1 Adam Barth 2011-03-29 17:36:40 PDT
Crazy.  That makes very little sense.
Comment 2 Adam Barth 2011-03-29 17:40:31 PDT
No, you're just in ScriptDataDoubleEscapedState.  It's a comment inside of the script tag.  I don't remember why we have all these escape states, but it's to model something.
Comment 3 Tony Gentilcore 2011-03-29 17:43:20 PDT
tests16.dat (line 1498) has nearly this exact test case. I'm going to fire up the debugger and see what it is doing.
Comment 4 Adam Barth 2011-03-29 17:51:16 PDT
Amusingly, but bug is a victim of itself.
Comment 5 Tony Gentilcore 2011-03-29 17:54:11 PDT
Filed spec bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=12398
Comment 6 Tony Gentilcore 2011-04-04 15:00:35 PDT
This is working as intended per http://www.w3.org/Bugs/Public/show_bug.cgi?id=12398