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

Unified Diff: chrome/test/data/banners/prompt_in_handler_test_page.html

Issue 2553013004: Remove the app banner navigation heuristic. (Closed)
Patch Set: Add comments 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/banners/prompt_in_handler_test_page.html
diff --git a/chrome/test/data/banners/prompt_in_handler_test_page.html b/chrome/test/data/banners/prompt_in_handler_test_page.html
index ae1ed7612ae09f8cc4c7dbff17ffb6ceed3f9d0c..8275f2473f96e2c6c179a691c55b87cb8de22ea3 100644
--- a/chrome/test/data/banners/prompt_in_handler_test_page.html
+++ b/chrome/test/data/banners/prompt_in_handler_test_page.html
@@ -5,10 +5,7 @@
<script src="main.js"></script>
<script>
window.addEventListener('beforeinstallprompt', function(e) {
- console.log('Preventing banner from appearing');
e.preventDefault();
-
- console.log('Re-prompt banner');
e.prompt();
});
</script>

Powered by Google App Engine
This is Rietveld 408576698