blob: df83395b62f3d6f44586096b40e00436bd1d6215 [file] [log] [blame]
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.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 testDataTransfer.clearData(undefined) 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