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

Side by Side Diff: LayoutTests/fast/images/image-load-event-crash.html

Issue 17682003: Do not fire load events from frames with scripting disabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Do not send events for detached documents Created 7 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/images/image-load-event-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <style>
4 img {
5 background-image: url("data:image/svg+xml,<svg></svg>");
6 }
7 </style>
8 <script>
9 function changeStyleAndLayout() {
10 document.body.style.height = '100px';
11 var forceLayout = document.body.offsetWidth;
12 if (window.testRunner)
13 testRunner.dumpAsText();
14 }
15 </script>
16 </head>
17 <body>
18 Test for crbug.com/248843: This test passes if it does not crash.<br/>
19 <img onload="changeStyleAndLayout()" src="data:image/png;base64,iVBORw0KGgoA AAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL 0Y4OHwAAAABJRU5ErkJggg==">
20 </body>
21 </html>
22
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/images/image-load-event-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698