fune/modules
Alexandre Poirot e40b810077 Bug 1824726 - [devtools] Throttle all resources from the server side. r=devtools-reviewers,nchevobbe,perftest-reviewers,sparky
This helps accumulate RDP packets related to resources being available/updated/destroyed
and emit less and larger RDP packets instead or more and smaller.
This appears to reduce the overhead of DevTools transport and JSWindowActor layers.

The issue in browser_markup_events_toggle.js is interesting.
It highlights that a resource notified before a call to WatcherActor.watchResources,
may be emitted during the call to watchResources.
This makes ignoreExistingResources flag a bit brittle as that resource should be
considered as an existing/past one.
We should probably flush past resource and probably introduce a more explicit
way of handling "existing" resources on the server side.

The fix in document-events.js relates to failures in browser_net_offline_mode.js.
This test was passing thanks to late dom-complete event emitted on the previous WindowGlobal.
Surprisingly, when reloading the page in offline mode, the previous, already existing WindowGlobal
triggered the WebProgressListener and we were emitting dom-complete event.
Because of throttling, this resource is no longer transfered to the client as the related target
actor is already destroyed on reload.
But at the end, the issue was the missing dom-interactive and dom-complete events for the error page.

Regarding browser_net_ws-sse-persist-columns.js, it looks like this test was properly waiting
for the WebSocket table to update. We were really lucky it was working without frequent intermittent!

Similarly to the client side, DOCUMENT_EVENT's will-navigate is special
and has to be emitted synchronously in order to prevent clearing things out of order.
This is also true for NETWORK_EVENT_STACKTRACE which is expected to be received
*before* related NETWORK_EVENT. NETWORK_EVENT_STACKTRACE is fired from the content
process while NETWORK_EVENT is fired from the parent process.
For now, it is easier to synchronously emit those resources rather than trying
to do cross process coordination.
We may revisit this choice once we start doing throttling from the parent process
and may be once D143409 lands.

About browser_resources_clear_resources.js, it is surprising it wasn't already failing.

Differential Revision: https://phabricator.services.mozilla.com/D197772
2024-02-08 14:24:17 +00:00
..
brotli Bug 1850991 - Update brotli to version 1.1.0. r=jfkthame 2023-09-13 14:36:27 +00:00
fdlibm Bug 1358149 use fdlibm for inexact math functions in ffvpx/libavcodec r=padenot,firefox-build-system-reviewers,glandium 2023-08-10 19:46:05 +00:00
freetype2 Bug 1850443 - Update freetype2 to 2.13.2. r=jfkthame 2023-08-30 13:49:55 +00:00
libjar Bug 1874226 - Use unique_ptr not Scoped in xpcom/*. r=xpcom-reviewers,necko-reviewers,valentin,emilio 2024-02-07 18:30:22 +00:00
libmar Bug 1862505 - Removed unnecessary else statement. r=sylvestre 2023-11-29 18:12:55 +00:00
libpref Bug 1824726 - [devtools] Throttle all resources from the server side. r=devtools-reviewers,nchevobbe,perftest-reviewers,sparky 2024-02-08 14:24:17 +00:00
woff2 Bug 1851712 - Stop building plain hunspell and woff2 when they are wasm sandboxed. r=tjr 2023-09-07 02:15:57 +00:00
xz-embedded Bug 1874254 - Allow decompression of both x86 and ARM BCJs on all platforms r=nalexander,mhowell 2024-01-16 17:37:38 +00:00
zlib Bug 1875968 - Update in-tree zlib to version 1.3.1. r=glandium 2024-01-25 03:15:19 +00:00
moz.build