diff options
author | weinig <weinig@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2007-03-30 02:36:16 +0000 |
---|---|---|
committer | weinig <weinig@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2007-03-30 02:36:16 +0000 |
commit | d5e852524fad158b028c0df02df7bf54851a065b (patch) | |
tree | db6d13511ac1a876117401a9b602b0df04c71dc0 /third_party/WebKit/LayoutTests/fast/tokenizer/write-partial-entity.html | |
parent | 4ede4c51662f715dac5e9f6216160b0e8bf40831 (diff) | |
download | chromium_src-d5e852524fad158b028c0df02df7bf54851a065b.zip chromium_src-d5e852524fad158b028c0df02df7bf54851a065b.tar.gz chromium_src-d5e852524fad158b028c0df02df7bf54851a065b.tar.bz2 |
LayoutTests:
Reviewed by Darin.
- test for http://bugs.webkit.org/show_bug.cgi?id=13166
REGRESSION (2005-10-16 - 2005-10-19): Ampersands showing up in the last column of the Gmail contacts table
* fast/tokenizer/write-partial-entity-expected.txt: Added.
* fast/tokenizer/write-partial-entity.html: Added.
WebCore:
Reviewed by Darin.
- fix http://bugs.webkit.org/show_bug.cgi?id=13166
REGRESSION (2005-10-16 - 2005-10-19): Ampersands showing up in the last column of the Gmail contacts table
Test: fast/tokenizer/write-partial-entity.html
* html/HTMLTokenizer.cpp:
(WebCore::HTMLTokenizer::parseTag): Reordered to avoid resetting the buffer position
after script execution which can write to the buffer.
git-svn-id: svn://svn.chromium.org/blink/trunk@20607 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/tokenizer/write-partial-entity.html')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/tokenizer/write-partial-entity.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/tokenizer/write-partial-entity.html b/third_party/WebKit/LayoutTests/fast/tokenizer/write-partial-entity.html new file mode 100644 index 0000000..9ccd3b4 --- /dev/null +++ b/third_party/WebKit/LayoutTests/fast/tokenizer/write-partial-entity.html @@ -0,0 +1,33 @@ +<html> +<head> + <title></title> + <script> + if (window.layoutTestController) + layoutTestController.dumpAsText(); + </script> +</head> +<body> + <p> + Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13166">http://bugs.webkit.org/show_bug.cgi?id=13166</a> + REGRESSION (2005-10-16 - 2005-10-19): Ampersands showing up in the last column of the Gmail contacts table</i>. + </p> + <p> + The following lines should all say “1 < 2”. They should not contain ampersands. + </p> + 1 <script>document.write("<")</script>; 2<br> + 1 <script>document.write("&l")</script>t; 2<br> + 1 <script>document.write("&")</script>lt; 2<br> + 1 <script>document.write("&")</script>#x3c; 2<br> + 1 <script>document.write("&#")</script>x3c; 2<br> + 1 <script>document.write("&#x")</script>3c; 2<br> + 1 <script>document.write("")</script>c; 2<br> + 1 <script>document.write("<")</script>; 2<br> + 1 <script>document.write("<")</script> 2<br> + 1 <script>document.write("&")</script>#x3c; 2<br> + 1 <script>document.write("&")</script>#60; 2<br> + 1 <script>document.write("&#")</script>60; 2<br> + 1 <script>document.write("")</script>0; 2<br> + 1 <script>document.write("<")</script>; 2<br> + 1 <script>document.write("<")</script> 2<br> +</body> +</html> |