3 window.testRunner.dumpAsText();
6 window.testRunner.waitUntilDone();
10 var sel = frame.getSelection();
11 var doc = frame.document;
12 doc.execCommand("SelectAll");
13 doc.execCommand("Copy");
15 var p1 = document.getElementById("pastehere");
16 var s = window.getSelection();
18 document.execCommand("Paste");
19 log(document.getElementById("pastehere").innerHTML);
21 if (window.testRunner)
22 window.testRunner.notifyDone();
26 var li = document.createElement("li");
27 li.appendChild(document.createTextNode(str));
28 var console = document.getElementById("console");
29 console.appendChild(li);
32 <div id="description">
33 This test copies the content of an iframe and pastes it
34 in an editable area and verifies that no script, handlers or javascript urls are copied.
36 <div id="pastehere" contenteditable="true"></div>
37 <ul id="console"></ul>
38 <iframe id="iframe1" src="../resources/svgcontent.xhtml" onload="foo()"></iframe>