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

Unified Diff: chrome/test/data/webui/settings/protocol_handlers_tests.js

Issue 2598893002: [MD settings] lighter weight initializer for protocol handler enabled messages (Closed)
Patch Set: review changes Created 4 years 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: chrome/test/data/webui/settings/protocol_handlers_tests.js
diff --git a/chrome/test/data/webui/settings/protocol_handlers_tests.js b/chrome/test/data/webui/settings/protocol_handlers_tests.js
index 92cde77862adabc4f22d6a565f864a6dde273e6a..8ec96f8c56d5ef6e23c5eeaa72a4bda3a0361a45 100644
--- a/chrome/test/data/webui/settings/protocol_handlers_tests.js
+++ b/chrome/test/data/webui/settings/protocol_handlers_tests.js
@@ -76,7 +76,7 @@ cr.define('protocol_handlers', function() {
PolymerTest.clearBody();
testElement = document.createElement('protocol-handlers');
document.body.appendChild(testElement);
- return browserProxy.whenCalled('initializeProtocolHandlerList').
+ return browserProxy.whenCalled('observeProtocolHandlers').
then(Polymer.dom.flush.bind(Polymer.dom));
}
@@ -114,8 +114,8 @@ cr.define('protocol_handlers', function() {
/**
* A reusable function to test different action buttons.
- * @param {!string} button id of the button to test.
- * @param {!string} handler name of browserProxy handler to react.
+ * @param {string} button id of the button to test.
+ * @param {string} handler name of browserProxy handler to react.
* @return {!Promise}
*/
function testButtonFlow(button, browserProxyHandler) {

Powered by Google App Engine
This is Rietveld 408576698