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

Side by Side Diff: LayoutTests/fast/dom/custom/prerender-insert-after-stop.html

Issue 604773002: Custom Element should have a wrapper while frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup Layout Test Created 6 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/prerender-insert-after-stop-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 <script src='../../../resources/js-test.js'></script>
3 <script>
4 description('Test that Custom Element should be defined while navigating between frames.');
5
6 var customBody;
7 var jsTestIsAsync = true;
8
9 function linkInserter(doc) {
10 return function() {
11 customBody = doc.getElementById('thebody');
12 shouldBeDefined('customBody');
13 shouldBeEqualToString('customBody.toLocaleString()', '[object HTMLBodyEl ement]');
14 finishJSTest();
15 }
16 }
17
18 function navigateIFrameThenInsertLink() {
19 var iframe = document.getElementById('iframe');
20 iframe.onload = linkInserter(iframe.contentDocument);
21 iframe.contentWindow.location = 'resources/empty-custom-body.html';
22 }
23 </script>
24 <iframe id='iframe' onload='navigateIFrameThenInsertLink()' src='resources/empty -custom-body.html'>
25 </iframe>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/prerender-insert-after-stop-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698