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

Unified Diff: LayoutTests/inspector/geolocation-emulation-tests.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, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/geolocation-emulation-tests.html
diff --git a/LayoutTests/inspector/geolocation-emulation-tests.html b/LayoutTests/inspector/geolocation-emulation-tests.html
index fed8533d7ca3380cb0be0bb787841031b6ec770f..c56f2f40b1e1dd0b6db9e6b8ad9122b167014451 100644
--- a/LayoutTests/inspector/geolocation-emulation-tests.html
+++ b/LayoutTests/inspector/geolocation-emulation-tests.html
@@ -63,34 +63,34 @@ function test()
InspectorTest.runTestSuite([
function testGeolocationUnavailable(next)
{
- InspectorTest.PageAgent.setGeolocationOverride();
+ InspectorTest.EmulationAgent.setGeolocationOverride();
InspectorTest.addConsoleSniffer(next);
InspectorTest.evaluateInPage("overrideGeolocation()");
},
function testOverridenGeolocation(next)
{
- InspectorTest.PageAgent.setGeolocationOverride(50, 100, 95);
+ InspectorTest.EmulationAgent.setGeolocationOverride(50, 100, 95);
InspectorTest.addConsoleSniffer(next);
InspectorTest.evaluateInPage("overrideGeolocation()");
},
function testInvalidParam(next)
{
- InspectorTest.PageAgent.setGeolocationOverride(true, 100, 95);
+ InspectorTest.EmulationAgent.setGeolocationOverride(true, 100, 95);
next();
},
function testInvalidGeolocation(next)
{
- InspectorTest.PageAgent.setGeolocationOverride(200, 300, 95);
+ InspectorTest.EmulationAgent.setGeolocationOverride(200, 300, 95);
InspectorTest.addConsoleSniffer(next);
InspectorTest.evaluateInPage("overrideGeolocation()");
},
function testTimestampOfOverridenPosition(next)
{
- InspectorTest.PageAgent.setGeolocationOverride(50, 100, 95);
+ InspectorTest.EmulationAgent.setGeolocationOverride(50, 100, 95);
InspectorTest.addConsoleSniffer(next);
InspectorTest.evaluateInPage("overridenTimestampGeolocation()");
}
« no previous file with comments | « LayoutTests/inspector/device-orientation-success.html ('k') | LayoutTests/inspector/geolocation-emulation-tests-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698