Commit Graph

13 Commits

Author SHA1 Message Date
roytam1 f202c0e91f Merge remote-tracking branch 'origin/tracking' into custom 2026-01-07 23:11:51 +08:00
Moonchild ffd00e4056 Issue #2858 - keep type in line with definition.
Depending on target platform, `AddRef()` returns either `unsigned long` or
`uint32_t`. Make the resulting type match for better optimization.
2026-01-07 23:10:18 +08:00
Moonchild 99c3171426 Issue #2858 - Hack around the circular calls to nsPrincipal::Write()
This employs an ugly refcounting hack as a stop-gap measure. This isn't a
fix, but we avoid appcrashes in the meantime.
2026-01-07 23:10:03 +08:00
roytam1 9ad9a88955 caps: follow-up of rev b7098813 - enlarge CSP's RefCnt value limit to prevent crashing in multiple process mode. 2025-10-15 20:53:46 +08:00
roytam1 b709881389 caps: hack - check mCSP RefCount to avoid circular calls 2025-10-08 22:43:33 +08:00
Moonchild 9847e9f759 Issue #2736 - Part 13: Override page CSP for loads by expanded principals.
Per the CSP specification, content injected by extensions is meant to
be exempt from page CSP. This patch takes care of the most common case
of content injected by extension content scripts, which always have
expanded principals which inherit from the page principal.

To make this easier, de-virtualize BasePrincipal::Kind(), using CTOR
initializers instead.
2025-05-14 15:48:54 +08:00
Moonchild ff89fee91d Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup. 2024-11-21 21:09:05 +08:00
FranklinDM db3ce13f28 Issue #2084 - Part 1: Remove CSSUnprefixingService.js and associated code
It's effectively dead code since it's been supplanted by built-in webkit-prefixed-CSS support (landed before fork point in Firefox 49).

Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1259348
2023-01-10 07:37:30 +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
wolfbeast f472fe68d0 Stop building /caps unified and fix deprot.
Tag #80
2019-07-19 10:01:11 +08:00
wolfbeast f85bb5c221 Origin for about: URL should not contain query or ref parts. 2019-02-16 00:18:17 +08:00
janekptacijarabaci 1505b1290e The origin should not contain the ref part of the URL 2019-02-15 23:35:23 +08:00
roytam1 dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00