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
Перейти к файлу
Emilio Cobos Álvarez eb1c40734b Bug 1823336 - [wayland] For unanchored popups don't read anchor / popup gravity. r=stransky
This matches the nsMenuPopupFrame code.

There are a few places where we want to fix our position, and I unified
how we do this in the regressing bug.

ShouldFollowAnchor() = false popups like this used to just not be repositioned directly:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.274

IsNoAutoHide() popups fixed their position once:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.867

I unified in the noautohide behavior but in a better place here:

  https://hg.mozilla.org/mozilla-central/rev/c15f0fb1c92375ea751b3916a4c25a34403f21b2#l9.1182

But this trips this Wayland code which wasn't treating AnchorType_Point
popups properly.

The fact that this popup doesn't follow the anchor feels wrong, but is
pre-existing.

Differential Revision: https://phabricator.services.mozilla.com/D173004
2023-03-21 12:32:02 +00:00
.cargo Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers 2023-03-16 11:50:55 +00:00
.vscode
accessible Bug 1821954: Make HyperTextAccessible::Char/TextBounds use HyperTextAccessibleBase when the cache is enabled. r=morgan 2023-03-21 01:23:40 +00:00
browser Bug 1821768 - Move translations.ftl to toolkit; r=nordzilla,fluent-reviewers,flod 2023-03-21 12:13:11 +00:00
build Bug 1821221 - Switch Android builds to compiler-rt + libunwind. r=firefox-build-system-reviewers,andi 2023-03-21 05:13:43 +00:00
caps Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
chrome Bug 1819815 - Make chrome/ buildable outside of a unified build environment r=andi 2023-03-02 07:44:28 +00:00
config Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages. 2023-03-15 18:12:19 +02:00
devtools Bug 1767774 - Remove a setTimeout in the profiler tests r=canaltinova 2023-03-21 12:16:49 +00:00
docs Bug 1811850 - [lint] Replace pylint linter with ruff, r=linter-reviewers,marco 2023-03-20 13:06:28 +00:00
docshell Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
dom Backed out 4 changesets (bug 1765992, bug 1823148) for causing multiple failures. CLOSED TREE 2023-03-21 12:51:09 +02:00
editor Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
extensions Bug 1823341 - Make toolkit/components/antitracking buildable outside of a unified build environment r=andi 2023-03-21 10:47:28 +00:00
gfx Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
gradle/wrapper Bug 1786164 - Update gradle and plugin to the latest versions. r=geckoview-reviewers,jonalmeida 2022-08-31 22:10:38 +00:00
hal Bug 1607634 - Part 4b: Changes for not-nullable actor types being wrapped in NotNull, r=ipc-reviewers,necko-reviewers,mccr8 2023-03-20 15:40:36 +00:00
image Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
intl Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8 2023-03-15 19:52:34 +00:00
ipc Bug 1822728 - Increase the child process shutdown timeout for Unix ccov builds. r=ipc-reviewers,nika 2023-03-20 20:32:31 +00:00
js Bug 1820602 - Use shape guard instead of class guard for CallDOMFunction. r=iain 2023-03-21 09:34:35 +00:00
layout Bug 1823552 - Fix test_popup_moveToAnchor.xhtml failures by resetting offset on MoveTo calls. 2023-03-21 13:46:25 +01:00
media Bug 1822246 - Part 3. Add patch file to moz.yaml. r=media-playback-reviewers,padenot 2023-03-20 07:39:46 +00:00
memory Bug 1609478 - Poison memory we want to free before we take the arena lock r=glandium 2023-03-16 06:05:27 +00:00
mfbt Bug 1607634 - Part 1: Improve the ergonomics of using NotNull with RefPtr and nsCOMPtr, r=glandium 2023-03-20 15:40:35 +00:00
mobile Bug 1822932 - Add utility functions to distinguish between SW/HW codec support on Android r=geckoview-reviewers,owlish 2023-03-20 23:17:47 +00:00
modules Backed out changeset 4a7ad0b00cda (bug 1823358) for causing xpcshell failures in netwerk/test/unit/test_cookies_privatebrowsing.js. CLOSED TREE 2023-03-21 13:03:54 +02:00
mozglue Bug 1822605: Add ThreadSanitizer suppression for race in libvulkan_lvp.so r=decoder 2023-03-16 20:12:03 +00:00
netwerk Backed out changeset 4a7ad0b00cda (bug 1823358) for causing xpcshell failures in netwerk/test/unit/test_cookies_privatebrowsing.js. CLOSED TREE 2023-03-21 13:03:54 +02:00
nsprpub Bug 1788009 - NSPR_4_35_RTM, version number only, no code change. r=glandium UPGRADE_NSPR_RELEASE 2022-09-13 06:26:48 +00:00
other-licenses Bug 1815019 - Customize 7z to write provenance data r=nalexander 2023-03-02 16:44:10 +00:00
parser Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
python Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher 2023-03-21 09:09:58 +00:00
remote Bug 1816664 Rename addSessionData/removeSessionData methods of RootMessageHandler to addSessionDataItem/removeSessionDataItem r=webdriver-reviewers,Sasha 2023-03-21 07:57:31 +00:00
security Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
services No Bug, mozilla-central repo-update HPKP remote-settings tld-suffixes - r=release-managers,RyanVM 2023-03-20 12:38:17 +00:00
servo Bug 1823602 - Check that the lowercase attribute is different before trying to track it r=emilio 2023-03-21 10:23:54 +00:00
startupcache Bug 1817313 - Make startupcache/ buildable outside of a unified build environment r=andi 2023-02-19 21:40:36 +00:00
storage Bug 1781116 - QuotaManager needs to deal with SQLite path canonicalization/symlink piercing; r=asuth,dom-storage-reviewers 2023-03-07 15:56:51 +00:00
supply-chain Bug 1822325 - Vendor Glean 52.4.2 r=janerik,supply-chain-reviewers 2023-03-20 17:52:38 +00:00
taskcluster Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher 2023-03-21 09:09:58 +00:00
testing Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher 2023-03-21 09:09:58 +00:00
third_party Bug 1732228 - Bump `pip` to version `23.0.1` to maintain consistency with the wheel used by `mozharness` r=firefox-build-system-reviewers,glandium 2023-03-20 23:58:40 +00:00
toolkit Bug 1821768 - Make the about:translations page properly responsive; r=nordzilla 2023-03-21 12:13:12 +00:00
tools Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher 2023-03-21 09:09:58 +00:00
uriloader Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
view Bug 1814239 - Expose Point/Size rounded-to-multiple helpers, and use them from MaybeRoundToDisplayPixels. r=tnikkel,gfx-reviewers,nical 2023-02-06 12:28:47 +00:00
widget Bug 1823336 - [wayland] For unanchored popups don't read anchor / popup gravity. r=stransky 2023-03-21 12:32:02 +00:00
xpcom Backed out changeset 18595f6364ea (bug 1822521) for wpt failures on popover-focus-child-dialog.html. CLOSED TREE 2023-03-20 21:17:55 +02:00
xpfe/appshell Backed out changeset 9125aacdb96b (bug 1823350) for bc failures on browser_changePiPSrcInFullscreen.js. 2023-03-20 21:08:13 +02:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1764698 - Move LanguageDetector.jsm and related files to toolkit. r=robwu 2022-08-23 05:59:55 +00:00
.cron.yml Bug 1822107 - Run the Beta l10n-bumper job an hour earlier. r=releng-reviewers,jcristau DONTBUILD 2023-03-13 16:54:07 +00:00
.eslintignore Bug 1817183 - Migrate most of services/fxaccounts to ES modules. r=markh 2023-02-17 16:34:42 +00:00
.eslintrc-test-paths.js Bug 1693495 - [devtools] Implement a beginning of "Network" commands, starting with sendHTTPRequest. r=devtools-reviewers,nchevobbe 2023-01-09 13:09:43 +00:00
.eslintrc.js Bug 1812098 - Enable the builtinGlobals option for ESLint no-shadow rule on .mjs files. r=Gijs 2023-03-14 09:13:49 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1810885 - Use ChromeMap for rewriting chrome:// URIs in Storybook r=hjones 2023-02-28 05:43:54 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-20 13:06:27 +00:00
.hgtags No bug - tagging f2178beb09db4f3548827808718f1ea1f2892fc5 with FIREFOX_NIGHTLY_112_END a=release DONTBUILD CLOSED TREE 2023-03-13 15:37:10 +00:00
.lando.ini Bug 1801965: update `.lando.ini` file for new autoformatting implementation r=zeid DONTBUILD 2022-11-22 20:19:59 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1782273 - Part 30: Enable prettier for selfhosted code. r=tcampbell,Standard8 2022-08-04 17:13:03 +00:00
.prettierrc.js Bug 1811820 - Change prettier config file from json to common js format. r=cmkm,Gijs 2023-01-24 22:53:55 +00:00
.taskcluster.yml Bug 1795994 - Migrate decision task over to GCP r=ahal,releng-reviewers,jcristau 2022-10-26 15:55:18 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
AUTHORS
CLOBBER Bug 1817024 - Vendor libwebrtc from 15a82c93d0 - moz.build file updates 2023-03-13 12:03:34 +01:00
Cargo.lock Bug 1822325 - Vendor Glean 52.4.2 r=janerik,supply-chain-reviewers 2023-03-20 17:52:38 +00:00
Cargo.toml Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers 2023-03-16 11:50:55 +00:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle Bug 1822325 - Vendor Glean 52.4.2 r=janerik,supply-chain-reviewers 2023-03-20 17:52:38 +00:00
client.mk Bug 1802075 - Avoid calling "--stop-server" as a command on local build failure. r=firefox-build-system-reviewers,andi 2022-11-23 20:38:52 +00:00
client.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
configure Bug 1787977 - Include configure in the tree. r=firefox-build-system-reviewers,nalexander 2022-08-30 04:02:12 +00:00
configure.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
gradle.properties Bug 1786164 - Add more Gradle JVM memory flags. r=geckoview-reviewers,jonalmeida 2022-08-31 22:10:39 +00:00
gradlew
gradlew.bat
mach Bug 1820915 - Attempt to re-launch Mach with a compatible python3 version if one is available r=firefox-build-system-reviewers,andi 2023-03-09 10:53:16 +00:00
mach.cmd
mach.ps1
mots.yaml Bug 1822698 - Update list of peers for GeckoView module r=zeid 2023-03-16 16:26:28 +00:00
moz.build Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-20 13:06:27 +00:00
moz.configure Bug 1807907 - Cache the results of `try_invoke_compiler` on disk for re-use between different runs of configure r=firefox-build-system-reviewers,glandium 2023-02-28 08:42:52 +00:00
mozilla-config.h.in Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi 2023-01-03 08:17:50 +00:00
old-configure.in Bug 1814802 - Move STLPORT_LIBS to moz.configure. r=firefox-build-system-reviewers,glandium 2023-02-14 02:29:22 +00:00
package-lock.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
package.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
pyproject.toml Bug 1811850 - [lint] Replace pylint linter with ruff, r=linter-reviewers,marco 2023-03-20 13:06:28 +00:00
settings.gradle Bug 1740799 - Add android-format lint test. r=nalexander,linter-reviewers,sylvestre 2022-11-18 00:55:03 +00:00
substitute-local-geckoview.gradle
test.mozbuild

README.txt

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.