gecko-dev/dom/security
Kris Maglione 0b1a146519 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

Differential Revision: https://phabricator.services.mozilla.com/D53744

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:36 +00:00
..
featurepolicy Bug 1483631 - Prompt with both first party and third party origin if we are delegating permission with allows all feature policy. r=baku 2019-12-04 15:39:26 +00:00
fuzztest Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb 2019-07-08 16:37:45 +00:00
test Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8 2019-12-13 20:36:36 +00:00
CSPEvalChecker.cpp Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky 2019-12-05 04:44:32 +00:00
CSPEvalChecker.h
DOMSecurityManager.cpp Bug 1599843 - DOMSecurityManager::EnforeXFrameOptionsCheck is infallible. r=baku 2019-11-27 20:51:37 +00:00
DOMSecurityManager.h Bug 1599843 - DOMSecurityManager::EnforeXFrameOptionsCheck is infallible. r=baku 2019-11-27 20:51:37 +00:00
FramingChecker.cpp Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky 2019-12-05 04:44:32 +00:00
FramingChecker.h No bug - minor non-unified build fixes. 2019-12-08 19:51:44 +00:00
moz.build Bug 1584993: Make CSP frame-ancestors work with fission enabled. r=jkt,farre,valentin 2019-10-22 10:57:43 +00:00
nsContentSecurityManager.cpp Bug 1602090 part 2. Create separate CheckMayLoad and CheckMayLoadWithReporting APIs. r=ckerschb 2019-12-13 06:24:12 +00:00
nsContentSecurityManager.h Bug 1543579 - Disallow SystemPrincipal for Remote documents on all channels r=ckerschb,tjr 2019-12-02 10:45:23 +00:00
nsContentSecurityUtils.cpp Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky 2019-12-11 06:17:44 +00:00
nsContentSecurityUtils.h Bug 1582512 - Record a Telemetry Event if we receive a request to load a script filename we aren't expecting r=chutten 2019-12-02 17:27:16 +00:00
nsCSPContext.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsCSPContext.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsCSPParser.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsCSPParser.h Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
nsCSPService.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsCSPService.h Bug 1583076 - Make nsCSPService::ConsultCSPForRedirect return both the AsyncOnChannelRedirect result, as well as an optional result to cancel the old channel with. r=ckerschb 2019-09-25 08:25:22 +00:00
nsCSPUtils.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsCSPUtils.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsMixedContentBlocker.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsMixedContentBlocker.h Bug 1376309 - Allow localhost ws:// connections from secure origins. r=jkt 2019-08-07 00:19:59 +00:00
PolicyTokenizer.cpp
PolicyTokenizer.h
ReferrerInfo.cpp Bug 1600051 - Refactor GetURI usage in ReferrerInfo.cpp r=ckerschb 2019-12-06 12:32:27 +00:00
ReferrerInfo.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
SRICheck.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
SRICheck.h
SRILogHelper.h
SRIMetadata.cpp
SRIMetadata.h