roytam1
904406a497
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-20 21:13:46 +08:00
Moonchild
139e7a7ac6
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-20 21:12:18 +08:00
Moonchild
7d978ccd71
Issue #2641 - Update Fetch to adhere to the updated spec (pass refpolicy)
...
Resolves #2641
2024-10-24 07:37:31 +08:00
roytam1
97fb5d7f9b
ported from mozilla: Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. (763507de3e)
2024-10-03 07:35:53 +08:00
roytam1
80c4f1d745
Merge remote-tracking branch 'origin/tracking' into custom
2024-01-11 09:52:46 +08:00
Brian Smith
5202c08cfb
Issue #2402 - Don't call WorkerPrivate::WorkerName() to get service worker scope. https://bugzilla.mozilla.org/show_bug.cgi?id=1350433
2024-01-11 09:46:06 +08:00
Brian Smith
6979441734
Issue #2402 - importScripts should be governed by script-src in Web Workers. https://bugzilla.mozilla.org/show_bug.cgi?id=1322111 Add TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS content policy. Update the Cache API schema to account for new nsIContentPolicy type.
2024-01-11 09:45:52 +08:00
Brian Smith
14f0bc5e7c
Issue #2402 - Move code to fill InternalHeaders from an nsIChannel response into utility method. https://bugzilla.mozilla.org/show_bug.cgi?id=1337543
2024-01-11 09:45:02 +08:00
roytam1
a55674f653
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-04 10:06:04 +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
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
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
roytam1
beb68187e5
Merge remote-tracking branch 'origin/tracking' into custom
2023-04-30 21:26:08 +08:00
FranklinDM
62e2fbc4e9
Bug 1432272 - Make Fetch API use the global's base URL instead of the entry document's base URL
2023-04-30 21:23:32 +08:00
roytam1
de0b4ac202
Merge remote-tracking branch 'origin/tracking' into custom
2022-11-25 11:46:08 +08:00
Moonchild
37f0199c79
[Network, DOM] Align our implementation with the current CORS/Fetch spec.
2022-11-25 11:41:52 +08:00
roytam1
f9dc0e6d15
Merge remote-tracking branch 'origin/tracking' into custom
2022-11-10 14:55:46 +08:00
Moonchild
211b7cf219
Issue #2024 - Part 1: Add wildcard to Access-Control-Expose-Headers
...
For requests without credentials, add wildcard to Access-Control-Expose-Headers.
2022-11-10 14:54:33 +08:00
roytam1
92cf687331
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-09 10:31:15 +08:00
Moonchild
60e4e33442
Issue #80 - Re-unify most of DOM
2022-09-09 10:09:40 +08:00
roytam1
fee810585e
Merge remote-tracking branch 'origin/tracking' into custom
2022-05-22 06:47:30 +08:00
Moonchild
62a140ab80
Bug 1679987 - Remove unused includes of nsCharSeparatedTokenizer.h.
2022-05-22 06:46:06 +08:00
roytam1
30e8509fd2
ported from esr91: Bug 1761026 - Add a null check for FetchDriver::mResponse, r=necko-reviewers,dragana a=dmeehan (3b54d6b5)
2022-04-11 23:50:02 +08:00
Moonchild
078536b2bb
[DOM Fetch] Detect broken pipes and propagate that write error to the caller.
2020-10-23 10:05:55 +08:00
Moonchild
962a17acb7
[DOM Fetch] Improve stability of Fetch API.
2020-10-23 10:05:53 +08:00
Moonchild
0cd673d720
Issue #1656 - Part 6: Clean up the build files
2020-09-25 22:04:23 +08:00
Moonchild
ed7e49eda6
Issue #1656 - Part 2: Unmangle some unfortunate UTF-8 victims.
...
The poor fellows got lost in an ASCII-interpretation of the world.
2020-09-25 22:04:14 +08:00
Moonchild
8c395520d9
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
...
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Moonchild
078fea47aa
Fix line endings.
2020-07-31 08:05:47 +08:00
Moonchild
70bf74e9d3
Issue #1587 Part 12 (followup 2): Allow clearing of signal by setting to null.
2020-07-31 08:05:44 +08:00
Moonchild
1ae6431766
Issue #1587 Part 11 (followup 1): Implement multithreaded signals for workers.
2020-07-31 08:05:40 +08:00
Moonchild
3d396386dc
Issue #1587 - Part 9: Immediately reject an already-aborted signal
2020-06-12 22:12:37 +08:00