blob: 4c9493173ac98b9b5a64544907653c9f3b7f9fad [file] [log] [blame]
Tests that pasting images do not reveal its file URL. To manually test, copy the image below in the context menu and paste into the red box.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS event.clipboardData.types.includes("Files") is true
PASS event.clipboardData.getData("url") is ""
PASS event.clipboardData.getData("text/plain") is ""
PASS event.clipboardData.getData("text/uri-list") is ""
PASS successfullyParsed is true
TEST COMPLETE