1. Moved some setup stuff to head.js
2. Removed dumps
3. Changed comments to info()s at the beginning of tests
4. Combined some related tests.
5. Added helper to set TRR mode and uri
6. Some de-duplication when needing to do a test for different modes (more to be done)
7. Added some comments where missing, e.g. linking a bug
8. Gave all test functions good names
Differential Revision: https://phabricator.services.mozilla.com/D106215
Currently, raising an exception in a mozprocess callback is not guaranteed to
end the managed process; after bug 1694275, the exception will be reported but
otherwise suppressed.
Instead of raising an exception, report the error and end the test process.
Differential Revision: https://phabricator.services.mozilla.com/D106538
Also rename the shader's ImageResource into ImageSource to match the terminology on the rust side (especially since the rust code has a different thing named ImageResource).
Differential Revision: https://phabricator.services.mozilla.com/D106484
I chose to rename it back to RenderTaskGraph instead of the other way around to minimize code churn and because it's the name most people are already familiar with.
Differential Revision: https://phabricator.services.mozilla.com/D106411
1. Moved some setup stuff to head.js
2. Removed dumps
3. Changed comments to info()s at the beginning of tests
4. Combined some related tests.
5. Added helper to set TRR mode and uri
6. Some de-duplication when needing to do a test for different modes (more to be done)
7. Added some comments where missing, e.g. linking a bug
8. Gave all test functions good names
Differential Revision: https://phabricator.services.mozilla.com/D106215
- Uses __res_state.dnsrch to get the DNS suffix domains
- Adds a delay to the DNS suffix check when triggered by a network change
- Implements nsStreamTransportService::DelayedDispatch
Differential Revision: https://phabricator.services.mozilla.com/D106610
(Almost?) all other scrollbar performed scrolling goes through apz already (this effort was called "desktop_zooming_scrollbars").
This one mode was missed. It uses a repeating timer and setting the curpos attribute to trigger scrolling.
Unfortunately xul trees use this path as well, so we have to keep the old path around for them.
This makes one notable change in behaviour. Both before and after this patch single clicks on scrollbar buttons pass ENABLE_SNAP to the scroll from when they request scrolling (in nsScrollbarButtonFrame::HandleButtonPress). However for repeat scrolling when clicking and holding (which is handled by nsScrollbarFrame::MoveToNewPosition), before this patch the scrolling would not use ENABLE_SNAP. This is not super clear because MoveToNewPosition sets the curpos attributes, and then ScrollFrameHelper::CurPosAttributeChanged( would get called in response to that, and it would call ScrollToWithOrigin to the do scrolling, and it does not specify the snap mode, but the default is DISABLE_SNAP. This patch changes that so that we explicitly pass ENABLE_SNAP in MoveToNewPosition. It seems that this was likely overlooked (not hard to do when it's not clear like this) when adding snapping support. It makes sense to handle snapping the same way for single clicks and clicking and holding. If this turns out to be the wrong idea we can easily change it back.
Needs a test.
Differential Revision: https://phabricator.services.mozilla.com/D105288
This patch removes the tests directory upload (196 MB) and replace it by 3 files
upload. Some of the tests under jit-test directory are using library files of
the tests directory. This patch changes multiple things to make this work:
- `tests/**/*.js` files are now aliased under jit-test/lib.
- jit-test tests are updated to only reference jit-test/lib.
- Replace lib files by their aliased versions when uploading the test suite.
Thus avoiding references to `../../tests/`.
- The remote_root_directory no longer changed to be under the tests directory.
- The prologue.js path is updated accordingly.
Differential Revision: https://phabricator.services.mozilla.com/D106472