blob: 440c425971bdc7495120484dea485ebff1ec3940 [file] [log] [blame]
CONSOLE MESSAGE: [blocked] The page at https://localhost:9443/clipboard-apis/async-navigator-clipboard-basics.https.html was not allowed to display insecure content from http://localhost:8001/clipboard-apis/resources/greenbox.png.
CONSOLE MESSAGE: Not allowed to request resource
CONSOLE MESSAGE: Fetch API cannot load http://localhost:8001/clipboard-apis/resources/greenbox.png due to access control checks.
PASS navigator.clipboard exists
PASS navigator.clipboard.write([text/plain ClipboardItem]) succeeds
PASS navigator.clipboard.write() fails (expect [ClipboardItem])
PASS navigator.clipboard.write(null) fails (expect [ClipboardItem])
PASS navigator.clipboard.write(DOMString) fails (expect [ClipboardItem])
PASS navigator.clipboard.write(Blob) fails (expect [ClipboardItem])
PASS navigator.clipboard.writeText(DOMString) succeeds
PASS navigator.clipboard.writeText() fails (expect DOMString)
FAIL navigator.clipboard.write({string : image/png Blob}) succeeds promise_test: Unhandled rejection with value: object "TypeError: Load failed"
PASS navigator.clipboard.read() succeeds
PASS navigator.clipboard.readText() succeeds