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

Unified Diff: chrome/test/data/device_orientation/enable_switch_test.html

Issue 3136038: Enable device orientation by default. (Closed)
Patch Set: Rebase and address Pawel's comment Created 10 years, 4 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
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/device_orientation/enable_switch_test.html
diff --git a/chrome/test/data/device_orientation/enable_switch_test.html b/chrome/test/data/device_orientation/enable_switch_test.html
deleted file mode 100644
index c2f90ac3ad3c28929c91f62c981e48071b5e0770..0000000000000000000000000000000000000000
--- a/chrome/test/data/device_orientation/enable_switch_test.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html>
- <head>
- <title>DeviceOrientationEnableSwitchTest</title>
- <script type="text/javascript">
- var failed = false;
- function pass() {
- if (failed)
- return;
- document.getElementById('status').innerHTML = 'PASS';
- document.location = '#pass';
- }
- function fail() {
- document.getElementById('status').innerHTML = 'FAIL';
- document.location = '#fail';
- failed = true;
- }
- function run() {
- for (var property in window) {
- if (property == "DeviceOrientationEvent")
- fail();
- if (property == "ondeviceorientation")
- fail();
- }
-
- pass();
- }
- </script>
- </head>
- <body onload="run()">
- <div id="status">Running...</div>
- </body>
-</html>
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698