blob: 907276043f6c76ea99d7dfd67e5dae6a9f7155ae [file] [log] [blame]
This test verifies that if platform pasteboard contents are changed immediately after calling Clipboard.write(), the promise should be rejected. This test needs to be run in WebKitTestRunner or DumpRenderTree.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Failed to write clipboard item with NotAllowedError.
PASS finishedWriting became true
PASS successfullyParsed is true
TEST COMPLETE