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

Side by Side Diff: LayoutTests/fast/dom/Window/window-properties-device-orientation.html

Issue 14020004: Remove the remains of unused guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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 unified diff | Download patch
OLDNEW
1 <p>This test dumps all of the properties that are reachable from the window.Devi ceMotionEvent window.ondevicemotion, window.DeviceOrientationEvent and window.on deviceorientation objects, along with their types. 1 <p>This test dumps all of the properties that are reachable from the window.Devi ceMotionEvent window.ondevicemotion, window.DeviceOrientationEvent and window.on deviceorientation objects, along with their types.</p>
2 These properties are currently guarded by ENABLE_DEVICE_ORIENTATION.</p>
3 <hr> 2 <hr>
4 <pre id="pre"></pre> 3 <pre id="pre"></pre>
5 4
6 <script> 5 <script>
7 if (window.testRunner) 6 if (window.testRunner)
8 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
9 8
10 var logBuffer = []; 9 var logBuffer = [];
11 function log(s) 10 function log(s)
12 { 11 {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 logValue(objectName + "." + property); 87 logValue(objectName + "." + property);
89 } 88 }
90 } 89 }
91 90
92 logValue('window.DeviceMotionEvent'); 91 logValue('window.DeviceMotionEvent');
93 logValue('window.ondevicemotion'); 92 logValue('window.ondevicemotion');
94 logValue('window.DeviceOrientationEvent'); 93 logValue('window.DeviceOrientationEvent');
95 logValue('window.ondeviceorientation'); 94 logValue('window.ondeviceorientation');
96 flushLog(); 95 flushLog();
97 </script> 96 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698