Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html b/third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ca2e1333486209ebe2066339e23a0afb3a9fb099 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html |
| @@ -0,0 +1,14 @@ |
| +<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
|
| +<script> |
| +if (window.testRunner) { |
| + testRunner.dumpAsText(); |
| + testRunner.dumpBackForwardList(); |
| + testRunner.waitUntilDone(); |
| + 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
|
| +} |
| + |
| +function loaded() { |
| + setTimeout("location = '../resources/notify-done.html'", 0); |
| +} |
| +</script> |
| +</body> |