Add DOMMatrix/DOMPoint, etc. support in web workers
Categories
(Core :: DOM: Workers, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: mail, Assigned: saschanaz)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171115095126 Steps to reproduce: Tried to use DOMMatrix in a web worker thread (new DOMMatrix([m11, …])). Actual results: Got 'ReferenceError: DOMMatrix is not defined' in the worker thread. Expected results: If I interpret the specs correctly, DOMMatrix should be exposed to both Window and Worker. Because DOMMatrix can be used for transformation computations as used in image manipulation, it seems like a good candidate for use in web workers to perform such calculations without blocking the user interface. https://drafts.fxtf.org/geometry/#DOMMatrix
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Exposes DOMMatrix, DOMPoint, DOMQuad, and DOMRect to workers.
![]() |
||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
I can't add checkin-needed, could you add it? Thanks!
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3e4205698b8 Expose Geometry Interfaces to worker r=bzbarsky
![]() |
||
Comment 4•4 years ago
|
||
I can do better: I can just schedule the landing. Which I did. ;)
Do you want to send an intent-to-ship email for this, per https://wiki.mozilla.org/ExposureGuidelines#Intent_to_ship? If not, I can do it; just let me know.
Assignee | ||
Comment 5•4 years ago
|
||
Just re-sent it and now waiting an approval. (I sent one a few days back without subscribing the mailing list, and looks like it didn't work.)
![]() |
||
Comment 6•4 years ago
|
||
OK. If it doesn't come through soon, please let me know!
![]() |
||
Comment 7•4 years ago
|
||
Fwiw, there were test failures not caught by the try push mentioned in phabricator, because there are non-web-platform tests for some of this stuff. Bug 1559638 tracks and I will fix.
Comment 8•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Documentation updated:
- Submitted BCD PR 4823 to update the compatibility data for the affected methods.
Please advise if there are any remaining issues with the content affected here.
Comment 11•4 years ago
|
||
OK, returning to dev-doc-needed
status; this isn't just about DOMMatrix
. I need to update DOMPoint
, DOMRect
, and DOMQuad
. Will do that Monday.
Updated•4 years ago
|
Description
•