Basilisk-Dev
6fdb3ac961
No Issue - Remove deprecation errors for obsolete RTCOfferOptions
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1197021
2023-10-05 10:30:23 +08:00
Brian Smith
f21cc50c03
Issue #1442 - Part 26 - FetchStreamReader needs to cancel its reader when it encounters write errors. https://bugzilla.mozilla.org/show_bug.cgi?id=1416879 Part 5 Also same fix as in Part 24 for FetchStream but in FetchStreamReader.
2023-10-04 10:05:30 +08:00
Brian Smith
04c9d661fa
Issue #1442 - Part 25b - Second try that hopefully doesn't break Windows.
2023-10-04 10:05:07 +08:00
Brian Smith
52572d5755
Issue #1442 - Part 25 - Fix bustage on X11 platforms.
2023-10-04 10:04:45 +08:00
Brian Smith
f3991f9821
Issue #1442 - Part 24 - Prevent FetchStream from incorrectly running on the main thread. This prevents a deadlock and JSContext related crashes, however this should eventually be replaced by an EventTargetFor() call when the Dispatcher API is implemented. Also now that ReadableStream appears stable, toggle the preferences true by default.
2023-10-04 10:04:23 +08:00
Brian Smith
836d36dc6d
Issue #1442 - Part 23 - Align FetchStream with Firefox 68ESR. https://bugzilla.mozilla.org/show_bug.cgi?id=1612308 https://bugzilla.mozilla.org/show_bug.cgi?id=1445587 Partial part 2 implementing synchronization changes.
2023-10-04 10:04:05 +08:00
Brian Smith
375d7cf3b2
Issue #1442 - Part 21 - Fix debug builds by removing an invalid assert.
2023-10-04 10:03:34 +08:00
Brian Smith
b1a12de924
Issue #1442 - Part 20 - FetchStream should not have an extra JS::Heap<ReadableStream>. https://bugzilla.mozilla.org/show_bug.cgi?id=1390717
2023-10-04 10:03:16 +08:00
Brian Smith
0e1efcb273
Issue #1442 - Part 19 - FetchStream must support multiple read requests. https://bugzilla.mozilla.org/show_bug.cgi?id=1395220
2023-10-04 10:02:54 +08:00
Brian Smith
b898780bb1
Issue #1442 - Part 18 - Cycle collect FetchStreamReader. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 10:02:39 +08:00
Brian Smith
e22845913d
Issue #1442 - Part 17 - Creating FetchStream as a out param in order to avoid JS hazards https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 10:02:25 +08:00
Brian Smith
529bc13f05
Issue #1442 - Part 16 - Report stream errors during consumption. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 10:02:10 +08:00
Brian Smith
b124e54fc7
Issue #1442 - Part 15 - Setting the correct global when ReadableStream.getReader() is called. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 10:01:49 +08:00
Brian Smith
842b9d47b3
Issue #1442 - Part 14 - Starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 10:01:32 +08:00
Brian Smith
ef550b2579
Issue #1442 - Part 13 - Implement FetchStreamReader. https://bugzilla.mozilla.org/show_bug.cgi?id=1329298
2023-10-04 10:01:12 +08:00
Brian Smith
0b450a3def
Issue #1442 - Part 12b - Allow idle worker shutdown while Cache/CacheStorage DOM objects exist, but block it during Cache operation. https://bugzilla.mozilla.org/show_bug.cgi?id=1362444 Pre-requisite for Part 13.
2023-10-04 10:00:58 +08:00
Brian Smith
41216b88f6
Issue #1442 - Part 12a - Allow idle worker shutdown to begin for an opt-in WorkerHolder mode. https://bugzilla.mozilla.org/show_bug.cgi?id=1362444 Pre-requisite for Part 13.
2023-10-04 10:00:42 +08:00
Brian Smith
346e8a87d7
Issue #1442 - Part 12 - Label FetchBody. https://bugzilla.mozilla.org/show_bug.cgi?id=1363318 FetchSignal is not in our tree so this is a partial patch to get mOwner changes. Pre-requisite for Part 13.
2023-10-04 10:00:26 +08:00
Brian Smith
a8a75090c0
Issue #1442 - Part 11 - Response.body handling. https://bugzilla.mozilla.org/show_bug.cgi?id=1329298 Use BufferSource in webIDL. https://bugzilla.mozilla.org/show_bug.cgi?id=1337722
2023-10-04 09:59:53 +08:00
Brian Smith
772ab8ac41
Issue #1442 - Part 10c - Use application/octet-stream for arrayBuffer in sendBeacon. https://bugzilla.mozilla.org/show_bug.cgi?id=1329298 Pre-requisite for Part 11.
2023-10-04 09:59:30 +08:00
Brian Smith
a9520b2a7a
Issue #1442 - Part 10b - Use nsIXHRSendable instead Blob/FormData/URLSearchParams. https://bugzilla.mozilla.org/show_bug.cgi?id=1329298 Pre-requisite for Part 11.
2023-10-04 09:57:57 +08:00
Brian Smith
a4146b60a4
Issue #1442 - Part 10a - Unify body extraction in Fetch/Beacon/XHR. https://bugzilla.mozilla.org/show_bug.cgi?id=1329298 Pre-requisite for Part 11.
2023-10-04 09:57:38 +08:00
Brian Smith
3979e4847c
Issue #1442 - Part 9: Stream shutdown handling. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 09:55:24 +08:00
Brian Smith
bff1f3bc60
Issue #1442 - Part 8: Fetch implementation of streams. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959 +worker-friendly pref checking for the DOM API.
2023-10-04 09:55:06 +08:00
Brian Smith
dd2c9eb418
Issue #1442 - Part 7: Use of ReadableStream in WebIDL files. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 09:54:45 +08:00
Brian Smith
4c5775b621
Issue #1442 - Part 6: binding codegen naming alignment for Streams. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 09:54:21 +08:00
Brian Smith
0701dccaca
Issue #1442 - Part 5: Implement WebIDL bindings for Streams. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 09:54:00 +08:00
Brian Smith
62467428a3
Issue #1442 - Part 2: Add a run-time preference for toggling the streams API. https://bugzilla.mozilla.org/show_bug.cgi?id=1272697
2023-10-04 09:53:12 +08:00
Moonchild
2ca5715149
Issue #2323 - Part 3: Exclude chrome workers from worker timer clamping.
2023-10-03 22:04:09 +08:00
Moonchild
1b7df316c4
Issue #2323 - Part 2: Implement timer nesting and clamping for workers.
2023-10-03 22:03:54 +08:00
Martok
e0e1542913
Issue #2321 - Fall back to 0 if setInterval interval not supplied
2023-10-03 22:03:18 +08:00
trav90
12f9121047
Issue #2311 - Part 5 - Only load function pointer in FFTBlock once
2023-09-26 16:32:57 +08:00
trav90
1ae2b21c0d
Issue #2311 - Part 4 - Use FFTBlock from ffvpx instead of libav
2023-09-26 16:32:35 +08:00
trav90
0e796b1dcd
Issue #2311 - Part 3 - Add accessor for ffvpx real DFT functions
2023-09-26 16:27:19 +08:00
trav90
289020a670
Issue #2311 - Part 2 - Link ffmpeg real DFT functions
2023-09-26 16:26:56 +08:00
Moonchild
50a4412750
Issue #2307 - Part 3: Remove SIMD.js support
...
This gets rid of the SIMD-specific scalar types in JS.
This considerably deviates from Mozilla's work because of our divergent
path.
2023-09-22 09:56:35 +08:00
Brian Smith
470af6ba50
Issue #2282 - Performance observer safety checks. Both fixes from later revisions, without the Dispatch API changes.
2023-09-20 09:28:26 +08:00
Matheus Marinho
9e7d1492e6
Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC
...
Co-authored-by: Moonchild <moonchild@palemoon.org>
2023-09-14 10:22:47 +08:00
Moonchild
57020c1f59
[DOM] Follow-up: fix refcounting in FilePickerParent.
2023-09-08 08:00:30 +08:00
Moonchild
0359d8a9e7
[DOM] Make IORunnable::mFilePickerParent into a RefPtr.
2023-08-31 22:42:46 +08:00
Moonchild
850464c616
[DOM] Deny web notifications if principal can't resolve.
2023-08-31 22:41:46 +08:00
Brian Smith
42b2de6fe9
Issue #2285 - Ensure we don't try to treat non-DOM-Node event targets as such, https://bugzilla.mozilla.org/show_bug.cgi?id=1440809 Fix crash on https://beeper.notion.site
2023-08-08 09:43:09 +08:00
Brian Smith
6464b061c3
Issue #2026 - Follow-up: Support Big(U)Int64Array in crypto.getRandomValues. https://bugzilla.mozilla.org/show_bug.cgi?id=1718932
2023-08-08 09:42:55 +08:00
Brian Smith
dd4c0a44b6
Issue #2282 - - Properly implement Performance Timeline Level 2 w3c spec. https://bugzilla.mozilla.org/show_bug.cgi?id=1539006 Do not throw from PerformanceObserver.observe when none of the entryTypes are known. https://bugzilla.mozilla.org/show_bug.cgi?id=1403027 Implement PerformanceObserver::takeRecords(). https://bugzilla.mozilla.org/show_bug.cgi?id=1436692 "server" is not a valid PerformanceEntry type. https://bugzilla.mozilla.org/show_bug.cgi?id=1463065 Fix a null ptr crash in PerformanceObserver::Observe. https://bugzilla.mozilla.org/show_bug.cgi?id=1631346
2023-08-08 09:42:31 +08:00
Brian Smith
dc23241afb
Issue #1240 - Part 4 - Implement parser support for BigInt literals. https://bugzilla.mozilla.org/show_bug.cgi?id=1505849 Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1456568 Un-result-ified the BigInt XDR code, so we can enable it. https://bugzilla.mozilla.org/show_bug.cgi?id=1419094 Uninitialised memory read with BigInt right-shift https://bugzilla.mozilla.org/show_bug.cgi?id=1679003
2023-07-25 09:09:57 +08:00
Brian Smith
07b6c03dc7
Issue #1240 - Part 3c - Fast-forward to the V8 version of BigIntType. Disabling some sections temporarily since the dependencies are not there yet. Based on the following: https://bugzilla.mozilla.org/show_bug.cgi?id=1502797 https://bugzilla.mozilla.org/show_bug.cgi?id=1471134 https://bugzilla.mozilla.org/show_bug.cgi?id=1441098 Part 3 & 4 Add structured clone support for BigInt and Enable BigInt wrapping from DOM bindings. https://bugzilla.mozilla.org/show_bug.cgi?id=1522738
2023-07-25 09:09:18 +08:00
Brian Smith
1f5eaee101
Issue #2255 - Use Maybe<> in the Performance API.
2023-07-14 10:19:49 +08:00
Moonchild
a299eaa965
[DOM] Filter out symlinks for webkitdirectory.
...
This is effectively a back-out of the following patches from Bug 1274959
except we add comments and test coverage:
- Part 1 which made the DirectoryListingTask include symlinks in the
results as exposed by Directory.getFilesAndDirectories.
- Part 3 which made GetFilesHelper include symlinks in the results.
Test coverage for getFilesAndDirectories is provided by
dom/filesystem/tests/test_basic.html by way of changes to its included
file dom/filesystem/tests/filesystem_commons.js and changes to the
createTreeFile helper in dom/filesystem/tests/script_fileList.js.
Test coverage for GetFilesHelper is provided by
dom/filesystem/tests/test_webkitdirectory.html and changes to the
createTestFile helper in dom/filesystem/tests/script_fileList.js.
Commenting out either of the `isLink` test in the relevant C++ code will
cause the given tests to fail on non-windows platforms.
2023-07-06 10:37:32 +08:00
Brian Smith
106de86dc4
Issue #2252 - Prevent crash when attempting to load a script with execution disallowed. This issue is due to the ExecutionContext added in Issue #1691 not handling GetScript() in a context where script execution is not allowed. This expressed itself in crashes when playing MP4s with the NoScript extension installed and enabled.
2023-05-24 09:02:56 +08:00
FranklinDM
adaf6c3221
Issue #1592 - Follow-up: Ensure topmost scope marker is cleaned up
2023-05-24 09:02:40 +08:00