matchMedia.html

FAILExpected4 of 10 subtests pass403 ms

Details

Test
/css/cssom-view/matchMedia.html
Harness
OK

Subtests

StatusSubtestMessage
PASSwindow.matchMedia is a function
PASSwindow.matchMedia("all") matches
PASSwindow.matchMedia("") matches
PASSwindow.matchMedia("(min-width: 1px)") matches
FAILmedia query with syntax error is serialized as "not all"
assert_equals: expected "not all" but got "::"
assert_equals: expected "not all" but got "::"
FAILiframe.matchMedia("(max-width: 199px), all and (min-width: 200px)") is serialized w/o "all"
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
FAILiframe.matchMedia("(min-aspect-ratio: 1/1)") matches
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
FAILiframe.matchMedia("(width: 200px)") matches
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
FAILiframe.matchMedia("(max-height: 50px)") matches
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
FAILiframe.matchMedia("(min-width: 150px)") matches
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"
promise_test: Unhandled rejection with value: object "TypeError: iframe.contentWindow.matchMedia is not a function"