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

Side by Side Diff: third_party/WebKit/LayoutTests/device_orientation/motion/null-values.html

Issue 2677603003: Move DeviceMotion and DeviceOrientation out from fast/dom/. (Closed)
Patch Set: device_orientation Created 3 years, 10 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script> 5 <script>
6 description('Tests using null values for some or all of the event properties.'); 6 description('Tests using null values for some or all of the event properties.');
7 7
8 var mockEvent; 8 var mockEvent;
9 function setMockMotion(accelerationX, accelerationY, accelerationZ, 9 function setMockMotion(accelerationX, accelerationY, accelerationZ,
10 accelerationIncludingGravityX, accelerationIncludingGravi tyY, accelerationIncludingGravityZ, 10 accelerationIncludingGravityX, accelerationIncludingGravi tyY, accelerationIncludingGravityZ,
11 rotationRateAlpha, rotationRateBeta, rotationRateGamma, 11 rotationRateAlpha, rotationRateBeta, rotationRateGamma,
12 interval) { 12 interval) {
13 13
14 mockEvent = {accelerationX: accelerationX, accelerationY: accelerationY, acc elerationZ: accelerationZ, 14 mockEvent = {accelerationX: accelerationX, accelerationY: accelerationY, acc elerationZ: accelerationZ,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 setMockMotion(null, null, null, 100 setMockMotion(null, null, null,
101 null, null, null, 101 null, null, null,
102 null, null, null, 102 null, null, null,
103 0); 103 0);
104 window.addEventListener('devicemotion', firstListener); 104 window.addEventListener('devicemotion', firstListener);
105 105
106 window.jsTestIsAsync = true; 106 window.jsTestIsAsync = true;
107 </script> 107 </script>
108 </body> 108 </body>
109 </html> 109 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698