Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / screen_orientation / resources / sandboxed-iframe-locking.html
index 8b81f64..d721f56 100644 (file)
@@ -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;
     });