Dataset - Get

Summary

Harness status: OK

Found 10 tests

Details

ResultTest NameMessage
PassGetting element.dataset['foo'] should return the value of element.getAttribute('data-foo')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:19:25)
PassGetting element.dataset['fooBar'] should return the value of element.getAttribute('data-foo-bar')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:21:25)
PassGetting element.dataset['-'] should return the value of element.getAttribute('data--')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:23:25)
PassGetting element.dataset['Foo'] should return the value of element.getAttribute('data--foo')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:25:25)
PassGetting element.dataset['-Foo'] should return the value of element.getAttribute('data---foo')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:27:25)
PassGetting element.dataset['foo'] should return the value of element.getAttribute('data-Foo')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:29:25)
PassGetting element.dataset[''] should return the value of element.getAttribute('data-')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:31:25)
PassGetting element.dataset['à'] should return the value of element.getAttribute('data-à')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:33:25)
PassGetting element.dataset['toString'] should return the value of element.getAttribute('data-to-string')'
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:35:25)
PassTests that an attribute named dataFoo does not make an entry in the dataset DOMStringMap.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/elements/global-attributes/dataset-get.html:52:25)