Closed Bug 1444652 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 9960 - Replace assert_own_property with assert_idl_attribute

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 9960 into mozilla-central (this bug is closed when the sync is complete).

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

Chris Nardi wrote:
>  Replace assert_own_property with assert_idl_attribute
>  
>  CSSOM objects do not implement attributes as their own properties; they are IDL attributes. Switch to use assert_idl_attribute instead of assert_own_property. Also make inline-style-001.html pass by removing assert_readonly (it resets the attribute, making future tests fail) and use assert_equals instead of assert_regexp_match.
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 2 tests and 11 subtests
OK     : 2
PASS   : 11
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e14a35f977a8
[wpt PR 9960] - Replace assert_own_property with assert_idl_attribute, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/26fa0ac69d23
[wpt PR 9960] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.