gecko-dev/caps
Nika Layzell b3f3e9a04a Bug 1892481 - More consistently enforce noscript and builtinclass in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,mccr8,padenot
These properties were previously being checked much later, during xptcodegen,
and causing methods to be treated as noscript implicitly.

This change enforces the noscript requirements earlier when possible in
xpidl.py, to produce better errors, and adds addiitonal checks to ensure that
types which need to be builtinclass are marked as such.

This required some changes to interfaces in order to satisfy the new checks.

Differential Revision: https://phabricator.services.mozilla.com/D207804
2024-04-22 18:19:58 +00:00
..
tests Bug 1883860 - nsDocShell::HandleSameDocumentNavigation() cause crash in SetDocumentURI, r=smaug 2024-03-22 12:27:38 +00:00
BasePrincipal.cpp Bug 1770944 - Remove `isInIsolatedMozBrowserElement`. r=smaug,necko-reviewers,kershaw,valentin 2024-03-07 13:04:22 +00:00
BasePrincipal.h Bug 1770944 - Remove `isInIsolatedMozBrowserElement`. r=smaug,necko-reviewers,kershaw,valentin 2024-03-07 13:04:22 +00:00
ContentPrincipal.cpp Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
ContentPrincipal.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
ContentPrincipalJSONHandler.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
DomainPolicy.cpp
DomainPolicy.h
ExpandedPrincipal.cpp Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
ExpandedPrincipal.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
ExpandedPrincipalJSONHandler.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
NullPrincipal.cpp Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
NullPrincipal.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
NullPrincipalJSONHandler.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
OriginAttributes.cpp Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
OriginAttributes.h Bug 1876574 - Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang 2024-04-02 18:53:25 +00:00
OriginAttributesHashKey.h Bug 1876579 - Add a hash key class for OriginAttributes. r=ckerschb 2024-02-14 09:44:52 +00:00
PrincipalHashKey.h
PrincipalJSONHandler.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
SharedJSONHandler.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
SubsumedPrincipalJSONHandler.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
SystemPrincipal.cpp
SystemPrincipal.h Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
moz.build Bug 1876579 - Add a hash key class for OriginAttributes. r=ckerschb 2024-02-14 09:44:52 +00:00
nsIAddonPolicyService.idl
nsIDomainPolicy.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIPrincipal.idl Bug 1892481 - More consistently enforce noscript and builtinclass in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,mccr8,padenot 2024-04-22 18:19:58 +00:00
nsIScriptSecurityManager.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsJSPrincipals.cpp
nsJSPrincipals.h
nsScriptSecurityManager.cpp Bug 1883860 - nsDocShell::HandleSameDocumentNavigation() cause crash in SetDocumentURI, r=smaug 2024-03-22 12:27:38 +00:00
nsScriptSecurityManager.h Bug 1883860 - nsDocShell::HandleSameDocumentNavigation() cause crash in SetDocumentURI, r=smaug 2024-03-22 12:27:38 +00:00