gecko-dev/caps
Chris Peterson 118723ea09 Bug 1664100 - Replace MOZ_MUST_USE with [[nodiscard]] in caps. r=ckerschb
The MOZ_MUST_USE macro is defined as clang's and gcc's nonstandard __attribute__((warn_unused_result)). Now that we compile as C++17 by default (bug 1560664), we can replace MOZ_MUST_USE with C++17's standard [[nodiscard]] attribute.

The [[nodiscard]] attribute must precede a function declaration's declaration specifiers (like static, extern, inline, or virtual). The __attribute__((warn_unused_result)) attribute does not have this order restriction.

Differential Revision: https://phabricator.services.mozilla.com/D89697
2020-09-10 14:36:15 +00:00
..
tests Bug 1659923 - Avoid unnecessary copies around Base64Encode. r=xpcom-reviewers,necko-reviewers,froydnj,valentin 2020-08-19 17:45:16 +00:00
BasePrincipal.cpp Bug 1660822 - Add isLocalIpAdress to nsIPrincipal r=ckerschb 2020-08-24 16:28:26 +00:00
BasePrincipal.h Bug 1660822 - Add isLocalIpAdress to nsIPrincipal r=ckerschb 2020-08-24 16:28:26 +00:00
ContentPrincipal.cpp Bug 1654523 - Insist that iteration callbacks don't GC r=sfink,mccr8 2020-07-23 02:31:57 +00:00
ContentPrincipal.h
DomainPolicy.cpp Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin 2020-03-31 18:47:30 +00:00
DomainPolicy.h Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin 2020-03-31 18:47:30 +00:00
ExpandedPrincipal.cpp Bug 1659923 - Avoid unnecessary copies around Base64Encode. r=xpcom-reviewers,necko-reviewers,froydnj,valentin 2020-08-19 17:45:16 +00:00
ExpandedPrincipal.h Bug 1635490 - Implement ExpandedPrincipal::IsThirdPartyURI() to consider any sub principal's URI, r=robwu 2020-05-13 16:50:19 +00:00
NullPrincipal.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
NullPrincipal.h Bug 1637516 - part 3: update tests; r=timhuang,baku 2020-05-28 08:55:04 +00:00
NullPrincipalURI.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
NullPrincipalURI.h Bug 1417655: Mark private operator= delete for NullPrincipalURI since there is a private copy constr.r=bholley 2020-03-05 16:42:57 +00:00
OriginAttributes.cpp Backed out 3 changesets (bug 1635828) for causing bc failures in browser_tab_detach_restore.js 2020-08-04 13:35:45 +03:00
OriginAttributes.h Bug 1664100 - Replace MOZ_MUST_USE with [[nodiscard]] in caps. r=ckerschb 2020-09-10 14:36:15 +00:00
PrincipalHashKey.h Bug 1641936 - Add a generic principal hash key. r=bholley 2020-05-29 22:18:01 +00:00
SystemPrincipal.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
SystemPrincipal.h
moz.build Bug 1641936 - Add a generic principal hash key. r=bholley 2020-05-29 22:18:01 +00:00
nsIAddonPolicyService.idl
nsIDomainPolicy.idl
nsIPrincipal.idl Bug 1655945 - Remove principal.uri in RemotePageAccessManager.jsm r=ckerschb 2020-08-25 13:58:49 +00:00
nsIScriptSecurityManager.idl Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi 2020-06-03 06:09:52 +00:00
nsJSPrincipals.cpp Bug 1635399 - Function PrincipalInfoToPrincipal now returns Result<nsCOMPtr<nsIPrincipal>, nsresult> r=ckerschb 2020-05-12 19:02:05 +00:00
nsJSPrincipals.h
nsScriptSecurityManager.cpp Bug 1661672: Remove use of security.view-source.reachable-from-inner-protocol r=Gijs,emilio 2020-09-07 13:51:44 +00:00
nsScriptSecurityManager.h Bug 1615405 - `eval(nonString)` should not have observable side effects. r=tcampbell,baku 2020-02-14 15:05:27 +00:00