| Index: LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html
|
| diff --git a/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html b/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cc931a49fb8f982d2799fc4e92b20161486be216
|
| --- /dev/null
|
| +++ b/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html
|
| @@ -0,0 +1,9 @@
|
| +<script>
|
| + var exceptionName = "";
|
| + try {
|
| + screen.lockOrientation("portrait-primary");
|
| + } catch (ex) {
|
| + exceptionName = ex.name;
|
| + }
|
| + parent.window.postMessage(exceptionName, "*");
|
| +</script>
|
|
|