| Commit message (Collapse) | Author | Age | Lines |
|\
| |
| | |
Add NS_Atomize cache for main thread use
|
| |
| |
| | |
based to patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1352235 v1 add main thread only cache.
|
| |
| |
| | |
nsCOMPtr<nsIAtom> nameAtom = NS_AtomizeMainThread(nameToUse);
|
| |
| |
| | |
add main thread only cache for nsIAtoms to speed up atomization
|
|/
|
|
| |
Create a new pref 'dom.meta-set-cookie.enabled' which is set to 'false', disabling http-equiv meta cookies.
|
|
|
|
|
|
|
|
|
| |
targetFrame is modified during the intersection computation loop, so
it's not the viewport you want if there are scrollframes around.
This bug triggers when IntersectionObservers are used on frames that
wrap.
Follow-up for #249.
|
|
|
|
| |
Tag #1052
|
|
|
|
| |
MOZ_FENNEC
|
|
|
|
| |
Tag #186
|
| |
|
|
|
|
| |
Fixes #970.
|
|
|
|
| |
This reverts commit babedf6c696f88734e59b63d0c6614962cc57519.
|
|
|
|
|
|
|
|
|
| |
If a CC takes too long (around 50 slices) or gets interrupted by a GC,
we have to finish it synchronously, which can cause a big pause.
This patch tries to avoid that by eagerly increasing the slice budget
the longer a CC goes on. It linearly increases the slice time from 5ms
to 40ms as we approach the halfway point of a CC (1 second), matching
GC pauses, and then leaves it at 40ms.
|
|
|
|
|
| |
Making these much larger to allow more purple buffer buildup
and prevent overzealous cycle collection on purple buffer pressure.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
When a node is released/removed, and it has an intersection observer
attached to it, that observer should be unlinked at the time of release.
This resolves #935.
|
| | |
|
|/ |
|
|
|
|
| |
Tag #935.
|
|
|
|
|
|
| |
Per updated spec.
This resolves the issue raised in #249.
|
| |
|
|
|
|
|
|
|
| |
This also removes the (unused) shadow alias from nsIDOMHTMLElement
which used the different calling convention.
This resolves #927
|
|
|
|
| |
Mozilla hashtables -still- suck.
|
|
|
|
| |
Tag #249
|
|
|
|
| |
Tag #249
|
|
|
|
|
| |
... for custom root with overflow clip.
Tag #249
|
|
|
|
|
|
| |
Spec says: "Map intersectionRect to the coordinate space of the
viewport of the Document containing the target."
Tag #249
|
|
|
|
| |
Tag #249.
|
|
|
|
| |
Tag #249
|
|
|
|
| |
Tag #249
|
|
|
|
| |
failures.
|
|
|
|
| |
passed to the location.protocol setter.
|
|
|
|
| |
other than http or https.
|
| |
|
|
|
|
| |
This resolves #881
|
|
|
|
| |
Not doing this can cause a leak because there is a cycle between the load request and the script element.
|
|
|
|
| |
Tag #871
|
|
|
|
|
|
| |
so a document-based marking function can be used separately.
Tag #871
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- imageDetails.format() needs a cast to SurfaceFormat
- style nit: wrap long lines.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)
`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a util function.
* Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"
This reverts commit 19f010c62022e269f99066a8d90e3522fe31adaf.
* Part 1. Duplicate IsLocalRefURL to nsContentUtils to reuse this function.
`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, duplicate it to nsContentUtils as a util function.
This is a duplication because CSSValue uses stringbuffers and not nsStrings.
While Bug 1356060 - "Just use nsString in URLValueData" converts this use from stringbuffer to nsString, it builds on a bunch of vartype refactoring (nsString vs. nsAString, etc.) which is too much of a headache to deal with just to deduplicate this simple function.
* Part 2. Implement nsSVGEffects::GetBaseURLForLocalRef to export local-ref-url-resolving logic.
ResolveURLUsingLocalRef is designed to be internally used by nsSVGEffects::Get-{SVGEffect}-URI functions.
Since we also need it in SVGUseElement::LookupHref, make it public in nsSVGEffects.
* Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef.
* Part 4. Reftest for using local-ref as xlink:href value.
|
| |
|
|
|
|
|
| |
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
|
| |
|
|\
| |
| | |
Add support for Element.toggleAttribute()
|
| | |
|