The Handle Fetch algorithm, steps 17 and 18, requires a soft update
when a fetch event is not dispatch for a non-subresource request.
Before this commit we added the requirement that the registration
be stale, which only applies to subresource requests.
Differential Revision: https://phabricator.services.mozilla.com/D96200
This updates the pretty-fast module to bring the commits
that were done there the 3 last years (date of the last
version being published).
Differential Revision: https://phabricator.services.mozilla.com/D96176
This patch makes the BrowserReloadWithFlags() to cache the content
principal before the remoteness changes. And use this cached principal
as the triggering principal for reloading.
We need to do this because the content principal in a browser will be
cleared during changing the remoteness. The browser will be destoried
and then constructed, and the content principal will be cleared. So, we
need to cache the content principal before in order to use the correct
principal.
Differential Revision: https://phabricator.services.mozilla.com/D96408
This error is well mitigated with checking if a certificate is valied for a domain before dispatching. If we include this error we will have a case as in test_altsvc_https.js where a domain is valid for foo.example.com but not for bar.example.com and if bar.example.com as altsvc to that domain the domain will be excluded for foo.example.com.
Differential Revision: https://phabricator.services.mozilla.com/D95845
- Add 2 test: 1) server is not listening to the port and 2) server is not responding that will cause the connection to timeout and fall back to HTTP2
- Adds a server that only reads packets but never sends any to simulate a handshake timing out
Differential Revision: https://phabricator.services.mozilla.com/D95816
Domains are excluded:
- if NS_ERROR_NET_HTTP3_PROTOCOL_ERROR error happens, this is a single error for all different HTTP3 protocol errors,
- also if a connection times out before the handshake is done
Change the current behavior to exclude HTTP3 domains instead of excluding the origin host names. HTTP2 disable AltSvc mapping if a origin domain is excluded which may not be ideal. This patch only changes behavior of HTTP3.
Refactor test_http3_fatal_stream_error.js. The test use to try to connect to http3 server on port 443 that does nto exist and it would return an error. This patch make the test use HTTP2 so that the the connection to the origin host (not AltSvc host) succeeds.
Differential Revision: https://phabricator.services.mozilla.com/D95807
The DevTools mochitests on Fission platforms have been promoted to tier 1.
This changeset updates our try presets to increase our coverage of fission platforms.
Differential Revision: https://phabricator.services.mozilla.com/D96407
Unfortunately I missed regenerating them when I changed the output.
Additionally the tests currently don't seem to run on CI so this was missed until now.
Differential Revision: https://phabricator.services.mozilla.com/D96385
Now we have assertions that we don't trigger barriers when marking, we don't
need to disable them. We still need to disable them for sweeping as this does
trigger barriers.
Differential Revision: https://phabricator.services.mozilla.com/D96438
This method is inherently racy and is only absolutely safe if the current
thread holds the mutex. Mostly it's used for the purpose of asserting that.
However there is one use in the GC where we rely on result as part of some
debug mode checks.
This patch removes checking of the mutex stack in the case where the current
thread doesn't hold the mutex, which is racy. It doesn't change the
owningThread_ check which is also racy. Hopefully this fixes the crashes while
we work out how to fix this properly.
(Note this code is only present in debug builds.)
Differential Revision: https://phabricator.services.mozilla.com/D96390
glean-core requires updating bincode from 1.2.1 to 1.3.1. The new version
deprecates 'config' and introduces 'options', which means that a build time
warning is emitted. This ends up breaking the builds on TC.
Depends on D96305
Differential Revision: https://phabricator.services.mozilla.com/D96422