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

Side by Side Diff: third_party/WebKit/LayoutTests/device_orientation/motion/add-during-dispatch.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('Test no fire listeners added during event dispatch.'); 6 description('Test no fire listeners added during event dispatch.');
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 setMockMotion(1, 2, 3, 70 setMockMotion(1, 2, 3,
71 4, 5, 6, 71 4, 5, 6,
72 7, 8, 9, 72 7, 8, 9,
73 10); 73 10);
74 window.addEventListener('devicemotion', firstListener); 74 window.addEventListener('devicemotion', firstListener);
75 75
76 window.jsTestIsAsync = true; 76 window.jsTestIsAsync = true;
77 </script> 77 </script>
78 </body> 78 </body>
79 </html> 79 </html>
OLDNEW
« no previous file with comments | « WATCHLISTS ('k') | third_party/WebKit/LayoutTests/device_orientation/motion/add-during-dispatch-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698