1 <div contenteditable=
"true">
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
14 var s
= window
.getSelection();
15 var p1
= document
.getElementById("item1");
16 var p2
= document
.getElementById("item2");
17 s
.setBaseAndExtent(p1
, 0, p2
);
18 document
.execCommand("Indent");
20 // This code doesn't do anything initially, but the code below creates an iframe
21 // with the same url as this one, and that time it will delete itself.
22 var frame
= window
.parent
.document
.querySelector('iframe');
27 // This creates an iframe with the same url as this one, which triggers
28 // the code above that deletes this iframe, and then triggers a possible crash
29 // when the execCommand fires accessibility notifications that trigger creation
30 // of the AXScrollArea corresponding to the frame that's in the process of
32 var iframe
= document
.createElement('iframe');
33 iframe
.src
= window
.location
;
34 document
.body
.appendChild(iframe
);