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 "Markup" 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 "Markup" 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