| OLD | NEW |
| (Empty) |
| 1 Dataset - Set | |
| 2 | |
| 3 This is a testharness.js-based test. | |
| 4 PASS Setting element.dataset['foo'] should also change the value of element.getA
ttribute('data-foo')' | |
| 5 PASS Setting element.dataset['fooBar'] should also change the value of element.g
etAttribute('data-foo-bar')' | |
| 6 PASS Setting element.dataset['-'] should also change the value of element.getAtt
ribute('data--')' | |
| 7 PASS Setting element.dataset['Foo'] should also change the value of element.getA
ttribute('data--foo')' | |
| 8 PASS Setting element.dataset['-Foo'] should also change the value of element.get
Attribute('data---foo')' | |
| 9 PASS Setting element.dataset[''] should also change the value of element.getAttr
ibute('data-')' | |
| 10 PASS Setting element.dataset['à'] should also change the value of element.getAtt
ribute('data-à')' | |
| 11 PASS Setting element.dataset['-foo'] should throw a SYNTAX_ERR' | |
| 12 PASS Setting element.dataset['foo '] should throw an INVALID_CHARACTER_ERR' | |
| 13 PASS Setting element.dataset['foo豈'] should throw an INVALID_CHARACTER_ERR' | |
| 14 Harness: the test ran to completion. | |
| 15 | |
| OLD | NEW |