Commit Graph

17 Commits

Author SHA1 Message Date
roytam1 e63613265e ported from UXP: [DOM] Clean up ReportLoadError and normalize error messages. (22830d18) 2024-05-22 15:39:41 +08:00
roytam1 1e9ebad9e0 ported from UXP: Issue #2402 - CSP Violation events should have the correct sample for inline contexts. https://bugzilla.mozilla.org/show_bug.cgi?id=1473587 Add preference to increase max length of CSP report source sample. https://bugzilla.mozilla.org/show_bug.cgi?id=1415352 Return valid columnNumber value in CSP violation events. https://bugzilla.mozilla.org/show_bug.cgi?id=1418246 (5b068f37) 2024-01-11 14:55:32 +08:00
roytam1 0b800ef78a ported from UXP: Issue #2402 - Workers.setTimeout/setInterval must handle CSP rejections. https://bugzilla.mozilla.org/show_bug.cgi?id=1490165 Has some namespace issues adding the files, so differs slightly. (e74612e2) 2024-01-11 11:17:48 +08:00
roytam1 8083aed307 ported from UXP: Issue #2402 - Require ServiceWorkerGlobalScope.importScripts() to only accept JavaScript MIME types. https://bugzilla.mozilla.org/show_bug.cgi?id=1354577 Require ServiceWorkerContainer.register() to only accept JavaScript MIME types. (b7abd4a1) 2024-01-11 10:59:29 +08:00
roytam1 35e21b5369 import from UXP: 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. (69794417) 2024-01-11 10:57:05 +08:00
roytam1 a32b138825 ported from UXP: Issue #2402 - Move WorkerPrivate::SetPrincipal() logic into a WorkerLoadInfo method. https://bugzilla.mozilla.org/show_bug.cgi?id=1333573 Make worker SetPrincipalOnMainThread fallible. https://bugzilla.mozilla.org/show_bug.cgi?id=1338523 (f8a174e1) 2024-01-11 10:49:36 +08:00
roytam1 b9a78efdb1 import from UXP: Issue #2402 - Persist response headers for offlined service worker scripts. https://bugzilla.mozilla.org/show_bug.cgi?id=1337543 (b723bb60) 2024-01-11 10:33:13 +08:00
roytam1 8c6e548ff6 import from UXP: Issue #2402 - Apply CSP headers to ServiceWorker when loading offlined script. https://bugzilla.mozilla.org/show_bug.cgi?id=1337543 (15875f3d) 2024-01-11 10:30:02 +08:00
roytam1 9e77293e3b ported from UXP: Issue #2402 - Factor out code to set WorkerPrivate CSP from headers. https://bugzilla.mozilla.org/show_bug.cgi?id=1337543 (37d4df19) 2024-01-11 10:29:21 +08:00
roytam1 bb249e10af import from UXP: Issue #2402 - Improve ServiceWorker asserts and verify load principal does not inherit CSP. https://bugzilla.mozilla.org/show_bug.cgi?id=1337543 (971fc4b8) 2024-01-11 10:25:00 +08:00
roytam1 2a63ffbdfc import from UXP: 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 (842b9d47) 2023-10-05 09:52:09 +08:00
roytam1 a1fa77b368 ported from UXP: Issue #1587 Part 11 (followup 1): Implement multithreaded signals for workers. (1ae64317) 2022-04-15 13:23:47 +08:00
roytam1 b80c8a551b ported from UXP: Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement (f85b274e) 2022-04-15 11:43:57 +08:00
roytam1 3b470745e0 partly import changes from tenfourfox:
- #654: M1739957 M1740985+backbugs M1742421, update HSTS, TLDs (861ae8f62)
2022-02-25 11:50:13 +08:00
roytam1 dc9b9d596b import changes from tenfourfox:
- #614: M1642792 M1650811 M1634872 (9e33379e7)
- #614: update TLDs, HSTS (fee8edf77)
2020-08-01 07:59:18 +08:00
roytam1 1786a387c3 cherry-picked mozilla upstream changes:
bug1357022, bug1364513, bug1366203, bug1344034, bug1375708, bug1322896, bug1370869, bug1354796, bug1364189, bug1342417, bug1369386, bug1353312, bug1364870, bug1365333, bug1372063, bug1373970, bug1374148, bug1338646, bug1359477, bug1375198, bug1355168, bug1308820, bug1305036, bug1371259
2018-06-19 22:25:06 +08:00
roytam1 89ff1ebc22 Initial import from https://github.com/MoonchildProductions/moebius/commit/16fa730b3332a750e047aac26ebe65ea8c513849 2018-03-03 17:47:54 +08:00