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

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

Issue 384823002: Introduce a stable set of errors for inline install (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace printf with vlog(1) in unrelated code so it passes presubmit Created 6 years, 5 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: chrome/test/data/extensions/api_test/webstore_inline_install/install_prohibited.html
diff --git a/chrome/test/data/extensions/api_test/webstore_inline_install/install_prohibited.html b/chrome/test/data/extensions/api_test/webstore_inline_install/install_prohibited.html
index 6378fe18709d38b247bf43627b30dc16350a559a..091b9ba0327b44c24acc8cd19ab230d423fd5ef6 100644
--- a/chrome/test/data/extensions/api_test/webstore_inline_install/install_prohibited.html
+++ b/chrome/test/data/extensions/api_test/webstore_inline_install/install_prohibited.html
@@ -22,8 +22,9 @@
console.log('did not expect install success');
window.domAutomationController.send(false);
},
- function(error) {
- if (error.indexOf('cannot be modified') != -1) {
+ function(error, errorCode) {
+ if (error.indexOf('cannot be modified') != -1 &&
+ errorCode == 'otherError') {
console.log('Ran test, sending response');
window.domAutomationController.send(true);
console.log('Test complete');

Powered by Google App Engine
This is Rietveld 408576698