Closed Bug 1444643 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 9958 - Allow for exception to occur if medium not found

Categories

(Core :: DOM: CSS Object Model, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

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

Chris Nardi wrote:
>  Allow for exception to occur if medium not found
>  
>  According to https://drafts.csswg.org/cssom/#dom-medialist-deletemedium, "If nothing was removed, then throw a NotFoundError exception." Throwing an exception in this step stops the test with an error. Assert that the correct exception is thrown, and allow the test to continue.
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 1 tests and 3 subtests
OK     : 1
PASS   : 3
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ca14ea060d91
[wpt PR 9958] - Allow for exception to occur if medium not found, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/9eb3303debe4
[wpt PR 9958] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.