| Index: LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml
|
| diff --git a/LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml b/LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml
|
| deleted file mode 100644
|
| index 850c18ba441552d03a6ce71dd923bec1b91ffaf6..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -<?xml version="1.0" encoding="UTF-8"?>
|
| -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| -<html xmlns="http://www.w3.org/1999/xhtml">
|
| -<body onload="runTest()">
|
| -<div id="description">
|
| -This test copies the content of an iframe and pastes it
|
| -in an editable area in an xhtml document and verifies that no script, handlers or javascript urls are copied.
|
| -</div>
|
| -<iframe id="iframe1" src="resources/paste-noscript-content.html"></iframe>
|
| -<div id="pastehere" contenteditable="true"></div>
|
| -<script src="../../resources/dump-as-markup.js"></script>
|
| -<script>
|
| -
|
| -Markup.waitUntilDone();
|
| -
|
| -function runTest() {
|
| - Markup.description(document.getElementById('description').textContent);
|
| -
|
| - var doc = frames[0].document;
|
| - getSelection().collapse(doc.body, 0);
|
| - doc.execCommand("SelectAll");
|
| - doc.execCommand("Copy");
|
| -
|
| - Markup.dump(doc.body, 'Copied content');
|
| -
|
| - getSelection().collapse(document.getElementById("pastehere"), 0);
|
| - document.execCommand("Paste");
|
| - Markup.dump('pastehere', 'Pasted content');
|
| -
|
| - Markup.notifyDone();
|
| -}
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|