diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-13 13:38:38 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-13 13:38:38 +0000 |
commit | 7c9043daf9f27fd5abc52692bb36163de0ad78bb (patch) | |
tree | ce50ee52c42e655e28e78b9d47dec36eeb0ff4c9 /test | |
parent | b61c223b23b1cede7fe5fb16262a1ff0906dda3c (diff) | |
download | libhubbub-7c9043daf9f27fd5abc52692bb36163de0ad78bb.tar.gz libhubbub-7c9043daf9f27fd5abc52692bb36163de0ad78bb.tar.bz2 |
Regression test for script collection when the utf8 buffer moves beneath it.
svn path=/trunk/hubbub/; revision=5083
Diffstat (limited to 'test')
-rw-r--r-- | test/data/html/INDEX | 1 | ||||
-rw-r--r-- | test/data/html/regression-script-collect.html | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/data/html/INDEX b/test/data/html/INDEX index 6f73bc1..2071fd8 100644 --- a/test/data/html/INDEX +++ b/test/data/html/INDEX @@ -10,3 +10,4 @@ misnested.html Misnested tags isindex.html Test of <isindex> parsing #firmaer.phtml http://www.danmarks.net/firmaer.phtml?idxno=1418&letter=F #d11MXs.2WQ9.d.htm http://www.secinfo.com/d11MXs.2WQ9.d.htm +regression-script-collect.html Regression test for script collection diff --git a/test/data/html/regression-script-collect.html b/test/data/html/regression-script-collect.html new file mode 100644 index 0000000..9812565 --- /dev/null +++ b/test/data/html/regression-script-collect.html @@ -0,0 +1,4 @@ +<!-- With parserutils in debug mode randomising the location of the utf8 buffer on calls to parserutils_inputstream_peek, this should not cause assertion failures --> +<script type="text/javascript"> +abcdefghijkl +</script> |