Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: LayoutTests/fast/dom/dataset-xhtml-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/dom/dataset-expected.txt ('k') | LayoutTests/fast/dom/document-set-body.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This tests element.dataset for XHTML. 1 This tests element.dataset for XHTML.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS testGet('data-foo', 'foo') is true 6 PASS testGet('data-foo', 'foo') is true
7 PASS testGet('data-foo-bar', 'fooBar') is true 7 PASS testGet('data-foo-bar', 'fooBar') is true
8 PASS testGet('data--', '-') is true 8 PASS testGet('data--', '-') is true
9 PASS testGet('data--foo', 'Foo') is true 9 PASS testGet('data--foo', 'Foo') is true
10 PASS testGet('data---foo', '-Foo') is true 10 PASS testGet('data---foo', '-Foo') is true
11 PASS testGet('data-', '') is true 11 PASS testGet('data-', '') is true
12 PASS testGet('data-à', 'à') is true 12 PASS testGet('data-à', 'à') is true
13 13
14 PASS matchesNothingInDataset('dataFoo') is true 14 PASS matchesNothingInDataset('dataFoo') is true
15 PASS matchesNothingInDataset('data-Foo') is true 15 PASS matchesNothingInDataset('data-Foo') is true
16 16
17 PASS testSet('foo', 'data-foo') is true 17 PASS testSet('foo', 'data-foo') is true
18 PASS testSet('fooBar', 'data-foo-bar') is true 18 PASS testSet('fooBar', 'data-foo-bar') is true
19 PASS testSet('-', 'data--') is true 19 PASS testSet('-', 'data--') is true
20 PASS testSet('Foo', 'data--foo') is true 20 PASS testSet('Foo', 'data--foo') is true
21 PASS testSet('-Foo', 'data---foo') is true 21 PASS testSet('-Foo', 'data---foo') is true
22 PASS testSet('', 'data-') is true 22 PASS testSet('', 'data-') is true
23 PASS testSet('à', 'data-à') is true 23 PASS testSet('à', 'data-à') is true
24 24
25 PASS testSet('-foo', 'dummy') threw exception Error: SyntaxError: DOM Exception 12. 25 PASS testSet('-foo', 'dummy') threw exception SyntaxError: An invalid or illegal string was specified..
26 PASS testSet('foo ', 'dummy') threw exception Error: InvalidCharacterError: DOM Exception 5. 26 PASS testSet('foo ', 'dummy') threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
27 PASS testSet('foo豈', 'dummy') threw exception Error: InvalidCharacterError: DOM Exception 5. 27 PASS testSet('foo豈', 'dummy') threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
28 28
29 PASS testDelete('data-foo', 'foo') is true 29 PASS testDelete('data-foo', 'foo') is true
30 PASS testDelete('data-foo-bar', 'fooBar') is true 30 PASS testDelete('data-foo-bar', 'fooBar') is true
31 PASS testDelete('data--', '-') is true 31 PASS testDelete('data--', '-') is true
32 PASS testDelete('data--foo', 'Foo') is true 32 PASS testDelete('data--foo', 'Foo') is true
33 PASS testDelete('data---foo', '-Foo') is true 33 PASS testDelete('data---foo', '-Foo') is true
34 PASS testDelete('data-', '') is true 34 PASS testDelete('data-', '') is true
35 PASS testDelete('data-à', 'à') is true 35 PASS testDelete('data-à', 'à') is true
36 36
37 PASS testDelete('dummy', '-foo') is false 37 PASS testDelete('dummy', '-foo') is false
38 38
39 PASS testForIn(['data-foo', 'data-bar', 'data-baz']) is 3 39 PASS testForIn(['data-foo', 'data-bar', 'data-baz']) is 3
40 PASS testForIn(['data-foo', 'data-bar', 'dataFoo']) is 2 40 PASS testForIn(['data-foo', 'data-bar', 'dataFoo']) is 2
41 PASS testForIn(['data-foo', 'data-bar', 'style']) is 2 41 PASS testForIn(['data-foo', 'data-bar', 'style']) is 2
42 PASS testForIn(['data-foo', 'data-bar', 'data-']) is 3 42 PASS testForIn(['data-foo', 'data-bar', 'data-']) is 3
43 PASS successfullyParsed is true 43 PASS successfullyParsed is true
44 44
45 TEST COMPLETE 45 TEST COMPLETE
46 46
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/dataset-expected.txt ('k') | LayoutTests/fast/dom/document-set-body.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698