OLD | NEW |
| (Empty) |
1 Dataset - Delete | |
2 | |
3 This is a testharness.js-based test. | |
4 PASS Deleting element.dataset['foo'] should also remove an attribute with name '
data-foo' should it exist. | |
5 PASS Deleting element.dataset['fooBar'] should also remove an attribute with nam
e 'data-foo-bar' should it exist. | |
6 PASS Deleting element.dataset['-'] should also remove an attribute with name 'da
ta--' should it exist. | |
7 PASS Deleting element.dataset['Foo'] should also remove an attribute with name '
data--foo' should it exist. | |
8 PASS Deleting element.dataset['-foo'] should also remove an attribute with name
'data--foo' should it exist. | |
9 PASS Deleting element.dataset['-Foo'] should also remove an attribute with name
'data---foo' should it exist. | |
10 PASS Deleting element.dataset[''] should also remove an attribute with name 'dat
a-' should it exist. | |
11 PASS Deleting element.dataset['à'] should also remove an attribute with name 'da
ta-à' should it exist. | |
12 PASS Deleting element.dataset['foo'] should not throw if even if the element doe
s now have an attribute with the name data-foo. | |
13 Harness: the test ran to completion. | |
14 | |
OLD | NEW |