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
wolfbeast
719ac1bc38
Remove MOZ_B2G leftovers and some dead B2G-only components.
2019-02-15 23:57:05 +08:00
janekptacijarabaci
745e1809b0
moebius#231: Consider blocking top level window data: URIs (tests)
...
https://github.com/MoonchildProductions/moebius/pull/231
2019-02-15 23:56:35 +08:00
janekptacijarabaci
5eca87831c
Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelection
2019-02-15 23:55:08 +08:00
janekptacijarabaci
e45bad2c54
Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location
2019-02-15 23:54:40 +08:00
janekptacijarabaci
dee826b7ee
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal (without an hard e10s)
2019-02-15 23:54:30 +08:00
janekptacijarabaci
b7a396d49d
Bug 1182569: Update tests when converting docshell loads to use AynscOpen2
2019-02-15 23:54:25 +08:00
janekptacijarabaci
409656556b
Bug 1182569 - Skip security check for plugins using newstream attribute
2019-02-15 23:54:23 +08:00
janekptacijarabaci
901d2a277f
moebius#89: DOM - implement animationcancel event
...
Issue #55
2019-02-15 23:54:00 +08:00
janekptacijarabaci
a89e7c6858
Bug 1264125: Fire transitioncancel event when a transition is canceled - part 1 (in the description)
...
Issue #55
part 1 - Add transitioncancel event handler
part 2 - Add ontransitioncancel EventHandler to WebIDL
part 3 - Add member of active time to ComputedTiming
2019-02-15 23:53:52 +08:00
janekptacijarabaci
ea3430429d
Implement auxclick
...
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1304044
(native in moebius)
2019-02-15 23:53:46 +08:00
janekptacijarabaci
e8dbb561f6
moebius#161: The Performance Resource Timing (make timestamps be relative to startTime)
...
https://github.com/MoonchildProductions/moebius/pull/161
2019-02-15 23:53:43 +08:00
janekptacijarabaci
5558924d7c
Bug 1321261 - partially - "using namespace mozilla"
...
https://hg.mozilla.org/mozilla-central/diff/9ad9c6b4c8d6/dom/base/nsDOMNavigationTiming.cpp
2019-02-15 23:53:42 +08:00
janekptacijarabaci
dbccb9748a
Bug 1322966 - Cleanup performance.cpp
...
https://hg.mozilla.org/mozilla-central/rev/0ad76084c4c3
2019-02-15 23:53:28 +08:00
janekptacijarabaci
85692a1198
moebius#138: Optimize operations on root of deeply-nested frame tree
...
https://github.com/MoonchildProductions/moebius/pull/138
2019-02-15 23:50:20 +08:00
janekptacijarabaci
7f09dee539
moebius#187: DOM - nsIContentPolicy - context (document)
...
https://github.com/MoonchildProductions/moebius/pull/187
2019-02-15 23:49:47 +08:00
janekptacijarabaci
ca1f03fbae
Revert "Bug 1182569 - Skip security check for plugins using newstream attribute"
...
This reverts commit 5b0f4649b3fee771379af60ec04d43b8a525cf80.
2019-02-15 23:49:42 +08:00
janekptacijarabaci
9faac1b961
Revert "Bug 1182569: Update tests when converting docshell loads to use AynscOpen2"
...
This reverts commit b73225e886f84182384a2b5b09f83e51501bdc38.
2019-02-15 23:49:41 +08:00
janekptacijarabaci
69d34b04e5
Bug 1182569: Update tests when converting docshell loads to use AynscOpen2
...
native in moebius
2019-02-15 23:49:33 +08:00
janekptacijarabaci
0337202a47
Bug 1182569 - Skip security check for plugins using newstream attribute
...
native in moebius
2019-02-15 23:49:32 +08:00
janekptacijarabaci
8dccc387f9
Bug 1323683 - Fold nsIURIWithQuery into nsIURI
...
native in moebius
2019-02-15 23:49:27 +08:00
janekptacijarabaci
75dcd43896
Bug 1329570 - Restore missing error check in mozilla::dom::Location::GetPathname
...
native in moebius
2019-02-15 23:49:26 +08:00
janekptacijarabaci
9db39c42c0
moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
...
https://github.com/MoonchildProductions/moebius/pull/121
2019-02-15 23:49:13 +08:00
janekptacijarabaci
da8580c6b4
moebius#73: DOM - window.requestIdleCallback - improvements (basic) - follow up
...
https://github.com/MoonchildProductions/moebius/pull/73
2019-02-15 23:47:38 +08:00