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'); |