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

Side by Side Diff: LayoutTests/fast/frames/detached-shadow-frame.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 2
3 <body> 3 <body>
4 4
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 6
7 <script> 7 <script>
8 description('Should not be able to create an iframe with a loaded contentDocumen t that is not in the document tree.'); 8 description('Should not be able to create an iframe with a loaded contentDocumen t that is not in the document tree.');
9 9
10 container = document.body.appendChild(document.createElement("div")); 10 container = document.body.appendChild(document.createElement("div"));
11 helperDiv = container.appendChild(document.createElement("div")); 11 helperDiv = container.appendChild(document.createElement("div"));
12 helperFrame = container.appendChild(document.createElement("iframe")); 12 helperFrame = container.appendChild(document.createElement("iframe"));
13 13
14 helperFrame.contentWindow.onunload = function() { 14 helperFrame.contentWindow.onunload = function() {
15 shadowRoot = helperDiv.createShadowRoot(); 15 shadowRoot = helperDiv.createShadowRoot();
16 innerFrame = shadowRoot.appendChild(document.createElement("iframe")); 16 innerFrame = shadowRoot.appendChild(document.createElement("iframe"));
17 }; 17 };
18 18
19 document.body.removeChild(container); 19 document.body.removeChild(container);
20 20
21 shouldBe('innerFrame.contentDocument', 'null'); 21 shouldBe('innerFrame.contentDocument', 'null');
22 </script> 22 </script>
23 23
OLDNEW
« no previous file with comments | « LayoutTests/fast/frames/create-iframe-on-blur.html ('k') | LayoutTests/fast/frames/frame-dimensions-before-parent-layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698