Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / custom / prerender-insert-after-stop.html
blob18c92a11b699982a1bb86b241fc32831c6f07fe9
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.');
6 var customBody;
7 var jsTestIsAsync = true;
9 function linkInserter(doc) {
10 return function() {
11 customBody = doc.getElementById('thebody');
12 shouldBeDefined('customBody');
13 shouldBeEqualToString('customBody.toLocaleString()', '[object HTMLBodyElement]');
14 finishJSTest();
18 function navigateIFrameThenInsertLink() {
19 var iframe = document.getElementById('iframe');
20 iframe.onload = linkInserter(iframe.contentDocument);
21 iframe.contentWindow.location = 'resources/empty-custom-body.html';
23 </script>
24 <iframe id='iframe' onload='navigateIFrameThenInsertLink()' src='resources/empty-custom-body.html'>
25 </iframe>