blob: 24530c609f330d4d31f9b9b6811cf88da2d13636 [file] [log] [blame]
This tests makes sure that pasting content while images are disabled does not enable deferred loading.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
internals.settings.setImagesEnabled(false)
document.execCommand("copy")
PASS editor.querySelector("img").width is 76
setTimeout(waitForImagesToBeDisabled, 0)
PASS internals.pageDefersLoading() is false
document.execCommand("paste")
PASS internals.pageDefersLoading() is false
PASS successfullyParsed is true
TEST COMPLETE
hello