Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 2 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /fenced-frame/sandboxed-features-screen-orientation-lock.https.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Test of sandboxed features - screen.orientation.lock</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/utils.js"></script>
<script src="resources/utils.js"></script>
<script src="resources/sandboxed-features.js"></script>
<body>
<script>
run_sanboxed_feature_test('test_screen_orientation_lock',
'The fenced frame must fail to call screen.orientation.lock().');
</script>
</body>