Implement forceSoftwareRendering for canvas contextes
Categories
(Core :: Privacy: Anti-Tracking, enhancement)
Tracking
()
People
(Reporter: tjr, Assigned: fkilic)
References
Details
Attachments
(2 files)
In addition to Bug 1894958, we would like to collect the same canvases; rendered with software rendering. We have long assumed that software-rendering canvases would remove entropy from the result; but we need to validate this.
Reporter | ||
Comment 1•8 months ago
|
||
willReadFrequently does basically what we want for Canvas2D;
however it won't work on Windows and it doesn't exist for WebGL
So we will just add our own (privileged) attribute we can set
Reporter | ||
Comment 2•8 months ago
|
||
willReadFrequently already implies this; however that can't
be enabled on Windows. We can use our own attribute to control
the value as it plumbs into the depths of Canvas2D
Updated•8 months ago
|
Assignee | ||
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Comment 4•8 months ago
|
||
Backed out for causing multiple failures.
- Push with failures - build bustages
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderWGL.cpp(475,8): error: no viable conversion from 'mozilla::CastableTypedEnumResult<CreateContextFlags>' to 'bool'
- Push with failures - leak failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | leakcheck | tab 232 bytes leaked (Mutex, StringBuffer, nsJSPrincipals, nsSimpleURI)
- Push with failures - reftests failures
- Failure Log
- Failure line: Assertion failure: NS_IsMainThread(), at /builds/worker/checkouts/gecko/dom/base/nsContentUtils.cpp:3616
https://hg.mozilla.org/mozilla-central/rev/347c3fe4a18f
https://hg.mozilla.org/mozilla-central/rev/cd0e7d18bbff
Comment 7•7 months ago
|
||
Backed out, It is crashing the browser on windows and linux, Bug 1906687.
Comment 8•7 months ago
|
||
Backout merged in central: https://hg.mozilla.org/mozilla-central/rev/a8c9a7b30e1d6d94af346771559847a296b82b71
Assignee | ||
Comment 9•7 months ago
|
||
Updated revisions to fix the crashing issue. Thank you!
Comment 10•7 months ago
|
||
Backout uplifted to beta: https://hg.mozilla.org/releases/mozilla-beta/rev/21e46c6e9c1ba42028495c6f66acc9fe3674674d
Comment 11•6 months ago
|
||
Comment 12•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0755e1ce963d
https://hg.mozilla.org/mozilla-central/rev/373176b6f4ad
Comment 13•6 months ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Updated•6 months ago
|
Description
•