5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.waitUntilDone();
9 window
.onload = function () {
10 var oSelection
= window
.getSelection();
11 document
.execCommand('SelectAll');
12 var oRange
= oSelection
.getRangeAt(0);
13 oRange
.deleteContents();
14 oSelection
.modify('extend', 'backward', 'paragraph');
16 // Recreate the HTML element to show 'PASS'.
17 document
.body
.innerHTML
= '<body>PASS if not crashed.</body>';
18 if (window
.testRunner
)
19 testRunner
.notifyDone();