Commit graph

25 commits

Author SHA1 Message Date
Moonchild
71bd54891a Issue #1810 - Implement {get|set}Transform with DOMMatrix arguments.
We already had part of the plumbing for other canvas manipulations, so
this is somewhat simplified.

This excludes the interface as that is breaking the build at this stage.
Some more research is required.
2024-08-21 10:48:06 +08:00
Moonchild
359a4a2069 Issue #2524 - Implement smart granularity for canvas poisoning.
User-configurable time interval between 1s and 8h. Default 5 minutes.
Resolves #2524
2024-06-11 10:14:09 +08:00
FranklinDM
4bf43b8fb4 Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class 2024-04-02 22:49:48 +08:00
FranklinDM
d6852b3170 Issue #2112 - Part 10: Remove remaining Stylo/Servo includes and code
Some classes have been marked for removal/merging, macros used for forwarding/casting were moved to DeprecatedUtils.h.
2024-04-02 22:44:24 +08:00
Daniel Jacobs
39f5c51c10 Issue #2483 - Support DOMMatrix2DInit for addPath 2024-04-02 22:17:40 +08:00
Brian Smith
0701dccaca Issue #1442 - Part 5: Implement WebIDL bindings for Streams. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959 2023-10-04 09:54:00 +08:00
Moonchild
efeb0e3e97 Issue #2087 - Don't throw on lacking PresShell in SetFontInternal
In CanvasRenderingContext2D::SetFontInternal, we should not throw if
there is no PresShell due to (sandboxed/hidden) iframe use that has not
initialized its presentation yet at the time of property manipulation.
This removes the throwing of the error and just silently fails.

Resolves #2087
2023-01-10 07:42:08 +08:00
Moonchild
9fa9622d5b [DOM] Clip image data transfers. 2022-06-02 10:11:38 +08:00
Moonchild
8d800b1cb0 Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
wolfbeast
c3a85ded77 Improve origin-clean algorithm based on our previous changes.
- Instead of trying the failing refactored Mozilla way, simply add a
check where needed building on what was put in place previously.
2019-06-07 09:52:36 +08:00
wolfbeast
64acfb5ca0 Revert "Improve origin-clean algorithm"
This reverts commit e69b3f567c4b8957cc09ba4359e84939f77781c5.
2019-06-07 09:52:34 +08:00
wolfbeast
85e68b684f Improve origin-clean algorithm 2019-05-31 07:21:08 +08:00
wolfbeast
ac1a607eb0 Extend origin-clean algorithm (DiD). 2019-03-23 06:44:19 +08:00
wolfbeast
1cc92006b6 Implement origin-clean algorithm for ImageBitmap.
This resolves #973.
2019-02-16 00:28:25 +08:00
wolfbeast
39d5eb7759 Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-02-16 00:27:49 +08:00
wolfbeast
391e7d295f Clear CanvasShutdownObserver::mCanvas when the canvas goes away.
This is fallout from Bug 1167235 - Use a fast method of double buffering for canvas.

It is possible for the CanvasRenderingContext2D to be destroyed while we're in the
middle of the call to nsObserverService::NotifyObservers() for shutdown.
This leaves the shutdown observer with a dangling pointer to the canvas, so this
patch explicitly clears the pointer when the context goes away.
2019-02-16 00:22:12 +08:00
Jonathan Kew
d7d5258610 Update dimensions early in ClearTarget. 2019-02-16 00:01:23 +08:00
wolfbeast
b586913598 Remove MOZ_WIDGET_GONK [1/2]
Tag #288
2019-02-15 23:57:08 +08:00
janekptacijarabaci
b50357b7ae moebius#106: SVG - CanvasImageSource - allow using an SVGImageElement as a CanvasImageSource 2019-02-15 23:45:52 +08:00
Jeff Muizelaar
9a47c23711 Bug 1438425 - Delete DocumentRenderer. r=jesup, r=jgilbert, a=RyanVM
It is unused.
2019-02-15 23:37:39 +08:00
wolfbeast
30a101ad73 Revert "Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM"
This reverts commit 5b69e05939c7fd3f917e2dd0f399774b3b15c886.
2019-02-15 23:37:34 +08:00
Jeff Muizelaar
a64b1808c0 Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM
It is unused.

--HG--
extra : histedit_source : b7af9f250f0330f90547114184873ae9971f20fc
2019-02-15 23:37:27 +08:00
wolfbeast
c9f70f4de1 Don't build EME-specific subroutines without EME.
- Checks for restricted or encrypted content
- Dispatching 'encrypted' events
- Dispatching 'key needed' events
- HTML Media Element media keys system
- EME telemetry
- HTML Media Element EME API

This is the main bulk for #26, isolating EME-specific code.
2019-02-15 23:34:01 +08:00
wolfbeast
2dc214fa3b Add canvas data poisoning option.
Tag #61.
2019-02-14 14:28:39 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00