| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |