Closed
Bug 1514493
Opened 6 years ago
Closed 6 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: wpt-sync, 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•6 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0280ad6e9425147a4760f396bc887c470946ced3
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=30c6f8744655843dd6798978e74a1eab2d89315f
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9be7ab23ff07122784e57bf599de33073cbd92ad
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=cd024775eb984f391eb5700e14d2aebf70149076
Assignee | ||
Comment 12•6 years ago
|
||
Assignee | ||
Comment 13•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c54d68dce67bc393aa28d0c79eba4f56e0492bbe
Assignee | ||
Comment 14•6 years ago
|
||
Assignee | ||
Comment 15•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2bedcbb2a1ee736028f729cd6ed59471031ca997
Assignee | ||
Comment 16•6 years ago
|
||
Assignee | ||
Comment 17•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c98f066d5625623d67a91fb02dd672ad83682369
Assignee | ||
Comment 18•6 years ago
|
||
Assignee | ||
Comment 19•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=18a6cacd2b3b79278eb74914bb4bb05eeae34d37
Assignee | ||
Comment 20•6 years ago
|
||
Assignee | ||
Comment 21•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5aad0020778b9ff4ac54799508f9234fd2ad03c4
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Comment 22•6 years ago
|
||
Failed to get results from try push
Comment 23•6 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•6 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•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•