Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml

Issue 1208253002: Remove editing/pasteboard/paste-noscript-xhtml.xhtml (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/editing/pasteboard/paste-noscript-xhtml-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/editing/pasteboard/paste-noscript-xhtml-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698