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

Side by Side Diff: LayoutTests/fast/events/beforeload-iframe-crash.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 <iframe></iframe><object onbeforeload="crash()">
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
6 }
7
8 function crash() {
9 document.getElementsByTagName("iframe")[0].contentWindow.scrollX;
10 document.open();
11 }
12
13 document.body.offsetLeft;
14 setTimeout(function() {
15 document.close();
16 document.body.innerHTML = 'PASS if not crashed.';
17 testRunner.notifyDone();
18 }, 1);
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698