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

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

Issue 374623002: [screen-orientation] Update implementation to match recent spec changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
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
index 8b81f64b91202f68bf917c5b1cf46f2d7a697154..d721f56163466c2fc1fea9e18debe7b3561dfd51 100644
--- a/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html
+++ b/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html
@@ -2,7 +2,7 @@
<html>
<script>
var msg = "";
- screen.lockOrientation("portrait-primary").then(function() {
+ screen.orientation.lock("portrait-primary").then(function() {
}, function(error) {
msg = error.name;
});

Powered by Google App Engine
This is Rietveld 408576698