Commit 462005d
Set dontSwallowBom for testharness
This change causes the dontSwallowBom() method to be called for the
driver instance used in TokenizerTester. That causes any BOM at the
beginning of test input to not be swallowed but instead preserved.
Otherwise, without this change, the following html5lib-tests case fails:
* https://github.com/html5lib/html5lib-tests/blob/master/tokenizer/domjs.test#L197
Relates to #351 parent a0c0a75 commit 462005d
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
0 commit comments