Closed Bug 1453130 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10405 - Make DOMTokenList.supports() case-insensitive

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10405 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10405
Details from upstream follow.

Ian Clelland <iclelland@chromium.org> wrote:
>  Make DOMTokenList.supports() case-insensitive
>  
>  According to the DOM spec (https://dom.spec.whatwg.org/#dom-domtokenlist-supports)
>  the supports() method should compare the ASCII-lowercase transform of its input to
>  the list of tokens supported by the DOMTokenList.
>  
>  Bug: 831166
>  Change-Id: I40903a307ffb949bbbbc99e02b56565cb81d00ed
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1005412
>  WPT-Export-Revision: 797e433c1f3fadac28ed7615c96b5cb1c7f51c6a
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 1 subtests
OK     : 1
FAIL   : 1
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7418deb2a7ef
[wpt PR 10405] - Make DOMTokenList.supports() case-insensitive, a=testonly
https://hg.mozilla.org/mozilla-central/rev/7418deb2a7ef
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.