Open GoogleCodeExporter opened 9 years ago
If I understand correctly, you are inside a double quoted javascript string
literal.
We don't really know about document.write or it's meaning, we just it's
arguments as regular strings.
Original comment by filipe.a...@gmail.com
on 2 Apr 2011 at 5:25
I mean that: why did not the state change from JSPARSER_STATE_DQ to
JSPARSER_STATE_Q when parse the string 'www.example.com'? I thought I am inside
a single quoted javascript string literal.
Original comment by zbo...@gmail.com
on 2 Apr 2011 at 11:24
Actually in your example you are still inside a double quoted javascript
literal. the single quotes are just part of the string.
Original comment by filipe.a...@gmail.com
on 29 Feb 2012 at 1:58
Original issue reported on code.google.com by
zbo...@gmail.com
on 10 Jan 2011 at 10:15