blob: 056b4805b00444a007784dcf21cb03166245be1c [file] [log] [blame]
Verifies that no callout is shown when the page programmatically triggers paste on a timer after user interaction. To test manually, click the text on the bottom to copy, and then click the editable area above to trigger two programmatic pastes with the callout bar. Check that permissions for the first programmatic paste do not affect the second programmatic paste, since it is performed on a zero-delay timer.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.execCommand('Paste') is true
PASS editor.textContent is "Click here to copy"
PASS document.execCommand('Paste') is true
PASS editor.textContent is "Click here to copy"
PASS successfullyParsed is true
TEST COMPLETE