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

Side by Side Diff: third_party/WebKit/LayoutTests/device_orientation/motion/fire-last-event.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 6
7 description('Tests to see if the last available event is fired.'); 7 description('Tests to see if the last available event is fired.');
8 8
9 var mockEvent; 9 var mockEvent;
10 function setMockMotion(accelerationX, accelerationY, accelerationZ, 10 function setMockMotion(accelerationX, accelerationY, accelerationZ,
11 accelerationIncludingGravityX, accelerationIncludingGravi tyY, accelerationIncludingGravityZ, 11 accelerationIncludingGravityX, accelerationIncludingGravi tyY, accelerationIncludingGravityZ,
12 rotationRateAlpha, rotationRateBeta, rotationRateGamma, 12 rotationRateAlpha, rotationRateBeta, rotationRateGamma,
13 interval) { 13 interval) {
14 14
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 7, 8, 9, 74 7, 8, 9,
75 10); 75 10);
76 76
77 window.addEventListener('devicemotion', mainFrameListener); 77 window.addEventListener('devicemotion', mainFrameListener);
78 78
79 window.jsTestIsAsync = true; 79 window.jsTestIsAsync = true;
80 80
81 </script> 81 </script>
82 </body> 82 </body>
83 </html> 83 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698