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 57ea6bb1532c7dce3dc33e5fc7cbb8b56c56711f..32077aa91f685d00febc3a722b99e6ef86eacf25 100644 |
--- a/content/test/data/web_ui_mojo_shell_test.js |
+++ b/content/test/data/web_ui_mojo_shell_test.js |
@@ -37,9 +37,9 @@ define('main', [ |
TEST_APP_URL, 1, |
function (services) { |
var test = connectToService(services, testMojom.TestMojoService); |
- test.getRequestorURL().then(function(response) { |
+ test.getRequestorName().then(function(response) { |
domAutomationController.send( |
- response.url == 'chrome://mojo-web-ui/'); |
+ response.name == 'chrome://mojo-web-ui/'); |
}); |
}, |
function (exposedServices) {}); |