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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests clipboard.clearData()
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS testDataTransfer.clearData(null) did not throw exception.
7 PASS testDataTransfer.clearData(undefined) did not throw exception.
8 PASS testDataTransfer.getData("text") is "sample"
9 PASS testDataTransfer.getData("url") is "http://www.google.com/"
10 PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
11 PASS testDataTransfer.getData("custom-data") is "hello world"
12 PASS testDataTransfer.clearData("custom-data") did not throw exception.
13 PASS testDataTransfer.getData("text") is "sample"
14 PASS testDataTransfer.getData("url") is "http://www.google.com/"
15 PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
16 PASS testDataTransfer.getData("custom-data") is ""
17 PASS testDataTransfer.clearData() did not throw exception.
18 PASS testDataTransfer.getData("text") is ""
19 PASS testDataTransfer.getData("url") is ""
20 PASS testDataTransfer.getData("text/html") is ""
21 PASS testDataTransfer.getData("custom-data") is ""
22 PASS successfullyParsed is true
23
24 TEST COMPLETE
25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698