Index: content/test/data/web_ui_mojo_shell_test.js |
diff --git a/content/test/data/web_ui_mojo_shell_test.js b/content/test/data/web_ui_mojo_shell_test.js |
index 5582688c8f61e048ec74aa4676f4a6915c7707a0..15c2a8f93b9096e78c9a341f26b125f743655418 100644 |
--- a/content/test/data/web_ui_mojo_shell_test.js |
+++ b/content/test/data/web_ui_mojo_shell_test.js |
@@ -35,9 +35,8 @@ define('main', [ |
function (services) { |
var test = connectToService(services, testMojom.TestMojoService); |
test.getRequestorURL().then(function(response) { |
- // The requestor URL seen by the app should be localhost because the |
- // connection comes from this script hosted on the test server. |
- domAutomationController.send(response.url == 'http://127.0.0.1/'); |
+ domAutomationController.send( |
+ response.url == 'chrome://mojo-web-ui/'); |
}); |
}, |
function (exposedServices) {}, |