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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/frames/location-redirect-user-gesture.html

Issue 2741513002: [Merge M-57] Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: Created 3 years, 9 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function runTests() { 4 function runTests() {
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.dumpUserGestureInFrameLoadCallbacks(); 7 testRunner.dumpUserGestureInFrameLoadCallbacks();
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 } 9 }
10 10
11 setTimeout("location.href='data:text/html,<script>testRunner.notifyDone( )</" + "script>'", 1000); 11 setTimeout("location.href='../../resources/notify-success.html'", 1000);
12 } 12 }
13 </script> 13 </script>
14 </head> 14 </head>
15 <body onload="runTests();"> 15 <body onload="runTests();">
16 Some WebKit ports send the user gesture to the embedders in didStartProvisionalL oad callback. The embedders use it to judge whether the navigation is user-initi ated or not. In location change redirection, the user gesture status in didStart ProvisionalLoad callback should be false. For more details, please refer to http s://bugs.webkit.org/show_bug.cgi?id=47817. 16 Some WebKit ports send the user gesture to the embedders in didStartProvisionalL oad callback. The embedders use it to judge whether the navigation is user-initi ated or not. In location change redirection, the user gesture status in didStart ProvisionalLoad callback should be false. For more details, please refer to http s://bugs.webkit.org/show_bug.cgi?id=47817.
17 </div> 17 </div>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698