CSSStyleSheet-constructable-disallow-import.tentative.html

FAILExpected1 of 4 subtests pass1,048 ms

Details

Test
/css/cssom/CSSStyleSheet-constructable-disallow-import.tentative.html
Harness
OK

Subtests

StatusSubtestMessage
PASSInserting an @import rule through insertRule on a constructed stylesheet throws an exception
FAIL@import rules should not trigger any loads.
assert_equals: There should be only one entry for the import URL expected 1 but got 0
assert_equals: There should be only one entry for the import URL expected 1 but got 0
FAIL@import rules are not parsed in CSSStyleSheet.replace
assert_unreached: Promise was rejected (Error: assert_equals: expected "rgb(0, 128, 0)" but got "rgb(0, 0, 0)") when it should have been resolved Reached unreachable code
assert_unreached: Promise was rejected (Error: assert_equals: expected "rgb(0, 128, 0)" but got "rgb(0, 0, 0)") when it should have been resolved Reached unreachable code
FAIL@import rules are not parsed in CSSStyleSheet.replaceSync
assert_equals: expected "rgb(0, 128, 0)" but got "rgb(0, 0, 0)"
assert_equals: expected "rgb(0, 128, 0)" but got "rgb(0, 0, 0)"