3 <p>Passes if it does not crash in ASAN.
</p>
6 if (window
.testRunner
) {
7 testRunner
.dumpAsText();
8 testRunner
.waitUntilDone();
11 var iframe
= document
.createElement('iframe');
12 iframe
.onload = function() {
13 var input
= document
.createElement('input');
14 input
.autofocus
= true;
15 iframe
.contentDocument
.body
.offsetTop
;
16 iframe
.contentDocument
.body
.appendChild(input
);
17 input
.onfocus = function() {
18 iframe
.contentDocument
.body
.style
.height
= '100px';
20 if (window
.testRunner
)
21 testRunner
.notifyDone();
25 document
.documentElement
.offsetTop
;
26 document
.documentElement
.appendChild(iframe
);