summaryrefslogtreecommitdiffstats
path: root/dom/base
Commit message (Collapse)AuthorAgeLines
* Fix singed/unsigned type confusion for intersection threshold.wolfbeast2018-12-22-3/+3
| | | | Tag #249
* Use content area as the intersection rectangle ...wolfbeast2018-12-22-7/+11
| | | | | ... for custom root with overflow clip. Tag #249
* Map intersectionRect to the coordinate space of the target document.wolfbeast2018-12-22-7/+8
| | | | | | Spec says: "Map intersectionRect to the coordinate space of the viewport of the Document containing the target." Tag #249
* Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect.wolfbeast2018-12-22-1/+1
| | | | Tag #249.
* Intersection ratio should be 1.0 for zero-area intersections.wolfbeast2018-12-22-1/+7
| | | | Tag #249
* Revise lifetime management of IntersectionObservers.wolfbeast2018-12-22-26/+46
| | | | Tag #249
* Issue #910 part 3. Throw SyntaxError from Location::SetProtocol on URI parse ↵wolfbeast2018-12-16-1/+4
| | | | failures.
* Issue #910 part 2. Strip ':' and anything following it from the string ↵wolfbeast2018-12-16-1/+8
| | | | passed to the location.protocol setter.
* Issue #910 part 1. Don't navigate when location.protocol is set to anything ↵wolfbeast2018-12-16-0/+17
| | | | other than http or https.
* Do not report resource-timing subdocument loads triggered by that subdocument.wolfbeast2018-12-14-0/+3
|
* Remove VR hardware support.wolfbeast2018-11-26-174/+0
| | | | This resolves #881
* Tell the cycle collector about nsScriptLoadRequest::mElement.wolfbeast2018-11-15-2/+10
| | | | Not doing this can cause a leak because there is a cycle between the load request and the script element.
* Fix build bustage.wolfbeast2018-11-15-1/+0
| | | | Tag #871
* Split the content viewer marking function in CCUncollectable out,wolfbeast2018-11-14-16/+23
| | | | | | so a document-based marking function can be used separately. Tag #871
* Ensure user input suppression works correctly even after document.open.wolfbeast2018-11-02-5/+10
|
* Bug 1466991 - Part 2: Reparent nodes when they start being in the XBL scope.wolfbeast2018-09-11-0/+49
|
* Bug 1466991 - Part 1: Factor out ShouldUseXBLScope.wolfbeast2018-09-11-1/+17
|
* Fix build bustage in cbfef7fcdb853916ff04015f6ee2d4b86f424a08wolfbeast2018-09-11-2/+4
| | | | | - imageDetails.format() needs a cast to SurfaceFormat - style nit: wrap long lines.
* Release mapped surface memory on size check failure to plug a leak.wolfbeast2018-09-11-0/+2
|
* Move surface data checking to a separate function to make it less "totally nuts"wolfbeast2018-09-11-12/+47
|
* Bug 1357432 (#750)Moonchild2018-09-05-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Remove all C++ telemetry autotimerswolfbeast2018-09-04-2/+0
|
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-161/+1
| | | | | 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.
* Issue #686: Un-deprecate the Application Cache APISpockMan022018-08-05-1/+0
|
* Merge pull request #642 from janekptacijarabaci/dom_element_toggleAttribute_1Moonchild2018-07-17-0/+38
|\ | | | | Add support for Element.toggleAttribute()
| * DOM - Element - add support for Element.toggleAttribute()janekptacijarabaci2018-07-10-0/+38
| |
* | Bug 1346501. Remove mFrameCreateCalled from nsImageLoadingContent, it is now ↵janekptacijarabaci2018-07-12-9/+1
| | | | | | | | unused
* | Bug 1346501. Don't mark every image as visible when a frame is created for itjanekptacijarabaci2018-07-12-11/+25
|/
* Bug 604026 - Sync event loops in workers should be created only if ↵janekptacijarabaci2018-07-05-5/+5
| | | | compatible with the worker shutdown status
* Merge pull request #567 from SpockMan02/moz-mac-lion-themeMoonchild2018-06-30-0/+2
|\ | | | | Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
| * Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media querySpockMan022018-06-27-0/+2
| |
* | Convert the button rect to device coordinates correctly instead of casting ↵wolfbeast2018-06-28-1/+3
| | | | | | | | | | | | CSS coordinates. This should the correct fix for #559
* | Stabilize and align Intersection Observerswolfbeast2018-06-27-64/+111
|/ | | | | | | - Fixes several crashes - Aligns the feature with the W3C WD spec Tag #249
* Prevent various location-based hazards.wolfbeast2018-06-24-0/+20
|
* nsIContentPolicy: Numbers should not be omitted in nsIContentPolicyBase.idl, ↵janekptacijarabaci2018-06-18-12/+13
| | | | rewrite uuid
* nsIContentPolicy: Their order (in nsIContentPolicyBase.idl) must be retained ↵janekptacijarabaci2018-06-18-1/+1
| | | | in nsContentBlocker.cpp
* Rewrite uuid for ContentPolicyjanekptacijarabaci2018-06-17-3/+3
|
* Fix typo in nsContentPolicyUtils.hjanekptacijarabaci2018-06-17-1/+1
|
* Bug 1398229 - Save-link-as feature should use the loading principal - ↵janekptacijarabaci2018-06-17-1/+7
| | | | implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD
* Bug 1464784 - Hold a strong ref to the document in callers of ↵Boris Zbarsky2018-06-07-10/+10
| | | | ConvertNodesOrStringsIntoNode. r=smaug, a=abillings
* Refactor structured clone JSAPI to prevent mismatched scopes.wolfbeast2018-06-07-3/+4
| | | | Roll-up of bugs 1442722, 1455071, 1433642, 1456604 and 1458320.
* Bug 1452576 - Improve StructuredCloneHolder for fuzzy tests, r=decoder ↵Andrea Marchesini2018-06-07-16/+18
| | | | | | | a=jcristau --HG-- extra : rebase_source : eb2bc60ffcac9afd44da7a2f5c99913829cd4753
* Remove support and tests for HSTS priming from the tree. Fixes #384Gaming4JC2018-05-26-51/+2
|
* Remove the jprof profiler.wolfbeast2018-05-23-109/+0
| | | | This resolves #377.
* Remove other gonk widget conditionals and unused files.wolfbeast2018-05-13-5/+0
| | | | Tag #288.
* Remove MOZ_WIDGET_GONK [1/2]wolfbeast2018-05-12-20/+11
| | | | Tag #288
* Remove MOZ_B2G leftovers and some dead B2G-only components.wolfbeast2018-05-12-141/+0
|
* moebius#231: Consider blocking top level window data: URIs (tests)janekptacijarabaci2018-05-06-3/+8
| | | | https://github.com/MoonchildProductions/moebius/pull/231
* Merge pull request #309 from janekptacijarabaci/build_warnings_4Moonchild2018-05-01-1/+1
|\ | | | | Build - throws a warning "interface 'nsISelectionPrivate' is scriptable but derives from non-scriptable 'nsISelection'"
| * Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelectionjanekptacijarabaci2018-04-30-1/+1
| |