Skip to content

Commit

Permalink
Fix #2: JSON has Unicode strings so a leading U+FEFF is not a BOM.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Apr 11, 2013
1 parent e65afbd commit f6a1b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokenizer/domjs.test
Expand Up @@ -18,9 +18,9 @@
"output":["ParseError", ["Character", "\\uFFFD"]]
},
{
"description":"skip first BOM but not later ones",
"description":"leading U+FEFF must pass through",
"input":"\uFEFFfoo\uFEFFbar",
"output":[["Character", "foo\uFEFFbar"]]
"output":[["Character", "\uFEFFfoo\uFEFFbar"]]
},
{
"description":"Non BMP-charref in in RCDATA",
Expand Down

0 comments on commit f6a1b20

Please sign in to comment.