Chromium Code Reviews

Unified Diff: chrome/test/data/extensions/api_test/webstore_inline_install/multiple_install_calls.html

Issue 175263003: Add chrome.webstore API methods to allow sites to see progress of installation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/test/data/extensions/api_test/webstore_inline_install/multiple_install_calls.html
diff --git a/chrome/test/data/extensions/api_test/webstore_inline_install/multiple_install_calls.html b/chrome/test/data/extensions/api_test/webstore_inline_install/multiple_install_calls.html
index 38214973e747803a45506ba822f0da513cf0f693..8e52a3f7d49b56ad36a66c3f40dc703256ffd12e 100644
--- a/chrome/test/data/extensions/api_test/webstore_inline_install/multiple_install_calls.html
+++ b/chrome/test/data/extensions/api_test/webstore_inline_install/multiple_install_calls.html
@@ -31,7 +31,8 @@
chrome.webstore.install(undefined, callback, callback);
} catch (e) {
console.log('Ran test, sending response');
- window.domAutomationController.send(e.indexOf('already pending') != -1);
+ window.domAutomationController.send(
+ e.message.indexOf('already pending') != -1);
}
}
</script>

Powered by Google App Engine