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

Side by Side Diff: LayoutTests/fast/replaced/object-param-spaces.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 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 }
8 document.addEventListener("beforeload", function(event) {
9 var console = document.getElementById("console");
10
11 if (event.url == "scheme://url-with-leading-and-trailing-space/" )
12 console.innerHTML = "PASS";
13 else
14 console.innerHTML = "FAIL";
15
16 event.preventDefault();
17
18 if (window.testRunner)
19 testRunner.notifyDone();
20 }, true);
21 </script>
22 </head>
23 <body>
24 <object width="0" height="0" type="application/x-webkit-test-netscape">
25 <param name="movie" value=" scheme://url-with-leading-and-trailing- space/ ">
26 </object>
27 <p>This test verifies that a URL specified in a &lt;param&gt; of an &lt; object&gt; is parsed the same as if it was specified as the data attribute of th e &lt;object&gt;. Specifically, this verifies that leading/trailing whitespace a re stripped.</p>
28 <div id="console"></div>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698