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

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

Issue 2391353003: Prevent inline install on fullscreen windows. (Closed)
Patch Set: Updating with reviewer commments. Created 4 years, 2 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_from_fullscreen.html
diff --git a/chrome/test/data/extensions/api_test/webstore_inline_install/install_not_supported.html b/chrome/test/data/extensions/api_test/webstore_inline_install/install_from_fullscreen.html
similarity index 94%
copy from chrome/test/data/extensions/api_test/webstore_inline_install/install_not_supported.html
copy to chrome/test/data/extensions/api_test/webstore_inline_install/install_from_fullscreen.html
index df51eba66a2c87dfd0ce2f05df7cd0950aa88fd4..74da2ba98b44fa55d3edfba7499e6daf5fd67867 100644
--- a/chrome/test/data/extensions/api_test/webstore_inline_install/install_not_supported.html
+++ b/chrome/test/data/extensions/api_test/webstore_inline_install/install_from_fullscreen.html
@@ -23,7 +23,7 @@
window.domAutomationController.send(false);
},
function(error, errorCode) {
- if (error.indexOf('not supported') != -1 &&
+ if (error.indexOf('can not be initiated from fullscreen') != -1 &&
errorCode == 'notPermitted') {
console.log('Ran test, sending response');
window.domAutomationController.send(true);

Powered by Google App Engine
This is Rietveld 408576698