summaryrefslogtreecommitdiffstats
path: root/chrome/test/data
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 15:47:37 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 15:47:37 +0000
commit7145320c0b916fdac0dfaa43bb95bb13714f73e1 (patch)
tree374e24cb615c2fe998ece1b09396e31725f1f657 /chrome/test/data
parent07b49351b65e228e7bceb7219f2b2a7e9b98f0ac (diff)
downloadchromium_src-7145320c0b916fdac0dfaa43bb95bb13714f73e1.zip
chromium_src-7145320c0b916fdac0dfaa43bb95bb13714f73e1.tar.gz
chromium_src-7145320c0b916fdac0dfaa43bb95bb13714f73e1.tar.bz2
Enable device orientation by default.
Enable device orientation by default. Replace the --enable-device-orientation command-line flag with a --disable-device-orientation flag. BUG=44654 TEST=browser_tests --gtest_filter="DeviceOrientationBrowserTest.*" Review URL: http://codereview.chromium.org/3136038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57684 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data')
-rw-r--r--chrome/test/data/device_orientation/enable_switch_test.html32
1 files changed, 0 insertions, 32 deletions
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 c2f90ac..0000000
--- 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>