Commit graph

1,328 commits

Author SHA1 Message Date
wolfbeast
34f16bf61c Bug 1466991 - Part 1: Factor out ShouldUseXBLScope. 2019-02-16 00:13:22 +08:00
wolfbeast
44998d1f5b Bug 1472925 - Keep a strong reference to MediaStreamGraph from GraphDriver. 2019-02-16 00:13:21 +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
trav90
fb3d16e2db RTCCertificate.cpp: output truncated before the last format character
Fixes compiler warnings when building with GCC 7+
2019-02-16 00:12:49 +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
wolfbeast
e2e197cada Remove support for TLS session caches in TLSServerSocket.
This resolves #738
2019-02-16 00:12:22 +08:00
wolfbeast
a7ef78cf06 Add missing } 2019-02-16 00:12:06 +08:00
wolfbeast
4932cf3ea0 Add a horizontal scroll action option for mouse wheel.
Resolves #732
2019-02-16 00:12:03 +08:00
wolfbeast
9531d12c10 Re-implement custom background color of standalone images.
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.
2019-02-16 00:11:44 +08:00
trav90
bfdfd654bf memset only the underlying vector from the Array container 2019-02-16 00:11:32 +08:00
trav90
8fd121628a Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2) 2019-02-16 00:11:03 +08:00
trav90
a52bf9e82b Remove the const to fix the -Wignored-qualifiers warning with GCC 8 2019-02-16 00:10:59 +08:00
SpockMan02
d330e7e8fc Issue #686: Un-deprecate the Application Cache API 2019-02-16 00:10:43 +08:00
janekptacijarabaci
acb5d5839b Fixed misleading console error message for multiple CORS headers 2019-02-16 00:10:27 +08:00
janekptacijarabaci
43c36e207f Bug 1335296 - Expand about:support WebGL information 2019-02-16 00:10:19 +08:00
trav90
a20d2c6462 [EME] Add support for sbgp and sgpd boxes occuring in the sampletable 2019-02-16 00:10:03 +08:00
trav90
1ce79cb51e [EME] Add support for sbgp and sgpd boxes in the traf box 2019-02-16 00:10:01 +08:00
janekptacijarabaci
d75c4a5956 Bug 819475 - Make document.domain non-nullable 2019-02-16 00:09:14 +08:00
janekptacijarabaci
cbb7e5262c Bug 1351193 - Update tests 2019-02-16 00:09:13 +08:00
janekptacijarabaci
6e67c59787 Bug 1351193 - Added new DataTransfer constructor 2019-02-16 00:09:11 +08:00
janekptacijarabaci
8714f52f69 DOM - Element - add support for Element.toggleAttribute() 2019-02-16 00:08:52 +08:00
janekptacijarabaci
d57aa4fc94 Fix Build Bustage - with "--enable-debug" 2019-02-16 00:08:38 +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
wolfbeast
bdf323b915 Fix incorrect namespace use. 2019-02-16 00:08:25 +08:00
wolfbeast
49a6e3921a Switch from ShCompileOptions to int. 2019-02-16 00:08:23 +08:00
wolfbeast
33bbcf8110 Restore emulated functions for OS X 10.8/10.7 2019-02-16 00:08:22 +08:00
janekptacijarabaci
59321284d8 Add event.srcElement (the alias for event.target)
Issue #622
2019-02-16 00:08:17 +08:00
wolfbeast
9949bc6c34 Make the page visibility API pref-controlled.
This resolves #607.
2019-02-16 00:07:51 +08:00
janekptacijarabaci
8800e388b3 Bug 1331564 - XHR SyncTeardownRunnable must run also when the worker is in killing state 2019-02-16 00:07:47 +08:00
janekptacijarabaci
56c088c2d4 Bug 1298823 - Fix Request constructor - with "mode: navigate" 2019-02-16 00:07:45 +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
janekptacijarabaci
df880ae53f nsIContentPolicy::TYPE_DOCUMENT - Use "aLoadInfo->ContextForTopLevelLoad()" instead of "aLoadInfo->LoadingNode()"
Issue #600
2019-02-16 00:07:41 +08:00
wolfbeast
d37f6a30b3 Clamp resolution in PerformanceNavigationTiming. 2019-02-16 00:07:11 +08:00
Kyle Machulis
152f93be21 Bug 1436241 - Check redirect status code before forwarding to NPAPI. r=jimm, r=pauljt, a=jcristau
NPAPI may handle a 307 redirect across different origins, while they
should only happen on same origin requests. Have the browser check
this before forwarding to NPAPI.
2019-02-16 00:07:02 +08:00
Byron Campen [:bwc]
03766e63da Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM 2019-02-16 00:06:55 +08:00
Byron Campen [:bwc]
e659309611 Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM
WebRTC
2019-02-16 00:06:53 +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
550c8977c1 Issue #12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent. 2019-02-16 00:05:40 +08:00
NTD
673fb0b1b1 Cleanup WebExAM test dependencies 2019-02-16 00:05:26 +08:00
janekptacijarabaci
53c39834e6 Bug 1469150 - CSP: Scripts with valid nonce get blocked if URL redirects is fixed (follow up) 2019-02-16 00:04:37 +08:00
janekptacijarabaci
a6d927b167 Bug 1469150 - Tests added to check scripts with valid nonce is allowed if URL redirects (follow up) 2019-02-16 00:04:36 +08:00