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

Unified Diff: LayoutTests/fast/events/clipboard-clearData-expected.txt

Issue 26023003: Get rid of custom code for clipboard.clearData() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/fast/events/clipboard-clearData-expected.txt
diff --git a/LayoutTests/fast/events/clipboard-clearData-expected.txt b/LayoutTests/fast/events/clipboard-clearData-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1f7cf1263105d0bf8faf456590a71bd9208563e
--- /dev/null
+++ b/LayoutTests/fast/events/clipboard-clearData-expected.txt
@@ -0,0 +1,25 @@
+Tests clipboard.clearData()
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS testDataTransfer.clearData(null) did not throw exception.
+PASS testDataTransfer.clearData(undefined) did not throw exception.
+PASS testDataTransfer.getData("text") is "sample"
+PASS testDataTransfer.getData("url") is "http://www.google.com/"
+PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
+PASS testDataTransfer.getData("custom-data") is "hello world"
+PASS testDataTransfer.clearData("custom-data") did not throw exception.
+PASS testDataTransfer.getData("text") is "sample"
+PASS testDataTransfer.getData("url") is "http://www.google.com/"
+PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
+PASS testDataTransfer.getData("custom-data") is ""
+PASS testDataTransfer.clearData() did not throw exception.
+PASS testDataTransfer.getData("text") is ""
+PASS testDataTransfer.getData("url") is ""
+PASS testDataTransfer.getData("text/html") is ""
+PASS testDataTransfer.getData("custom-data") is ""
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698