blob: 55e817e36fb30c06a0bbdc42e5f14925dfce80a7 [file] [log] [blame]
FAIL Inserting an @import rule through insertRule on a constructed stylesheet throws an exception assert_throws_dom: function "() => { (new CSSStyleSheet).insertRule(import_text) }" threw object "TypeError: Illegal constructor" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12
FAIL @import rules should not trigger any loads. promise_test: Unhandled rejection with value: object "TypeError: Illegal constructor"
FAIL @import rules are not parsed in CSSStyleSheet.replace Illegal constructor
FAIL @import rules are not parsed in CSSStyleSheet.replaceSync Illegal constructor