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
Go to file
Emilio Cobos Álvarez d9af59f0ba Bug 1927967 - Make sure nsDocumentViewer::GetContentSize doesn't leave layout and visual viewports in inconsistent states. r=hiro,extension-reviewers,robwu, a=dmeehan
This getContentSize API is rather hairy:

 * Web extension popups use getContentSize to measure the document in https://searchfox.org/mozilla-central/rev/fcf53e1685bfb990b5abc7312ac1daf617f0991f/toolkit/components/extensions/ext-browser-content.js#253
 * That leaves the returned size as the layout viewport (so innerHeight and innerWidth are the "right" size): https://searchfox.org/mozilla-central/rev/fcf53e1685bfb990b5abc7312ac1daf617f0991f/layout/base/nsDocumentViewer.cpp#2634
 * However the visual viewport is not updated, and that's what we scroll into view into. That's only updated way later, via:

```
MobileViewportManager::RefreshViewportSize
in nsDocumentViewer::SetBoundsWithFlags
in nsDocShell::SetPositionAndSize
in nsWebBrowser::SetPositionAndSize
in mozilla::dom::BrowserChild::RecvUpdateDimensions
in mozilla::dom::PBrowserChild::OnMessageReceived
[snip]
```

Make sure we leave the layout and visual viewport in a consistent state.

Differential Revision: https://phabricator.services.mozilla.com/D228119
2024-11-06 12:22:36 +00:00
.cargo Bug 1928239 - Vendor release-v133-desktop a=dsmith 2024-10-31 13:20:50 -04:00
.github/workflows
.vscode
accessible Bug 1927138 - Remove popover prefs. r=webidl,smaug 2024-10-27 08:47:00 +00:00
browser Bug 1927967 - Make sure nsDocumentViewer::GetContentSize doesn't leave layout and visual viewports in inconsistent states. r=hiro,extension-reviewers,robwu, a=dmeehan 2024-11-06 12:22:36 +00:00
build Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-11-08 17:17:11 +00:00
caps Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
chrome
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-10-28 13:23:54 +00:00
devtools Bug 1927138 - Remove popover prefs. r=webidl,smaug 2024-10-27 08:47:00 +00:00
docs Bug 1926284 - Ride along: fix other fenix links r=android-reviewers,geckoview-reviewers,tthibaud,owlish DONTBUILD 2024-10-23 08:38:09 +00:00
docshell Bug 1927219 - Set consistent opener policy for printing. r=nika, a=dmeehan 2024-10-30 00:25:37 +00:00
dom Bug 1928939 - LSNG: Allow one single prepare datastore operation to block multiple prepare datastore operations; r=dom-storage-reviewers,asuth, a=dmeehan 2024-11-05 18:46:40 +00:00
editor Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
extensions Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
gfx Bug 1924578 - Disable DMABUF_WEBGL on Nvidia driver. r=aosmond, a=dmeehan 2024-11-02 03:50:17 +00:00
gradle/wrapper Bug 1920624 - Update Gradle to version 8.10.2. r=android-reviewers,mcarare 2024-09-24 11:55:04 +00:00
hal Bug 1904957: Implement GetHeterogeneousCpuInfo on Windows and use for TaskController pool size. r=cmartin,smaug 2024-10-02 17:27:32 +00:00
image Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
intl Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
ipc Backed out 10 changesets (bug 1879401, bug 1915351) for causing multiple regressions. CLOSED TREE 2024-10-25 16:43:29 +03:00
js Bug 1927125 - Avoid triggering gray unmarking when unlinking module scripts r=sfink, a=dmeehan 2024-10-28 17:34:58 +00:00
layout Bug 1927967 - Make sure nsDocumentViewer::GetContentSize doesn't leave layout and visual viewports in inconsistent states. r=hiro,extension-reviewers,robwu, a=dmeehan 2024-11-06 12:22:36 +00:00
media Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
memory Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
mfbt Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
mobile Automatic version bump CLOSED TREE NO BUG a=release DONTBUILD 2024-11-08 14:06:21 +00:00
modules Bug 1928028 - QM: Add suppport for triggering artificial failures; r=dom-storage-reviewers,jstutte,asuth, a=dmeehan 2024-11-05 18:46:37 +00:00
mozglue Bug 1927320 - Use GET_REAL_SYMBOL() interposition for __register_atfork() / __cxa_finalize() r=glandium, a=dmeehan 2024-10-29 08:22:02 +00:00
netwerk No Bug, mozilla-beta repo-update HSTS HPKP remote-settings tld-suffixes mobile-experiments ct-logs - a=dmeehan 2024-11-07 13:15:58 +00:00
nsprpub Bug 1920969 - Set NSPR version to 4.36 RTM. No code change. r=sylvestre UPGRADE_NSPR_RELEASE DONTBUILD 2024-10-23 16:06:56 +00:00
other-licenses Bug 1909747 - Fix liteFirewall mozilla_customizations.diff regarding error representation r=nrishel 2024-08-20 19:52:43 +00:00
parser Backed out 2 changesets (bug 1926824) from beta for causing Bug 1927404 2024-10-28 09:51:21 -04:00
python Bug 1920813 - Add performance test for WebCodecs video encoding r=perftest-reviewers,media-playback-reviewers,aosmond,padenot,sparky 2024-10-25 21:43:26 +00:00
remote Bug 1926270 - [puppeteer] Fix setting of shard values for mach commands. r=webdriver-reviewers,Sasha 2024-10-22 16:00:31 +00:00
security No Bug, mozilla-beta repo-update HSTS HPKP remote-settings tld-suffixes mobile-experiments ct-logs - a=dmeehan 2024-11-07 13:15:58 +00:00
services No Bug, mozilla-beta repo-update HSTS HPKP remote-settings tld-suffixes mobile-experiments ct-logs - a=dmeehan 2024-11-07 13:15:58 +00:00
servo Bug 1927138 - Fix selector enabled check to be enabled in content. 2024-10-27 11:31:12 +01:00
startupcache Bug 1925866 - NS_NewLocalFile's aFollowSymlinks arg is unused. r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,win-reviewers,karlt,nika,rkraesig 2024-10-22 09:38:16 +00:00
storage Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
supply-chain Bug 1866191 - Implement GB18030-2022 changes to the Encoding Standard. r=supply-chain-reviewers,emk 2024-10-25 10:41:35 +00:00
taskcluster Bug 1929571: change PSL branch from master to main, r=jcristau a=NPOTB DONTBUILD 2024-11-06 22:01:37 +00:00
testing Bug 1928736 - Avoid trying to create empty DrawTarget for painting range input shadow. r=gfx-reviewers,bradwerth, a=dmeehan 2024-11-05 21:05:06 +00:00
third_party Bug 1929476 - Vendor release-v133-desktop a=dmeehan 2024-11-05 19:26:42 -08:00
toolkit Bug 1929333: Block Kingsoft DLL (ks3rdhmpg.dll) in all child processes to avoid crashes. a=dmeehan 2024-11-07 18:03:14 +00:00
tools Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
uriloader Backed out changeset d92f391b3b0c (bug 1922838) for backing out bug 1915351 2024-10-25 16:42:33 +03:00
view Bug 1924240 - Devirtualize parent handling. r=mac-reviewers,win-reviewers,geckoview-reviewers,bradwerth,m_kato,rkraesig 2024-10-22 20:25:18 +00:00
widget Bug 1928736 - Avoid trying to create empty DrawTarget for painting range input shadow. r=gfx-reviewers,bradwerth, a=dmeehan 2024-11-05 21:05:06 +00:00
xpcom Bug 1928798 - do not return fatal error if the initialization failed, try again with another state machine. r=jrmuizel, a=dmeehan 2024-11-02 19:29:58 +00:00
xpfe/appshell Bug 1925577 - make skeleton UI not draw the tabstrip if it's disabled by vertical tabs, r=dthayer 2024-10-25 22:51:51 +00:00
.arcconfig Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-10-28 13:23:54 +00:00
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1917739 - Move Lz4 and mfbt/Compression* to mozglue/static. r=nika,frontend-codestyle-reviewers 2024-09-10 20:35:56 +00:00
.cron.yml Bug 1919083 - Create 'os-integration' cron tasks to help validate worker image changes, r=jmaher,taskgraph-reviewers 2024-09-24 14:49:29 +00:00
.eslintrc-ignores.js
.eslintrc-rollouts.js Bug 1919853 - Make InspectorUtils able to return CSSNestedDeclarations too. r=devtools-reviewers,nchevobbe,dshin 2024-09-20 15:59:53 +00:00
.eslintrc-test-paths.js Bug 1924532 - Move tabMediaIndicator tests to browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,dwalker,mossop 2024-10-15 16:04:13 +00:00
.eslintrc.js Bug 1881696 - Rework the ESLint environment so that eslint-plugin-mozilla is not enforcing the environment everywhere. r=frontend-codestyle-reviewers,Gijs 2024-10-18 09:21:27 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1743983 pt2 - Rewrite the minidump-analyzer in Rust r=gsvelto 2024-09-24 13:36:22 +00:00
.hg-annotate-ignore-revs
.hgignore Bug 1743983 pt2 - Rewrite the minidump-analyzer in Rust r=gsvelto 2024-09-24 13:36:22 +00:00
.hgtags No bug - Tagging 1e4cb4bb3a1f71819f59e8d00eb3b5323a1415e0 with DEVEDITION_133_0b6_RELEASE a=release CLOSED TREE DONTBUILD 2024-11-08 16:34:28 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore Bug 652493 - Remove testing/mochitest/tests/MochiKit-1.4.2/ r=frontend-codestyle-reviewers,jmaher 2024-10-10 15:06:01 +00:00
.prettierrc.js
.rstcheck.cfg Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8 2024-09-06 15:04:10 +00:00
.stylelintignore
.stylelintrc.js Bug 1921088 - Upgrade Stylelint and related libraries to the latest version r=Standard8,devtools-reviewers,omc-reviewers,home-newtab-reviewers,nchevobbe,thecount,desktop-theme-reviewers,dao,aminomancer 2024-10-15 19:39:46 +00:00
.taskcluster.yml Bug 1923857 - retry decision tasks on try for worker-shutdown/claim-expired errors. r=releng-reviewers,bhearsum DONTBUILD 2024-10-10 13:32:22 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1897176 - Allow unit tests to access and use app resources. r=tthibaud 2024-10-01 06:57:53 +00:00
Cargo.lock Bug 1929476 - Vendor release-v133-desktop a=dmeehan 2024-11-05 19:26:42 -08:00
Cargo.toml Bug 1928239 - Vendor release-v133-desktop a=dsmith 2024-10-31 13:20:50 -04:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-11-08 17:17:11 +00:00
configure
configure.py Bug 1916786 - Modernize python/mozbuild/mozbuild to use exist_ok=True parameter from os.makedirs r=ahochheiden 2024-09-05 05:52:56 +00:00
GNUmakefile
gradle.properties
gradlew Bug 1900345 - Update Gradle to version 8.10. r=android-reviewers,ohall 2024-09-05 14:56:03 +00:00
gradlew.bat Bug 1900345 - Update Gradle to version 8.10. r=android-reviewers,ohall 2024-09-05 14:56:03 +00:00
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in
mots.yaml Bug 1925547 - Update MOTS with a new Android Components module owner r=zeid,jonalmeida,gl 2024-10-25 19:36:38 +00:00
moz.build Bug 1923364 - Add topic guides for app-services, r=nanj,markh DONTBUILD 2024-10-09 23:24:17 +00:00
moz.configure Bug 1717448 - Vendor {fmt} in third_party. r=glandium 2024-10-21 12:54:52 +00:00
mozilla-config.h.in
old-configure.in Bug 1907180 - Remove obsolete AC_CANONICAL_SYSTEM from old-configure r=glandium 2024-08-29 07:42:33 +00:00
package-lock.json Bug 1921088 - Upgrade Stylelint and related libraries to the latest version r=Standard8,devtools-reviewers,omc-reviewers,home-newtab-reviewers,nchevobbe,thecount,desktop-theme-reviewers,dao,aminomancer 2024-10-15 19:39:46 +00:00
package.json Bug 1921088 - Upgrade Stylelint and related libraries to the latest version r=Standard8,devtools-reviewers,omc-reviewers,home-newtab-reviewers,nchevobbe,thecount,desktop-theme-reviewers,dao,aminomancer 2024-10-15 19:39:46 +00:00
pyproject.toml
README.txt
settings.gradle Bug 1894704 - Check if the gradle extension mozconfig property is set and only apply mozconfig.gradle when it is not available. r=gl,geckoview-reviewers,android-reviewers,ohall 2024-08-19 15:24:50 +00:00
substitute-local-geckoview.gradle
test.mozbuild

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.