Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / freed-frame.html
blob70b6ad2bd433b174a6e88e595006e83bd6f7f960
1 <!doctype html>
3 <div id="store_div"></div>
4 <div>This test passes if it does not crash or trip ASAN. See http://crbug.com/315889</div>
6 <script>
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
11 o0 = document.createElement('iframe');
12 o1 = document.documentElement;
13 o2 = document.createElement('iframe');
14 document.getElementById('store_div').appendChild(o2);
15 o3 = document.createElement('input');
16 o2.appendChild(o3);
17 o3.appendChild(o0);
18 window.setTimeout('window.callback1()',100);
20 function callback1() {
21 window.setTimeout('window.callback2()',100);
23 function callback2() {
24 o2.src = 'resources/freed-frame-helper.html';
26 function called_from_helper() {
27 o1.appendChild(o2);
28 if (window.testRunner) {
29 testRunner.notifyDone();
32 </script>