summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* Clean up a number of unused variables.wolfbeast2018-09-29-12/+0
| | | | Tag #21.
* Update test files for libnestegg updatetrav902018-09-29-3/+5
|
* Remove IndexedDB for content pref.wolfbeast2018-09-29-30/+0
| | | | Tag Issue #765
* backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across ↵Gaming4JC2018-09-25-1/+1
| | | | | | | | | | | | | | | origins Potential attack: session supercookie. [Moz Notes](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c5): "The problem is that for unknown header names we store the first one we see and then later we case-insensitively match against that name *globally*. That means you can track if a user agent has already seen a certain header name used (by using a different casing and observing whether it gets normalized). This would allow you to see if a user has used a sensitive service that uses custom header names, or allows you to track a user across sites, by teaching the browser about a certain header case once and then observing if different casings get normalized to that. What we should do instead is only store the casing for a header name for each header list and not globally. That way it only leaks where it's expected (and necessary) to leak." [Moz fix note](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c8): "nsHttpAtom now holds the old nsHttpAtom and a string that is case sensitive (only for not standard headers). So nsHttpAtom holds a pointer to a header name. (header names are store on a static structure). This is how it used to be. I left that part the same but added a nsCString which holds a string that was used to resoled the header name. So when we parse headers we call ResolveHeader with a char*. If it is a new header name the char* will be stored in a HttpHeapAtom, nsHttpAtom::_val will point to HttpHeapAtom::value and the same strings will be stored in mLocalCaseSensitiveHeader. For the first resolve request they will be the same but for the following maybe not. At the end this nsHttpAtom will be stored in nsHttpHeaderArray. For all operation we will used the old char* except when we are returning it to a script using VisitHeaders."
* Send worker-runnables destined for the main thread actually to the main thread.wolfbeast2018-09-16-9/+18
| | | | | | A case of "one queue too many" here. Instead of worker runnables being sent to the main thread where they are supposed to run, they are put in a task queue per-worker. This is devastating for performance if many workers are running.
* Stop using the worker MainThreadTaskQueue from dom/fetch.wolfbeast2018-09-16-9/+3
|
* Stop using the MainThreadTaskQueue from service workers.wolfbeast2018-09-16-36/+23
|
* Fix wrong SVG sizes with non-integer values for viewBox width/height.wolfbeast2018-09-14-0/+175
| | | | Includes a standalone reftest.
* Fix clang build bustage.wolfbeast2018-09-12-1/+1
| | | | Follow-up to 9830cd079d8306abc223461190553af64b6fd0ca
* 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
|
* Bug 1472925 - Keep a strong reference to MediaStreamGraph from GraphDriver.wolfbeast2018-09-11-8/+9
|
* 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
|
* RTCCertificate.cpp: output truncated before the last format charactertrav902018-09-07-1/+1
| | | | Fixes compiler warnings when building with GCC 7+
* Bug 1357432 (#750)Moonchild2018-09-05-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-43/+18
|
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-842/+14
| | | | | 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.
* Remove support for TLS session caches in TLSServerSocket.wolfbeast2018-09-01-1/+0
| | | | This resolves #738
* Add missing }wolfbeast2018-08-25-0/+1
|
* Add a horizontal scroll action option for mouse wheel.wolfbeast2018-08-25-1/+7
| | | | Resolves #732
* Re-implement custom background color of standalone images.wolfbeast2018-08-20-0/+20
| | | | | | | | This resolves #717. Note: this does not affect other applications because the platform default is to use the "darknoise" background image for standalone image, which effectively overrides a bg color.
* memset only the underlying vector from the Array containertrav902018-08-18-1/+1
|
* Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2)trav902018-08-10-2/+2
|
* Remove the const to fix the -Wignored-qualifiers warning with GCC 8trav902018-08-10-1/+1
|
* Issue #686: Un-deprecate the Application Cache APISpockMan022018-08-05-3/+0
|
* Merge pull request #690 from janekptacijarabaci/netwerk_cors_multiple_1Moonchild2018-08-04-0/+1
|\ | | | | Fixed misleading console error message for multiple CORS headers
| * Fixed misleading console error message for multiple CORS headersjanekptacijarabaci2018-07-31-0/+1
| |
* | Bug 1335296 - Expand about:support WebGL informationjanekptacijarabaci2018-08-01-12/+131
|/
* [EME] Add support for sbgp and sgpd boxes occuring in the sampletabletrav902018-07-25-3/+3
|
* [EME] Add support for sbgp and sgpd boxes in the traf boxtrav902018-07-25-1/+6
|
* Merge pull request #652 from janekptacijarabaci/dom_document_domain_null_1Moonchild2018-07-20-4/+4
|\ | | | | Make document.domain non-nullable
| * Bug 819475 - Make document.domain non-nullablejanekptacijarabaci2018-07-20-4/+4
| |
* | Bug 1351193 - Update testsjanekptacijarabaci2018-07-20-1/+1
| |
* | Bug 1351193 - Added new DataTransfer constructorjanekptacijarabaci2018-07-20-17/+5
|/
* Merge pull request #642 from janekptacijarabaci/dom_element_toggleAttribute_1Moonchild2018-07-17-0/+40
|\ | | | | Add support for Element.toggleAttribute()
| * DOM - Element - add support for Element.toggleAttribute()janekptacijarabaci2018-07-10-0/+40
| |
* | Merge pull request #628 from janekptacijarabaci/build_bustage_debug_1Moonchild2018-07-13-0/+2
|\ \ | | | | | | Fix Build Bustage - with "--enable-debug"
| * | Fix Build Bustage - with "--enable-debug"janekptacijarabaci2018-07-12-0/+2
| | |
* | | 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
|/ /
* | Fix incorrect namespace use.wolfbeast2018-07-11-2/+2
| |
* | Switch from ShCompileOptions to int.wolfbeast2018-07-11-29/+30
| |
* | Restore emulated functions for OS X 10.8/10.7wolfbeast2018-07-11-0/+11
| |
* | Add event.srcElement (the alias for event.target)janekptacijarabaci2018-07-11-0/+2
|/ | | | Issue #622
* Make the page visibility API pref-controlled.wolfbeast2018-07-07-0/+3
| | | | This resolves #607.
* Merge pull request #599 from janekptacijarabaci/dom_fetch_request_navigate_1Moonchild2018-07-05-38/+20
|\ | | | | Added support for Request constructor with "mode: navigate"
| * Bug 1331564 - XHR SyncTeardownRunnable must run also when the worker is in ↵janekptacijarabaci2018-07-05-5/+3
| | | | | | | | killing state
| * Bug 1298823 - Fix Request constructor - with "mode: navigate"janekptacijarabaci2018-07-05-33/+17
| |