fune/testing
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
..
awsy
condprofile Bug 1877527 - convert .ini manifests to .toml: batch 23 remaining python.ini r=jmaher,webdriver-reviewers,perftest-reviewers,sparky 2024-01-31 16:02:22 +00:00
config Bug 1877537 - Update tomlkit to 0.12.3 and mozci to 2.4.0 r=jmaher,mach-reviewers,ahal 2024-01-31 18:57:03 +00:00
crashtest Bug 1875941 - Update crashtests settings r=media-playback-reviewers,padenot 2024-01-26 01:20:04 +00:00
docs
extensions
firefox-ui
geckodriver Bug 1847875: [geckodriver] Require FrameId to be passed explicitly and correct Marionette to Top r=whimboo,webdriver-reviewers 2024-01-25 07:53:15 +00:00
gtest
jsshell
marionette Bug 1858696: Created IDB and CacheAPI marionette tests to verify raw magic strings in on-disk storages.r=dom-storage-reviewers,webdriver-reviewers,whimboo,janv 2024-02-02 15:14:24 +00:00
mochitest Bug 1874602 - use ssl.SSLContext.wrap_socket rather than the deprecated ssl.wrap_socket r=jgraham,jmaher 2024-02-07 17:31:43 +00:00
modules Bug 1879018 - Use replacer function to avoid calling JSON.stringify on XPCOM objects in Assert.sys.mjs. r=jmaher 2024-02-07 21:46:20 +00:00
mozbase Bug 1875052 - Change various RegEx patterns to raw strings to remove syntax warnings on Python 3.12 r=firefox-build-system-reviewers,glandium 2024-02-02 20:52:24 +00:00
mozharness Bug 1878180 - Catch more rust errors in logs. r=releng-reviewers,aryx,jcristau 2024-02-05 21:11:05 +00:00
perfdocs Bug 1857623 - Enable speedometer and speedometer3 to run on pixel6 devices. r=perftest-reviewers,sparky,taskgraph-reviewers,bhearsum 2024-02-06 18:30:18 +00:00
performance Bug 1877177 - Fail when multiple tests for the same app have the same name. r=perftest-reviewers,aglavic 2024-01-30 20:11:32 +00:00
profiles Bug 1762951 - remove status panel in raptor tests, r=sparky,dao,perftest-reviewers,desktop-theme-reviewers 2024-01-31 17:55:26 +00:00
raptor Bug 1877592 - Use the correct nodejs for mac aarch64 raptor tests. r=perftest-reviewers,aglavic 2024-02-07 16:00:07 +00:00
runtimes Bug 1855958 - Remove the experimental urlbar API (first patch). r=mak,extension-reviewers,desktop-theme-reviewers,robwu 2024-02-05 17:04:37 +00:00
specialpowers
talos 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
test Bug 1877537 - Update tomlkit to 0.12.3 and mozci to 2.4.0 r=jmaher,mach-reviewers,ahal 2024-01-31 18:57:03 +00:00
tools
tps
web-platform Bug 1851414 - <a> and <area>'s search setter should use the UTF-8 URL encoding r=necko-reviewers,kershaw 2024-02-08 13:16:16 +00:00
webcompat
webdriver Bug 1847875: [geckodriver] Require FrameId to be passed explicitly and correct Marionette to Top r=whimboo,webdriver-reviewers 2024-01-25 07:53:15 +00:00
xpcshell Bug 1876947 - Remove the disable_e10s manifest key r=jmaher 2024-02-02 23:45:11 +00:00
addtest.py
cppunittest.toml Bug 1868866 - adds ManifestParser TOML linter r=jmaher,linter-reviewers,ahal,webdriver-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,cookie-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,valentin,whimboo,Standard8,sclements,jesup 2024-01-29 17:30:48 +00:00
mach_commands.py Bug 1877105 - Add git source support to test_fluent_migrations. r=flod,bolsson 2024-02-02 12:25:29 +00:00
moz.build
parse_build_tests_ccov.py
README.txt
remotecppunittests.py
runcppunittests.py
skipfails.py Bug 1869639 - mach manifest skip-fails: disable long running manifests r=jmaher 2024-01-26 22:10:45 +00:00
testinfo.py
testsuite-targets.mk Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin 2024-01-22 09:52:53 +00:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff