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

Side by Side Diff: LayoutTests/fast/dom/HTMLScriptElement/append-child-style-crash.html

Issue 221673003: Defer iframe JavaScript URL evaluation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed redundant check Created 6 years, 8 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 <!DOCTYPE html>
2 <body>
3 <script>
4 function callback() {
5 style0.innerHTML = '';
6 script0.removeChild(style0);
7 }
8
9 style0=document.createElement('style');
10 style0.innerHTML = 'span { color: blue; }';
11
12 script0=document.createElement('script');
13 script0.innerHTML = "callback();";
14 script0.appendChild(style0);
15 document.body.appendChild(script0);
16
17 if (window.testRunner) {
18 testRunner.waitUntilDone();
19 testRunner.dumpAsText();
20 setTimeout(function() {
21 testRunner.notifyDone();
22 }, 0);
esprehn 2014/04/02 19:45:10 ditto
23 }
24 </script>
25 <p>PASS unless crash</p>
26 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698