stylesheet-same-origin.sub.html

FAILExpected1 of 7 subtests pass388 ms

Details

Test
/css/cssom/stylesheet-same-origin.sub.html
Harness
OK

Subtests

StatusSubtestMessage
FAILOrigin-clean check in cross-origin CSSOM Stylesheets
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
FAILOrigin-clean check in cross-origin CSSOM Stylesheets (redirect from same-origin to cross-origin)
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
FAILOrigin-clean check in cross-origin CSSOM Stylesheets (redirect from cross-origin to same-origin)
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
FAILOrigin-clean check in loading error CSSOM Stylesheets
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
PASSOrigin-clean check in same-origin CSSOM Stylesheets
FAILOrigin-clean check in data:css CSSOM Stylesheets
assert_equals: data:css stylesheet.cssRules should be accessible. expected 1 but got 0
assert_equals: data:css stylesheet.cssRules should be accessible. expected 1 but got 0
FAILOrigin-clean check in copied cross-origin CSSOM Stylesheets
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw
assert_throws_dom: stylesheet.cssRules should throw SecurityError. function "function () { sheet.cssRules; }" did not throw