Commit graph

1,056 commits

Author SHA1 Message Date
Brian Smith
b14a145be6 Issue #1990 - Part 6 - Fix for infinite loop from Release() on shutdown worker. If the worker is shut down, call Cancel() on the Runnable, this will prevent nsInputStreamReadyEvents to be called again when deallocated. 2022-09-02 11:00:19 +08:00
Brian Smith
5fd53649bd Issue #1990 - Part 5 - Common up the skippability implementations that are basically copy/pastes of the DOMEventTargetHelper one. Mozilla Bug Bug 1333540. Skipped the renamed of various functions, but otherwise a direct port. 2022-09-02 11:00:06 +08:00
Brian Smith
9f945d160d Issue #1990 - Part 4 - Add a number of Mozilla patches from between Part 1 and 2. 1334081 - prevent null pointer dereference in StreamReaderFunc. 1330631 - Convert the EventSourceImpl::Message to be UniquePtr. 1337619 - Reset mGoingToDispatchAllMessages flag before early return. 2022-09-02 10:59:52 +08:00
Brian Smith
70fbdd82b8 Issue #1990 - Part 3 - Fix build issue due to missing nsIThreadRetargetableStreamListener definition. 2022-09-02 10:59:31 +08:00
Brian Smith
ee996121aa Issue #1990 - Part 2 - Fix crash when incorrectly access EventSourceImpl::mEventSource. - Mozilla Bug 1333099 2022-09-02 10:59:17 +08:00
Brian Smith
e27289d569 Issue #1990 - Part 1 - EventSource for workers - Mozilla Bug 1267903 2022-09-02 10:59:03 +08:00
Moonchild
a83111160f Issue #1956 - Fix C++ code standard conformance issue in webaudio 2022-09-01 10:19:09 +08:00
Basilisk-Dev
b4c5ebf00a Issue #1991 - backport Mozilla bug 1266667 2022-09-01 10:18:39 +08:00
Basilisk-Dev
536099d86b Issue #1991 - Remove console log stating TURNS is not supported Port of Mozilla bug 1383575 2022-09-01 10:18:25 +08:00
Basilisk-Dev
2dc4713d14 Issue #1991 - Support TURN TLS Support in WebRTC Backport of Mozilla bug 1056934 2022-09-01 10:18:07 +08:00
Job Bautista
b3e43f41a8 Issue #1980 - Fix build bustage for applications where WebRTC building is enabled.
Turns out we have a duplicate VoidFunction callback in the WebIDLs. Per
 Mozilla bug 1324169, we should remove this callback from
 RTCPeerConnection.webidl and let Function.webidl handle it instead.
The AttributeError faced by the new Basilisk dev wasn't helpful at all;
 and turns out Mozilla had this exact same issue on bug 1505504. We're
 also backporting that just in case we encounter another case of
 callback duplication.
Also doing a minor fix in the MicroTaskRunnable class which Moonchild
 forgot to do while working on Issue #1895.
2022-08-04 14:26:21 +08:00
Job Bautista
0c5c349ca6 Issue #1977 - Bring back old behavior behind a pref.
I've thought about this before creating the issue, and Moonchild
 wanted this as well.
2022-08-04 14:26:01 +08:00
Job Bautista
707d744219 Issue #1977 - Allow WAV into media document.
Based on https://hg.mozilla.org/integration/mozilla-inbound/rev/b3f7abd15aeb
2022-08-04 14:25:48 +08:00
Moonchild
bf58945866 [DOM] Add extra check for performance API Next Hop protocol 2022-07-30 08:43:44 +08:00
Jeremy Andrews
d50a7a5394 Issue #1956 - Fix symbol visibility issue more elegantly.
All it needed was __declspec(dllexport) on the function I was copy/pasting all over the place...
2022-07-15 08:53:16 +08:00
Moonchild
8831656c85 Issue #1959 - Don't apply CSPs to explicit data documents and images.
This resolves #1959
2022-07-15 08:50:41 +08:00
Moonchild
c0429c9a0f [DOM] use the sanitizer to restrict href in svg:use to fragment-only URLs 2022-07-05 17:25:00 +08:00
Moonchild
6066cc36cd [DOM media] Remove potentially unsafe type accesses when debug logging 2022-07-05 17:20:51 +08:00
Martok
85af7f6e80 Issue #1952 - m-c 1383775: Clean up function toString/toSource code, remove remnants of source decompiler 2022-07-03 06:55:19 +08:00
Moonchild
c43ed8d93e Issue #21 - Follow-up: Remove some left-over telemetry plumbing. 2022-06-27 21:48:09 +08:00
Brian Smith
95f1786bb4 Issue #1905 - Part 4c - Follow Firefox and Safari in reporting "Intel" for Mac ARM64 devices. Based on Mozilla bug 1655285. 2022-06-22 09:00:31 +08:00
Brian Smith
7e63a3f440 Issue #1905 - Part 4b - Fix issue loading the profile and saving changes to the profile. Based on the following Mozilla bugs: 1659904, 1659905 and 1659077. 2022-06-22 08:55:22 +08:00
Moonchild
9fa9622d5b [DOM] Clip image data transfers. 2022-06-02 10:11:38 +08:00
Moonchild
3bcd2ee360 [DOM] Don't allow internal MIME types to be assigned to DataTransfer
We already blocked x-moz-file(-promise) and x-moz-place* but of course people
would find ways to abuse other internal types. This change now blocks everything
except x-moz-url types which are harmless. (i.e. whitelist instead of blacklist)
2022-05-31 09:41:43 +08:00
Jeremy Andrews
e632fc1e8c Issue #1742 - Part 4: Don't trigger read barriers when comparing wrapped pointers types
This is actually an undocumented dependency of Bug 1325406 for Linux and
SunOS.

Ref: BZ 1308236
2022-05-31 09:12:45 +08:00
Moonchild
80d7d43961 Issue #1742 - Part 1: Refactor rooting base class templates
Based on Bug 1325406
2022-05-31 09:12:19 +08:00
trav90
5c61382dac Issue #457 - Silence some GCC compiler warnings in FFmpeg code 2022-05-22 06:47:01 +08:00
Moonchild
62a140ab80 Bug 1679987 - Remove unused includes of nsCharSeparatedTokenizer.h. 2022-05-22 06:46:06 +08:00
Moonchild
28821219dd Bug 1761981 2022-05-05 10:43:52 +08:00
Moonchild
50965fb223 No issue - Align our resource timing with the updated Fetch spec.
This makes FetchStart use StartTime() when the TAO check fails for
PerformanceResourceTiming

Given the recent Fetch spec updates, Step 8.1 in
https://fetch.spec.whatwg.org/#finalize-and-report-timing specifies that start
time(StartTime) and post-redirect start time(FetchStart) should be start time
when the TAO check fails.
2022-05-05 09:10:09 +08:00
Moonchild
009fb3146f Issue #1820 - Part 8: Check bit depth in PDM::Supports. 2022-05-04 10:06:02 +08:00
Moonchild
c8637cc239 Issue #1820 - Part 7: Check bit depth in WebMDecoder to determine if we support HDR. 2022-05-04 10:05:58 +08:00
Moonchild
14f0f80cd1 Issue #1820 - Part 6: Extract bit depth information from codec parameter string into VideoInfo::mBitDepth. 2022-05-04 10:05:22 +08:00
Moonchild
a4e69db6a4 Issue #1820 - Part 5: Add mBitDepth field to VideoInfo. 2022-05-04 10:05:12 +08:00
Moonchild
3eafe55b6e Issue #1820 - Part 4: Add a gtest for testing the extraction function. 2022-05-04 10:05:00 +08:00
Moonchild
b272509dc3 Issue #1820 - Part 3: Use Codec detail extractor helper to tell if it's a new style VP8/VP9 codec string. 2022-05-04 10:04:54 +08:00
Moonchild
648430c9f1 Issue #1820 - Part 2: Add VP9-in-MP4 support to the decoder
This also adds support in StageFright for VP9.0 FourCCs and consolidates
individual string checks to helpers for WebM
2022-05-04 10:04:49 +08:00
Moonchild
55504b39bf Issue #1820 - Part 1 : Add an extraction function to parse the RFC-6381 VP9 codec string. 2022-05-04 10:04:32 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
FranklinDM
cee60fb824 Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement
This reverts part 2 of Bug 968923 since this was only modified to accommodate use counters.
2022-04-28 10:43:45 +08:00
FranklinDM
8a7587b401 Issue #21 - Remove use counters telemetry
This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?)

For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
2022-04-28 10:43:09 +08:00
Moonchild
d562709920 Issue #21 - Remove calls to Services.telemetry and nsITelemetry
These calls would cause breakage without the supporting plumbing.
2022-04-28 10:38:12 +08:00
Moonchild
2564be2d79 Issue #21 - Remove Telemetry from Accessibility, EME and WebRTC. 2022-04-28 10:29:53 +08:00
Moonchild
69ebaa5450 Issue #21 - Remove Telemetry from Push and devtools. 2022-04-28 10:28:01 +08:00
Moonchild
8d800b1cb0 Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
roytam1
92a1cc3139 Revert "Issue #21 - Remove use counters telemetry"
This reverts commit 8ca9db6b65.
2022-04-27 16:25:00 +08:00
roytam1
bebaa470c6 Revert "Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement"
This reverts commit e5962d9f4c.
2022-04-27 16:24:56 +08:00
Moonchild
4dace76a04 Issue #1885 - Follow-up: Update error message if invalid rootMargin specified. 2022-04-27 16:15:55 +08:00
FranklinDM
e5962d9f4c Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement
This reverts part 2 of Bug 968923 since this was only modified to accommodate use counters.
2022-04-27 16:15:50 +08:00
FranklinDM
8ca9db6b65 Issue #21 - Remove use counters telemetry
This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?)

For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
2022-04-27 16:15:31 +08:00