kitesurf · WPT

PASS
expected PASS · 715 ms
▶ run in kitesurf
Test
/html/dom/elements/global-attributes/dataset-get.html
Actual
PASS
Expected
PASS
Unexpected
no
Duration
715 ms
Harness
OK
Counts
Reason
Run
https://kitesurf.rendering.cfdata.org/?url=http%3A%2F%2Fwpt.live%2Fhtml%2Fdom%2Felements%2Fglobal-attributes%2Fdataset-get.html ↗
Upstream
view on github.com/web-platform-tests/wpt ↗

Subtests

statussubtestmessage
PASSGetting element.dataset['foo'] should return the value of element.getAttribute('data-foo')'
PASSGetting element.dataset['fooBar'] should return the value of element.getAttribute('data-foo-bar')'
PASSGetting element.dataset['-'] should return the value of element.getAttribute('data--')'
PASSGetting element.dataset['Foo'] should return the value of element.getAttribute('data--foo')'
PASSGetting element.dataset['-Foo'] should return the value of element.getAttribute('data---foo')'
PASSGetting element.dataset['foo'] should return the value of element.getAttribute('data-Foo')'
PASSGetting element.dataset[''] should return the value of element.getAttribute('data-')'
PASSGetting element.dataset['à'] should return the value of element.getAttribute('data-à')'
PASSGetting element.dataset['toString'] should return the value of element.getAttribute('data-to-string')'
PASSTests that an attribute named dataFoo does not make an entry in the dataset DOMStringMap.

bundle built 2026-07-16T07:16:48.063Z