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

Unified Diff: LayoutTests/editing/pasteboard/paste-RTFD.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
Index: LayoutTests/editing/pasteboard/paste-RTFD.html
diff --git a/LayoutTests/editing/pasteboard/paste-RTFD.html b/LayoutTests/editing/pasteboard/paste-RTFD.html
deleted file mode 100644
index 0ec7d782b2ba6fc7bb7f4c4716f2c05bbff192a4..0000000000000000000000000000000000000000
--- a/LayoutTests/editing/pasteboard/paste-RTFD.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<html>
-<head>
-<style>
-.editing {
- border: 2px solid red;
- padding: 12px;
- font-size: 24px;
-}
-</style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-<script>
-
-function print(message) {
- var paragraph = document.createElement('p');
- paragraph.appendChild(document.createTextNode(message));
- document.getElementById('console').appendChild(paragraph);
-}
-
-function editingTest() {
- if (!window.objCPlugin)
- return print('FAIL - no objCPlugin');
-
- objCPlugin.removeBridgeRestrictions_(window);
- if (!window.objc)
- return print('FAIL - no window.objc');
-
- // get the data for the pasteboard
- var myURL = document.URL;
- var resourceURL = myURL.replace('pasteboard/paste-RTFD.html','resources/RTFD-pasteboard-data.dat');
- var data = objc('NSData').dataWithContentsOfURL_(objc('NSURL').URLWithString_(resourceURL));
-
- // This actually returns DumpRenderTree's local pasteboard
- var pasteboard = objc('NSPasteboard').generalPasteboard();
- var pasteboardType = 'NeXT RTFD pasteboard type';
-
- pasteboard.declareType_owner_(pasteboardType, 0);
- pasteboard.setData_forType_(data, pasteboardType);
-
- pasteCommand();
-
-
-}
-</script>
-
-<title>RTFD paste test</title>
-</head>
-<body>
-<p>
- On Tiger, this test demonstrates a bug in AppKit's -[NSString _documentFromRange:] method where it produces fragments with extra trailing and leading newlines. This bug is fixed in Leopard.
-</p>
-<div contentEditable="true" id="root" class="editing">
-<div id="test"> </div>
-</div>
-<div id='console'/>
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698