Closed Bug 1450610 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10264 - Remove test that CSSStyleSheet.media is read-only

Categories

(Core :: DOM: CSS Object Model, 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 10264 into mozilla-central (this bug is closed when the sync is complete).

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

Chris Nardi <cnardi@chromium.org> wrote:
>  Remove test that CSSStyleSheet.media is read-only
>  
>  style-sheet-interfaces-001.html tested that styleSheet.media was
>  read-only, but the spec changed to add a [PutForwards] attribute to
>  |media|, meanining that the attribute is no longer truly read-only.
>  assert_readonly can have side-effects if the property has a
>  [PutForwards] attribute, so remove this check, as it was causing the
>  next test to fail.
>  
>  Bug: 821780
>  Change-Id: I77bee2f11484f6e679e4aee6b0641179c686d1d3
>  Reviewed-on: https://chromium-review.googlesource.com/989407
>  WPT-Export-Revision: 64995c41ad3942fefcfa2000ce6ea9a6f23f7d4f
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 1 tests and 6 subtests
OK     : 1
PASS   : 1
FAIL   : 5
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/25e91d9ab4e9
[wpt PR 10264] - Remove test that CSSStyleSheet.media is read-only, a=testonly
https://hg.mozilla.org/mozilla-central/rev/25e91d9ab4e9
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.