adeshkp
aea50f182f
Telemetry: Remove stubs and related code
2019-02-16 00:24:04 +08:00
wolfbeast
14ea8bb121
Align Element.ScrollIntoView() with the spec.
...
This also removes the (unused) shadow alias from nsIDOMHTMLElement
which used the different calling convention.
This resolves #927
2019-02-16 00:24:00 +08:00
wolfbeast
304984a6aa
Fix crashiness of IntersectionObservers.
...
Mozilla hashtables -still- suck.
2019-02-16 00:23:05 +08:00
wolfbeast
d76f949502
[intersection-observer] Calculate areas using int64_t.
...
Tag #249
2019-02-16 00:23:00 +08:00
wolfbeast
f82da789c8
Fix singed/unsigned type confusion for intersection threshold.
...
Tag #249
2019-02-16 00:22:59 +08:00
wolfbeast
d3a8693d52
Use content area as the intersection rectangle ...
...
... for custom root with overflow clip.
Tag #249
2019-02-16 00:22:57 +08:00
wolfbeast
475d865c14
Map intersectionRect to the coordinate space of the target document.
...
Spec says: "Map intersectionRect to the coordinate space of the
viewport of the Document containing the target."
Tag #249
2019-02-16 00:22:56 +08:00
wolfbeast
52f04699c0
Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect.
...
Tag #249 .
2019-02-16 00:22:54 +08:00
wolfbeast
47f52cee1f
Intersection ratio should be 1.0 for zero-area intersections.
...
Tag #249
2019-02-16 00:22:53 +08:00
wolfbeast
42d9f2ffb3
Revise lifetime management of IntersectionObservers.
...
Tag #249
2019-02-16 00:22:51 +08:00
wolfbeast
4aacec4782
Issue #910 part 3. Throw SyntaxError from Location::SetProtocol on URI parse failures.
2019-02-16 00:22:31 +08:00
wolfbeast
a6eab2d84e
Issue #910 part 2. Strip ':' and anything following it from the string passed to the location.protocol setter.
2019-02-16 00:22:29 +08:00
wolfbeast
32eb361301
Issue #910 part 1. Don't navigate when location.protocol is set to anything other than http or https.
2019-02-16 00:22:28 +08:00
wolfbeast
27d88fc505
Do not report resource-timing subdocument loads triggered by that subdocument.
2019-02-16 00:22:18 +08:00
wolfbeast
9b1124ccbd
Remove VR hardware support.
...
This resolves #881
2019-02-16 00:20:27 +08:00
wolfbeast
b32338ed19
Tell the cycle collector about nsScriptLoadRequest::mElement.
...
Not doing this can cause a leak because there is a cycle between the load request and the script element.
2019-02-16 00:19:31 +08:00
wolfbeast
6e25ae612a
Fix build bustage.
...
Tag #871
2019-02-16 00:19:29 +08:00
wolfbeast
a30b6ee962
Split the content viewer marking function in CCUncollectable out,
...
so a document-based marking function can be used separately.
Tag #871
2019-02-16 00:19:25 +08:00
wolfbeast
b7a342f120
Ensure user input suppression works correctly even after document.open.
2019-02-16 00:18:43 +08:00
wolfbeast
2f2751e46c
Bug 1466991 - Part 2: Reparent nodes when they start being in the XBL scope.
2019-02-16 00:13:24 +08:00
wolfbeast
34f16bf61c
Bug 1466991 - Part 1: Factor out ShouldUseXBLScope.
2019-02-16 00:13:22 +08:00
wolfbeast
c858b4cc75
Fix build bustage in cbfef7fcdb853916ff04015f6ee2d4b86f424a08
...
- imageDetails.format() needs a cast to SurfaceFormat
- style nit: wrap long lines.
2019-02-16 00:13:18 +08:00
wolfbeast
f3a19b8e9b
Release mapped surface memory on size check failure to plug a leak.
2019-02-16 00:13:16 +08:00
wolfbeast
918ef0183a
Move surface data checking to a separate function to make it less "totally nuts"
2019-02-16 00:13:15 +08:00
wolfbeast
b51651f769
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.
2019-02-16 00:12:41 +08:00
wolfbeast
5cc1408b3d
Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"
...
This reverts commit 19f010c62022e269f99066a8d90e3522fe31adaf.
2019-02-16 00:12:40 +08:00
Moonchild
49fc92f4a1
Bug 1357432 ( #750 )
...
* 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.
2019-02-16 00:12:35 +08:00
wolfbeast
ad782894c8
Remove all C++ telemetry autotimers
2019-02-16 00:12:34 +08:00
wolfbeast
8c8145e620
Remove all C++ Telemetry Accumulation calls.
...
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.
2019-02-16 00:12:32 +08:00
SpockMan02
d330e7e8fc
Issue #686 : Un-deprecate the Application Cache API
2019-02-16 00:10:43 +08:00
janekptacijarabaci
8714f52f69
DOM - Element - add support for Element.toggleAttribute()
2019-02-16 00:08:52 +08:00
janekptacijarabaci
731b3ea7ee
Bug 1346501. Remove mFrameCreateCalled from nsImageLoadingContent, it is now unused
2019-02-16 00:08:32 +08:00
janekptacijarabaci
ece6d716f4
Bug 1346501. Don't mark every image as visible when a frame is created for it
2019-02-16 00:08:30 +08:00
janekptacijarabaci
98546534b0
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status
2019-02-16 00:07:43 +08:00
SpockMan02
2d708bf86c
Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
2019-02-16 00:06:39 +08:00
wolfbeast
f5d85dbba6
Convert the button rect to device coordinates correctly instead of casting CSS coordinates.
...
This should the correct fix for #559
2019-02-16 00:06:08 +08:00
wolfbeast
5af4107852
Stabilize and align Intersection Observers
...
- Fixes several crashes
- Aligns the feature with the W3C WD spec
Tag #249
2019-02-16 00:05:46 +08:00
wolfbeast
200d5cad68
Prevent various location-based hazards.
2019-02-16 00:04:31 +08:00
janekptacijarabaci
65c35bbe06
nsIContentPolicy: Numbers should not be omitted in nsIContentPolicyBase.idl, rewrite uuid
2019-02-16 00:03:31 +08:00
janekptacijarabaci
0fac4df87d
nsIContentPolicy: Their order (in nsIContentPolicyBase.idl) must be retained in nsContentBlocker.cpp
2019-02-16 00:03:29 +08:00
janekptacijarabaci
d4bba67029
Rewrite uuid for ContentPolicy
2019-02-16 00:03:26 +08:00
janekptacijarabaci
b4ffccf942
Fix typo in nsContentPolicyUtils.h
2019-02-16 00:03:21 +08:00
janekptacijarabaci
97c6ecff55
Bug 1398229 - Save-link-as feature should use the loading principal - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD
2019-02-16 00:03:18 +08:00
Boris Zbarsky
d8712492da
Bug 1464784 - Hold a strong ref to the document in callers of ConvertNodesOrStringsIntoNode. r=smaug, a=abillings
2019-02-16 00:02:00 +08:00
wolfbeast
0795e50d87
Refactor structured clone JSAPI to prevent mismatched scopes.
...
Roll-up of bugs 1442722, 1455071, 1433642, 1456604 and 1458320.
2019-02-16 00:01:32 +08:00
Andrea Marchesini
ad7843d169
Bug 1452576 - Improve StructuredCloneHolder for fuzzy tests, r=decoder a=jcristau
...
--HG--
extra : rebase_source : eb2bc60ffcac9afd44da7a2f5c99913829cd4753
2019-02-16 00:01:20 +08:00
Gaming4JC
d4ac94cf3e
Remove support and tests for HSTS priming from the tree. Fixes #384
2019-02-15 23:59:39 +08:00
wolfbeast
8d1e73fc3c
Remove the jprof profiler.
...
This resolves #377 .
2019-02-15 23:58:34 +08:00
wolfbeast
74df182488
Remove other gonk widget conditionals and unused files.
...
Tag #288 .
2019-02-15 23:57:15 +08:00
wolfbeast
b586913598
Remove MOZ_WIDGET_GONK [1/2]
...
Tag #288
2019-02-15 23:57:08 +08:00