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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html

Issue 2780953002: When historyEntryRequiresUserGesture is enabled, exempt docs that have been committed for 5 seconds (Closed)
Patch Set: Centralize checking the setting Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 <body onload="loaded();">
ojan 2017/04/03 21:03:54 Should we also have a version of this test that ha
Nate Chapin 2017/04/04 20:42:19 Added a 2nd step to this test, so there's one navi
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.dumpBackForwardList();
6 testRunner.waitUntilDone();
7 internals.settings.setHistoryEntryRequiresUserGesture(true);
ojan 2017/04/03 21:03:54 A downside of this solution is that we have to kee
Nate Chapin 2017/04/04 20:42:19 Time + churn. Giving them all a user gesture is a
Z_DONOTUSE 2017/04/05 17:39:13 Ah. That makes total sense. I wasn't thinking abou
8 }
9
10 function loaded() {
11 setTimeout("location = '../resources/notify-done.html'", 0);
12 }
13 </script>
14 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698