mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00

Automatic update from web-platform-tests Refactor NavigateEvent state checks * Add a PerformSharedChecks() helper for entry point checks that apply to all functions on NavigateEvent (e.g., checking for detached window, whether the event is trusted, etc.) * Add a state machine for tracking interception state in NavigateEvent. Current states are None, Intercepted, Committed, Scrolled, Finished, and transitions must increase. This is hopefully easy to follow than the several independent booleans we are currently using. * Adding the state machine shows that it's possible to scroll before commit by calling scroll() during navigate event dispatch (and in fact, several tests do so). Fix that. Change-Id: I48095b97a3463d6bc145114639dbfc5711822b27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4262131 Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by: Domenic Denicola <domenic@chromium.org> Cr-Commit-Position: refs/heads/main@{#1109657} -- wpt-commits: 4ec997cb455c429be5b26681b0515428e086cac1 wpt-pr: 38562
…
…
…
…
…
Bug 1817640 - extract calculation of max dirty value to a helper method EffectiveMaxDirty(), r=pbone
…
…
…
…
…
…
…
…
…
…
…
…
…
…
An explanation of the Firefox Source Code Directory Structure and links to project pages with documentation can be found at: https://firefox-source-docs.mozilla.org/contributing/directory_structure.html For information on how to build Firefox from the source code and create the patch see: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html If you have a question about developing Firefox, and can't find the solution on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel. Nightly development builds can be downloaded from: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/ - or - https://www.mozilla.org/firefox/channel/desktop/#nightly Keep in mind that nightly builds, which are used by Firefox developers for testing, may be buggy.
Description
Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Languages
JavaScript
32.3%
C++
25.4%
HTML
21.1%
C
10.8%
Python
2.8%
Other
7.1%