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

Unified Diff: chrome/test/data/banners/prompt_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
« no previous file with comments | « chrome/test/data/banners/prompt_in_handler_test_page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/banners/prompt_test_page.html
diff --git a/chrome/test/data/banners/prompt_test_page.html b/chrome/test/data/banners/prompt_test_page.html
index b460e20071ec818dd69a007df362e1cbd30c823c..095add6be4b360492b270bff233d308b3bb6ccdb 100644
--- a/chrome/test/data/banners/prompt_test_page.html
+++ b/chrome/test/data/banners/prompt_test_page.html
@@ -5,14 +5,11 @@
<script src="main.js"></script>
<script>
function callPrompt(event) {
- console.log('Re-prompt banner');
event.prompt();
}
window.addEventListener('beforeinstallprompt', function(e) {
- console.log('Preventing banner from appearing');
e.preventDefault();
-
setTimeout(callPrompt, 0, e);
});
« no previous file with comments | « chrome/test/data/banners/prompt_in_handler_test_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698