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

Side by Side Diff: LayoutTests/fast/frames/create-iframe-on-blur.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <div id=container> 3 <div id=container>
4 <input> 4 <input>
5 </div> 5 </div>
6 <script src="../js/resources/js-test-pre.js"></script> 6 <script src="../../resources/js-test.js"></script>
7 <script> 7 <script>
8 description("iframes added to a subtree that's being removed should not load"); 8 description("iframes added to a subtree that's being removed should not load");
9 var container = document.querySelector('#container'); 9 var container = document.querySelector('#container');
10 var input = document.querySelector('input'); 10 var input = document.querySelector('input');
11 input.focus(); 11 input.focus();
12 input.addEventListener('blur', function() { 12 input.addEventListener('blur', function() {
13 iframe = document.createElement('iframe'); 13 iframe = document.createElement('iframe');
14 input.parentNode.appendChild(iframe); 14 input.parentNode.appendChild(iframe);
15 }); 15 });
16 container.innerHTML = ''; 16 container.innerHTML = '';
17 shouldBeNull("iframe.contentWindow"); 17 shouldBeNull("iframe.contentWindow");
18 </script> 18 </script>
19 </body> 19 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698