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

Side by Side Diff: LayoutTests/http/tests/misc/link-rel-icon-beforeload.html

Issue 205523003: Remove beforeload events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove more tests Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function runTest()
5 {
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.dumpResourceLoadCallbacks();
9 testRunner.setIconDatabaseEnabled(true);
10 testRunner.queueReload();
11 }
12 }
13 </script>
14 </head>
15 <body onload="runTest()">
16 <link rel="icon" onbeforeload="return false" href="dont-load-this.ico">
17 <p>This test should not show a request for the favicon
18 dont-load-this.ico, since the beforeload handler on the favicon link
19 returns false. Therefore, if the resource request list below shows a
20 request for dont-load-this.ico, then this test has failed.
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698