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

Side by Side Diff: LayoutTests/fast/dom/DeviceMotion/page-visibility.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script> 6 <script>
7 7
8 description('Tests to check that devicemotion events are not fired when the page is not visible.'); 8 description('Tests to check that devicemotion events are not fired when the page is not visible.');
9 window.jsTestIsAsync = true; 9 window.jsTestIsAsync = true;
10 10
11 function succeedAndFinish() 11 function succeedAndFinish()
12 { 12 {
13 testPassed("Received a devicemotion event"); 13 testPassed("Received a devicemotion event");
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 testRunner.setMockDeviceMotion(true, 0, true, 0, true, 0, 50 testRunner.setMockDeviceMotion(true, 0, true, 0, true, 0,
51 true, 0, true, 0, true, 0, 51 true, 0, true, 0, true, 0,
52 true, 0, true, 0, true, 0, 52 true, 0, true, 0, true, 0,
53 0); 53 0);
54 54
55 debug("* Page is visible"); 55 debug("* Page is visible");
56 window.addEventListener('devicemotion', deviceMotionListener); 56 window.addEventListener('devicemotion', deviceMotionListener);
57 </script> 57 </script>
58 </body> 58 </body>
59 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698