Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html

Issue 272213002: Add support for 'allow-orientation-lock' sandboxing directive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert bad local change Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <script>
2 var exceptionName = "";
3 try {
4 screen.lockOrientation("portrait-primary");
5 } catch (ex) {
6 exceptionName = ex.name;
7 }
8 parent.window.postMessage(exceptionName, "*");
9 </script>
OLDNEW
« no previous file with comments | « LayoutTests/screen_orientation/lockOrientation-sandboxed-iframe.html ('k') | Source/core/dom/SandboxFlags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698