6 if (window
.testRunner
) {
7 testRunner
.dumpAsText();
8 testRunner
.waitUntilDone();
10 iframeElmt
= document
.createElement('iframe');
11 iframeElmt
.src
= 'resources/empty.xml';
12 window
.setTimeout('window.top.do_test()', 0);
16 window
.top
.cb_onload_count
= 0;
17 window
.top
.conce = function() {
18 window
.top
.cb_onload_count
++;
19 var f
= eval('window.top.cb_onload_' + window
.top
.cb_onload_count
);
20 if (f
) return f(arguments
, this);
23 iframeElmt
.onload
= window
.top
.conce
;
25 document
.body
.appendChild(iframeElmt
);
28 function cb_onload_1() {
29 iframeElmt
= arguments
[1];
30 iframeElmt
.src
= 'javascript:window.top.cb_scriptsrc();';
33 function cb_scriptsrc() {
37 function cb_onload_2() {
39 if (window
.testRunner
) {
40 testRunner
.notifyDone();
45 <body onload=
"start()">
46 <p>Test PASSES if it does not crash in ASAN builds.
</p>