Source code

Revision control

Copy as Markdown

Other Tools

[lock-basic.html]
[Test that screen.orientation.lock returns a promise which will be fulfilled with a void value.]
expected:
if os == "android": PASS
FAIL
[Test that screen.orientation.lock() is actually async]
expected:
if os == "android": PASS
FAIL
[Test that screen.orientation.lock returns a pending promise.]
expected:
if (os == "win") and not debug and (processor == "x86"): [FAIL, PASS]
if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]
if (os == "android") and debug and not swgl: [FAIL, PASS]
if (os == "win") and debug: [PASS, FAIL]
if (os == "android") and not debug: [PASS, FAIL]