blob: a5fac27f76adc97a4dbce3c492dc151170594104 [file] [log] [blame]
Test that uncaught exception in MediaQueryListListener will be reported to the console. On success you should see two exceptions in the listener logged to the console (first time when the media type is overridden and second - when they are restored). https://bugs.webkit.org/show_bug.cgi?id=105162
ReferenceError: objectThatDoesNotExist is not defined
at MediaQueryList.theMediaQueryList.addListener (<anonymous>:3:64)
ReferenceError: objectThatDoesNotExist is not defined
at MediaQueryList.theMediaQueryList.addListener (<anonymous>:3:64)