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

Side by Side Diff: LayoutTests/inspector/device-orientation-success.html

Issue 1040103002: [DevTools] Cleanup Page domain calls, which should be Emulation calls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: supportsRendering to RenderingOptions Created 5 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script> 3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script> 4 <script>
5 5
6 var mockAlpha = 1.1; 6 var mockAlpha = 1.1;
7 var mockBeta = 2.2; 7 var mockBeta = 2.2;
8 var mockGamma = 3.3; 8 var mockGamma = 3.3;
9 var absolute = true; 9 var absolute = true;
10 10
(...skipping 16 matching lines...) Expand all
27 { 27 {
28 InspectorTest.runTestSuite([ 28 InspectorTest.runTestSuite([
29 function setUp(next) 29 function setUp(next)
30 { 30 {
31 InspectorTest.evaluateInPage("setup()", next); 31 InspectorTest.evaluateInPage("setup()", next);
32 }, 32 },
33 33
34 function setOverride(next) 34 function setOverride(next)
35 { 35 {
36 InspectorTest.addConsoleSniffer(next); 36 InspectorTest.addConsoleSniffer(next);
37 InspectorTest.PageAgent.setDeviceOrientationOverride(20, 30, 40); 37 InspectorTest.DeviceOrientationAgent.setDeviceOrientationOverride(20 , 30, 40);
38 }, 38 },
39 39
40 function clearOverride(next) 40 function clearOverride(next)
41 { 41 {
42 InspectorTest.PageAgent.clearDeviceOrientationOverride(next); 42 InspectorTest.DeviceOrientationAgent.clearDeviceOrientationOverride( next);
43 } 43 }
44 ]); 44 ]);
45 } 45 }
46 </script> 46 </script>
47 </head> 47 </head>
48 <body onload="runTest()"> 48 <body onload="runTest()">
49 <p> 49 <p>
50 </p> 50 </p>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/inspector-test.js ('k') | LayoutTests/inspector/geolocation-emulation-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698