gecko-dev/netwerk
Nika Layzell 5fb9592e42 Bug 1901387 - Part 3: Make nsIPrincipal::CheckMayLoad threadsafe, r=asuth,ckerschb,extension-reviewers,robwu
This method was previously non-threadsafe due to it needing to access dynamic
URI flags. These flags were used to check the WEbExtensionPolicy to see if the
webextension resource being loaded should be accessible.

Making dynamic URI flags available off-main-thread in general would
unfortunately be quite difficult, due to some of them depending on things like
JS `nsIAboutModule` implementations, so that was not the approach taken.

Instead, all information required is already available in the threadsafe
WebExtensionPolicyCore, which is now directly queried, instead of being queried
indirectly through protocol flags.

Differential Revision: https://phabricator.services.mozilla.com/D215026
2024-06-28 17:34:08 +00:00
..
base Bug 1901387 - Part 3: Make nsIPrincipal::CheckMayLoad threadsafe, r=asuth,ckerschb,extension-reviewers,robwu 2024-06-28 17:34:08 +00:00
build Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers 2024-05-30 21:18:43 +00:00
cache2 Bug 1819147 - Fixed clearOriginAttributes not clearing all cache entries specificed with userContext r=valentin,necko-reviewers 2024-06-13 21:44:51 +00:00
cookie Bug 1904557 - part 3 - Improve cookie logging - Groupping the console warnings, r=timhuang,devtools-reviewers,cookie-reviewers,ochameau 2024-06-28 13:19:40 +00:00
dns Backed out changeset 57a8ef5f87bf (bug 1893948) for causing multiple failures. CLOSED TREE 2024-06-27 23:43:57 +03:00
docs Bug 1904979 - lint: fix some typos r=linter-reviewers,kershaw,Standard8 2024-06-27 12:46:28 +00:00
ipc Bug 1851437 - Add telemetry for EH protocol version and refactor EarlyHintsService::FinalResponse and CollectTelemetry r=necko-reviewers,kershaw 2024-06-26 14:25:06 +00:00
locales Bug 1904557 - part 2 - Improve cookie logging - Move the warning/reject logic in CookieParser, r=timhuang,cookie-reviewers,edgul 2024-06-28 13:19:39 +00:00
mime Bug 1893313 - Leaks in nsMIMEHeaderParamImpl::DoParameterInternal() r=valentin,necko-reviewers 2024-05-27 13:08:49 +00:00
protocol Bug 1901387 - Part 3: Make nsIPrincipal::CheckMayLoad threadsafe, r=asuth,ckerschb,extension-reviewers,robwu 2024-06-28 17:34:08 +00:00
sctp Bug 1776143: Fix leak on init failure, make DataChannelRegistry non-refcounted, and add some assertions. r=ng 2024-06-18 19:38:13 +00:00
socket Bug 1902159 - add a pref to control whether P256 is sent in client hello. r=djackson,necko-reviewers,jesup 2024-06-18 21:56:17 +00:00
streamconv Bug 1900339: don't send 0-byte OnDataAvailables from http decompression r=nika 2024-06-14 19:07:16 +00:00
system Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers 2024-05-30 21:18:43 +00:00
test Bug 1900375 - Add setResponseOverride to nsIHttpChannelInternal.idl r=necko-reviewers,kershaw 2024-06-26 15:31:07 +00:00
url-classifier Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers 2024-05-30 21:18:43 +00:00
wifi Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers 2024-05-30 21:18:43 +00:00
metrics.yaml Bug 1897290 - Migrate LABELS_NETWORK_HTTP_REDIRECT_TO_SCHEME probe to glean r=necko-reviewers,kershaw 2024-06-26 19:36:02 +00:00
moz.build