blob: 68411175de1cf1ff835057ab2e04945586ccaa51 [file] [log] [blame]
CONSOLE MESSAGE: Blocked attempt to add a device motion or orientation event listener, reason: Browsing context is not secure.
CONSOLE MESSAGE: Blocked attempt to add a device motion or orientation event listener, reason: Browsing context is not secure.
Tests that trying to set an event listener for deviceorientation and deviceorientation logs an error in non-secure contexts.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
* Registering device orientation listener
PASS lastConsoleMessage is "Blocked attempt to add a device motion or orientation event listener, reason: Browsing context is not secure."
* Registering device motion listener
PASS lastConsoleMessage is "Blocked attempt to add a device motion or orientation event listener, reason: Browsing context is not secure."
PASS successfullyParsed is true
TEST COMPLETE