Open Bug 1452121 Opened 3 years ago Updated 3 years ago

[wpt-sync] Sync PR 9920 - Add tests for return value of DOMTokenList's replace() method

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(Not tracked)

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

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

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

Zirro <code@zirro.se> wrote:
>  Add tests for return value of DOMTokenList's replace() method
>  
>  This adds tests for a boolean value being returned from the `replace()` method, as discussed in https://github.com/whatwg/dom/issues/577 and https://github.com/whatwg/dom/pull/582.
>  
>  It also adds a test which attempts to replace a token that isn't present with one that is, since this case was not covered by the existing tests.
>  
>  
>
Whiteboard: [wptsync downstream] → [wptsync downstream error]
You need to log in before you can comment on or make changes to this bug.