Changeset 64796 in webkit
- Timestamp:
- Aug 5, 2010 4:52:00 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r64784 r64796 1 2010-08-05 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 js-test-pre.js's escapeHTML should escape null characters so we can see them 6 https://bugs.webkit.org/show_bug.cgi?id=43579 7 8 * fast/canvas/canvas-getContext-invalid-expected.txt: 9 * fast/js/null-char-in-string-expected.txt: 10 * fast/js/resources/js-test-pre.js: 11 (escapeHTML): 12 * fast/js/switch-behaviour-expected.txt: 13 * storage/domstorage/complex-values-expected.txt: 14 * websocket/tests/bad-sub-protocol-control-chars-expected.txt: 15 1 16 2010-08-05 Ilya Tikhonovsky <loislo@chromium.org> 2 17 -
trunk/LayoutTests/fast/canvas/canvas-getContext-invalid-expected.txt
r61637 r64796 7 7 PASS canvas.getContext('2d#') is null 8 8 PASS canvas.getContext('This is clearly not a valid context name.') is null 9 PASS canvas.getContext('2d �') is null9 PASS canvas.getContext('2d\0') is null 10 10 PASS canvas.getContext('2d') is null 11 11 PASS canvas.getContext('2D') is null -
trunk/LayoutTests/fast/js/null-char-in-string-expected.txt
r61637 r64796 4 4 5 5 6 PASS String(" �").length is 16 PASS String("\0").length is 1 7 7 PASS successfullyParsed is true 8 8 -
trunk/LayoutTests/fast/js/resources/js-test-pre.js
r63730 r64796 24 24 function escapeHTML(text) 25 25 { 26 return text.replace(/&/g, "&").replace(/</g, "<") ;26 return text.replace(/&/g, "&").replace(/</g, "<").replace(/\0/g, "\\0"); 27 27 } 28 28 -
trunk/LayoutTests/fast/js/switch-behaviour-expected.txt
r61637 r64796 4 4 5 5 6 PASS characterSwitch(' �') is "�"6 PASS characterSwitch('\0') is "\0" 7 7 PASS characterSwitch('A') is "A" 8 8 PASS characterSwitch('a') is "a" … … 20 20 PASS characterSwitch(1000000000) is "default" 21 21 PASS characterSwitch({}) is "default" 22 PASS sparseCharacterSwitch(' �') is "�"22 PASS sparseCharacterSwitch('\0') is "\0" 23 23 PASS sparseCharacterSwitch('A') is "A" 24 24 PASS sparseCharacterSwitch('a') is "a" … … 36 36 PASS sparseCharacterSwitch(1000000000) is "default" 37 37 PASS sparseCharacterSwitch({}) is "default" 38 PASS stringSwitch(' �') is "�"38 PASS stringSwitch('\0') is "\0" 39 39 PASS stringSwitch('A') is "A" 40 40 PASS stringSwitch('a') is "a" … … 54 54 PASS stringSwitch(1000000000) is "default" 55 55 PASS stringSwitch({}) is "default" 56 PASS numberSwitch(' �') is "default"56 PASS numberSwitch('\0') is "default" 57 57 PASS numberSwitch('A') is "default" 58 58 PASS numberSwitch('a') is "default" … … 72 72 PASS numberSwitch(1000000000) is "default" 73 73 PASS numberSwitch({}) is "default" 74 PASS sparseNumberSwitch(' �') is "default"74 PASS sparseNumberSwitch('\0') is "default" 75 75 PASS sparseNumberSwitch('A') is "default" 76 76 PASS sparseNumberSwitch('a') is "default" … … 90 90 PASS sparseNumberSwitch(1000000000) is 1000000000 91 91 PASS sparseNumberSwitch({}) is "default" 92 PASS generalSwitch(' �') is "�"92 PASS generalSwitch('\0') is "\0" 93 93 PASS generalSwitch('A') is "A" 94 94 PASS generalSwitch('a') is "a" -
trunk/LayoutTests/storage/domstorage/complex-values-expected.txt
r61637 r64796 83 83 storage.foo10 = k 84 84 PASS typeof storage['foo10'] is "string" 85 PASS storage['foo10'] is "ÿ찡 �hello"85 PASS storage['foo10'] is "ÿ찡\0hello" 86 86 PASS typeof storage.foo10 is "string" 87 PASS storage.foo10 is "ÿ찡 �hello"87 PASS storage.foo10 is "ÿ찡\0hello" 88 88 PASS typeof storage.getItem('foo10') is "string" 89 PASS storage.getItem('foo10') is "ÿ찡 �hello"89 PASS storage.getItem('foo10') is "ÿ찡\0hello" 90 90 storage['foo11'] = k 91 91 PASS typeof storage['foo11'] is "string" 92 PASS storage['foo11'] is "ÿ찡 �hello"92 PASS storage['foo11'] is "ÿ찡\0hello" 93 93 PASS typeof storage.foo11 is "string" 94 PASS storage.foo11 is "ÿ찡 �hello"94 PASS storage.foo11 is "ÿ찡\0hello" 95 95 PASS typeof storage.getItem('foo11') is "string" 96 PASS storage.getItem('foo11') is "ÿ찡 �hello"96 PASS storage.getItem('foo11') is "ÿ찡\0hello" 97 97 storage.setItem('foo12', k) 98 98 PASS typeof storage['foo12'] is "string" 99 PASS storage['foo12'] is "ÿ찡 �hello"99 PASS storage['foo12'] is "ÿ찡\0hello" 100 100 PASS typeof storage.foo12 is "string" 101 PASS storage.foo12 is "ÿ찡 �hello"101 PASS storage.foo12 is "ÿ찡\0hello" 102 102 PASS typeof storage.getItem('foo12') is "string" 103 PASS storage.getItem('foo12') is "ÿ찡 �hello"103 PASS storage.getItem('foo12') is "ÿ찡\0hello" 104 104 105 105 … … 183 183 storage.foo10 = k 184 184 PASS typeof storage['foo10'] is "string" 185 PASS storage['foo10'] is "ÿ찡 �hello"185 PASS storage['foo10'] is "ÿ찡\0hello" 186 186 PASS typeof storage.foo10 is "string" 187 PASS storage.foo10 is "ÿ찡 �hello"187 PASS storage.foo10 is "ÿ찡\0hello" 188 188 PASS typeof storage.getItem('foo10') is "string" 189 PASS storage.getItem('foo10') is "ÿ찡 �hello"189 PASS storage.getItem('foo10') is "ÿ찡\0hello" 190 190 storage['foo11'] = k 191 191 PASS typeof storage['foo11'] is "string" 192 PASS storage['foo11'] is "ÿ찡 �hello"192 PASS storage['foo11'] is "ÿ찡\0hello" 193 193 PASS typeof storage.foo11 is "string" 194 PASS storage.foo11 is "ÿ찡 �hello"194 PASS storage.foo11 is "ÿ찡\0hello" 195 195 PASS typeof storage.getItem('foo11') is "string" 196 PASS storage.getItem('foo11') is "ÿ찡 �hello"196 PASS storage.getItem('foo11') is "ÿ찡\0hello" 197 197 storage.setItem('foo12', k) 198 198 PASS typeof storage['foo12'] is "string" 199 PASS storage['foo12'] is "ÿ찡 �hello"199 PASS storage['foo12'] is "ÿ찡\0hello" 200 200 PASS typeof storage.foo12 is "string" 201 PASS storage.foo12 is "ÿ찡 �hello"201 PASS storage.foo12 is "ÿ찡\0hello" 202 202 PASS typeof storage.getItem('foo12') is "string" 203 PASS storage.getItem('foo12') is "ÿ찡 �hello"203 PASS storage.getItem('foo12') is "ÿ찡\0hello" 204 204 PASS successfullyParsed is true 205 205 -
trunk/LayoutTests/websocket/tests/bad-sub-protocol-control-chars-expected.txt
r61637 r64796 6 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 7 7 8 PASS new WebSocket("ws://127.0.0.1:8880/simple", " �") threw exception Error: SYNTAX_ERR: DOM Exception 12.8 PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception Error: SYNTAX_ERR: DOM Exception 12. 9 9 PASS new WebSocket("ws://127.0.0.1:8880/simple", " ") threw exception Error: SYNTAX_ERR: DOM Exception 12. 10 10 PASS new WebSocket("ws://127.0.0.1:8880/simple", "
Note: See TracChangeset
for help on using the changeset viewer.