Closed
Bug 1514493
Opened 5 years ago
Closed 5 years ago
[wpt-sync] Sync PR 14541 - WIP: Async Clipboard ReadImage/WriteImage prototype.
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream error])
Sync web-platform-tests PR 14541 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/14541 Details from upstream follow. Darwin Huang <huangdarwin@chromium.org> wrote: > WIP: Async Clipboard ReadImage/WriteImage prototype. > > API Goal: > - Async Clipboard functionality to ReadImage() and WriteImage() > - JS side will send Blobs with MIME type "image/png" > - Images will be "safe", as we'll re-encode to strip potentially dangerous > metadata and protect from arbitrary code execution. Only image types > supported by the Skia library will be supported for this initial POC. > - First release into experimental with this ReadImage()/WriteImage() > - Later integrate into Read()/Write() and remove ReadImage()/WriteImage() > > Features: > - FileReader used to read Blobs asynchronously. > - Image Decoding on a separate thread. > - Image read/write accomplished, where Images are represented by Blobs holding > MIME type "image/png" > - Manual test requires user to copy the green image and then refresh. > > Future work: > - Image encoding on a separate thread as well. > - Simplify and determine what code runs on which threads. > - Move PNGCodec off of async clipboard area? > - Improve test to be automatic instead of manual, and to not require user copy. > - Consider use of ImageBitmapFactory increased types available for accessing the > async clipboard, and reduction in potentially duplicate code, at the cost of > a potential for increased complexity. > > Bug: 150835 > Change-Id: I4380116642b4720bb9773185eb2e28757688c5ec > > Reviewed-on: https://chromium-review.googlesource.com/1345090 > WPT-Export-Revision: 862cd3859300a53b0e25174ea97896a9e301efda
Assignee | ||
Updated•5 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=97d87978fe61dd9539a0f7a46edaa81206bb32ad
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0280ad6e9425147a4760f396bc887c470946ced3
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=a68dc165aa2ef671fae0e006fcb9e824e241b4c5
Assignee | ||
Comment 4•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=30c6f8744655843dd6798978e74a1eab2d89315f
Assignee | ||
Comment 5•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=43730d1e363039f524bd4bac99c7bf5de5a71e33
Assignee | ||
Comment 6•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9be7ab23ff07122784e57bf599de33073cbd92ad
Assignee | ||
Comment 7•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=bc7f40350b734dbcf29098c091fd260639ca543e
Assignee | ||
Comment 8•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=34c09fa495a67eea1022d984980609e6792e59f7
Assignee | ||
Comment 9•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=5ab62870900c4ca46df3b7dd61036615244059bf
Assignee | ||
Comment 10•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=0a8319f3b9acef4a675ee38597beceec7d7de837
Assignee | ||
Comment 11•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=cd024775eb984f391eb5700e14d2aebf70149076
Assignee | ||
Comment 12•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=512792b161dba30c05ce8c7cf666598e4a3dfe1f
Assignee | ||
Comment 13•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c54d68dce67bc393aa28d0c79eba4f56e0492bbe
Assignee | ||
Comment 14•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=4dc310de32e1dba9c3fa26413018b80a5978b04e
Assignee | ||
Comment 15•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2bedcbb2a1ee736028f729cd6ed59471031ca997
Assignee | ||
Comment 16•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=4772ee999cb7bcfb5d08f9a5779e5681f1271c3d
Assignee | ||
Comment 17•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c98f066d5625623d67a91fb02dd672ad83682369
Assignee | ||
Comment 18•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=57e80453ed91a607f89db06c8fbcf6398ae22be1
Assignee | ||
Comment 19•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=18a6cacd2b3b79278eb74914bb4bb05eeae34d37
Assignee | ||
Comment 20•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=d3a9aa70858c8b4d4189e97cc3d94cbb28c5c890
Assignee | ||
Comment 21•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5aad0020778b9ff4ac54799508f9234fd2ad03c4
Assignee | ||
Updated•5 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Comment 22•5 years ago
|
||
Failed to get results from try push
Comment 23•5 years ago
|
||
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/434971de57eb [wpt PR 14541] - Async Clipboard: ReadImageExperimental/WriteImageExperimental, a=testonly
Comment 24•5 years ago
|
||
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/93e8279ba244 [wpt PR 14541] - Async Clipboard: ReadImageExperimental/WriteImageExperimental, a=testonly
Comment 25•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•