Index: content/test/data/screen_orientation/screen_orientation_lock_disabled.html |
diff --git a/content/test/data/screen_orientation/screen_orientation_lock_disabled.html b/content/test/data/screen_orientation/screen_orientation_lock_disabled.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e7faecf7ea7cf16581e2122a39052cfc9b5ab40f |
--- /dev/null |
+++ b/content/test/data/screen_orientation/screen_orientation_lock_disabled.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE HTML> |
+<html> |
+<head> |
+</head> |
+<script> |
+ screen.orientation.lock('portrait-secondary').then(function() { |
+ document.location.hash = '#success'; |
+ }, function(e) { |
+ document.location.hash = '#' + e.name; |
+ }); |
+</script> |
+<body> |
+ <div>Starting...</div> |
+</body> |
+</html> |