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

Unified Diff: content/test/data/web_ui_mojo_shell_test.js

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . Created 4 years, 10 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: 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) {});
« no previous file with comments | « content/shell/utility/shell_content_utility_client.cc ('k') | content/utility/utility_process_control_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698