roytam1
7173daa457
ported from UXP: Issue #2728 - Remove obsolete CSP referrer policy. (0331e633)
2025-04-30 23:26:26 +08:00
roytam1
e02222cb40
import from UXP: Issue #2466 - Part 3: Implement style-src-elem and style-src-attr (721ded9b)
2024-02-08 15:16:54 +08:00
roytam1
2c3a6cbb2f
ported from UXP: Issue #2466 - Part 2: Implement script-src-elem and script-src-attr (ff01a35b)
2024-02-08 15:13:18 +08:00
roytam1
992c730480
ported from UXP: Issue #2466 - Part 1: Reduce nsContentPolicy type usage. (4ea2206c)
2024-02-08 15:04:27 +08:00
roytam1
af8799d6b1
csp: move some defines and helper functions to nsCSPUtils.h, fix some deprots.
2024-01-11 14:42:02 +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
40ac436451
import from UXP: Issue #2402 - Fix SecurityPolicyViolationEvent.violatedDirective. https://bugzilla.mozilla.org/show_bug.cgi?id=1418243 (1e085115)
2024-01-11 10:16:54 +08:00
roytam1
039754ef34
ported from UXP: Issue #2402 - Ignore empty CSP directives. https://bugzilla.mozilla.org/show_bug.cgi?id=1439425 (bfabbcd3)
2024-01-11 10:02:10 +08:00
roytam1
7b90981ae4
import from UXP: [CSP] Allow not having a Port for RessourceURI if the Scheme has no Default Port (2537698c)
2022-04-08 16:22:20 +08:00
roytam1
ce5a57e580
import from UXP: Add checks to respect CSP-wildcard + Ports. (3f25eeef)
2022-04-05 15:35:04 +08:00
roytam1
04045e72b7
import from UXP:
...
- Bug 1398229 - Save-link-as feature should use the loading principal - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD (97c6ecff)
- Bug 1398229 - Save-link-as feature should use the loading principal - context menu using nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD (5f66b032)
- Bug 1430758 - No CSP directive for nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD (9578e970)
- Remove a comment in nsContextMenu.js (2e3999cd)
- Rewrite uuid for ContentPolicy (d4bba670)
- Added Ci.nsIContentPolicy.TYPE_SAVEAS_DOWNLOAD to next files (d180a351)
- nsIContentPolicy: Their order (in nsIContentPolicyBase.idl) must be retained in nsContentBlocker.cpp (0fac4df8)
- nsIContentPolicy: Numbers should not be omitted in nsIContentPolicyBase.idl, rewrite uuid (65c35bbe)
2022-03-25 14:00:41 +08:00
roytam1
132f6f863b
import changes from tenfourfox:
...
- #600 : M1628076 M1632241 M1595886 M1614468 (5bb1c7648)
- #600 : M1588248 M1614704 (03e03bd13)
- #600 : new tzdata, tzdata updater (2d99b19d7)
- #600 : update TLDs, HSTS (7ec5e3396)
- #602 : CSP semantics update, fix wss: access (5785a7c36)
- #601 : empty img behaviour M1196668 M1616537 M1506592 (see also M1549742) (a7f14df01)
- #603 : M1347489 (17da05f15)
- #605 : update HSTS, TLDs (a7d2c071d)
- #605 : M1632908 (subparts M1631576 M1608895 only) (0d0dc62a8)
- #605 : update HSTS, TLDs (8304421b7)
2020-06-06 12:01:19 +08:00
roytam1
89ff1ebc22
Initial import from https://github.com/MoonchildProductions/moebius/commit/16fa730b3332a750e047aac26ebe65ea8c513849
2018-03-03 17:47:54 +08:00