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
Matthias Camenzind c9300fab1e Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio
Implementations of nsIEmbeddingSiteWindow and nsIBaseWindow largely
overlap, and where they don't, the nsIEmbeddingSiteWindow implementation
of the otherwise shared interface is primarily stubbed out with the
exception of Get/SetDimensions().

This patch moves a reimplementation of Get/SetDimensions() from
nsIEmbeddingSiteWindow to nsIBaseWindow. The other methods of
nsIEmbeddingSiteWindow remain covered by nsIBaseWindow.
Get/SetDimensions() can be implemented as part of nsIWebBrowserChrome
where nsIBaseWindow is not necessary. This removes the need for
nsIEmbeddingSiteWindow.

Blur() has also been moved to nsIWebBrowserChrome, as only
nsContentTreeOwner has an actual implementation which we in theory also
want to call from BrowserChild/Parent, but the spec suggests to
"selectively or uniformly ignore calls".

GetVisibility() had an implementation in BrowserChild that pretended to
always be visible. Instead of providing an interface for that,
nsDocShell now handles the not implemented case for tree owners.

nsIEmbeddingSiteWindow::GetSiteWindow() used to call through to
nsIBaseWindow::GetParentNativeWindow().

The Get/SetDimensions() implementation has been replaced with a strongly
typed setter, which is now also used directly from nsGlobalWindowOuter
to avoid problems that come with autodetecting unchanged dimensions,
when the current dimensions are outdated (e.g. immediately reverting a
change can be ignored).

Differential Revision: https://phabricator.services.mozilla.com/D160260
2022-12-15 23:13:00 +00:00
.cargo Bug 1801295 (part 2) - vendor new application-services with the fix. r=skhamis 2022-12-15 22:51:51 +00:00
.vscode
accessible Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
browser Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio 2022-12-15 23:13:00 +00:00
build Bug 1804360 - Update goblin to 0.6.0. r=janerik,supply-chain-reviewers 2022-12-15 09:13:24 +00:00
caps Backed out changeset 514642d76faa (bug 1792138) for causing mochitests failures in test_ext_protocolHandlers.html. CLOSED TREE 2022-12-13 14:53:38 +02:00
chrome Bug 1805100 - Remove "else if" after interruptions of control flow. r=sylvestre 2022-12-13 09:12:55 +00:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-12-12 14:52:47 +00:00
devtools Bug 1783100 - Remove osfile.jsm usage from DevToolsUtils.js r=ochameau 2022-12-15 19:46:29 +00:00
docs Bug 1805189 - Update performance testing mots entry. r=davehunt,zeid 2022-12-15 18:22:30 +00:00
docshell Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio 2022-12-15 23:13:00 +00:00
dom Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio 2022-12-15 23:13:00 +00:00
editor Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
extensions Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
gfx Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +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 1750670 - Better support orientation.lock('natural'). r=geckoview-reviewers,calu 2022-12-14 03:42:45 +00:00
image Bug 1801397. Render questionable 1x1 gifs with no image data like other clients. r=aosmond 2022-12-15 00:41:56 +00:00
intl Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
ipc Bug 1799470 - Merge old embedding logic into ContentChild r=nika 2022-12-15 03:06:22 +00:00
js Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
layout Bug 1804997 Part 4 - Move SumOfChildrenBlockSizeProperty into a struct. r=dholbert 2022-12-15 21:58:31 +00:00
media Bug 1805721 - Update libcubeb to revision dbc60333. r=cubeb-reviewers,kinetik 2022-12-15 08:59:19 +00:00
memory Bug 1805690 - Convert block_analyzer.py to python3. r=mccr8 2022-12-15 18:08:40 +00:00
mfbt Bug 840706 - Part 1: Add MFBT_API annotations to other methods in StringToDoubleConverter, r=glandium 2022-12-06 20:27:49 +00:00
mobile Bug 1803178 - Port osfile.jsm usage to IOUtils in mobile/android/, pt 2 r=m_kato 2022-12-15 19:50:37 +00:00
modules Bug 1803245 - Add Timeout nsiTimer onto the Document to track active IdentityCredential requests, r=timhuang 2022-12-14 14:02:57 +00:00
mozglue Bug 1805819 - Add TSAN suppression for tzset_internal. r=decoder 2022-12-15 17:41:27 +00:00
netwerk Bug 1801608 - Early Hints: Depriorize preload channel to unblocked background load r=necko-reviewers,valentin 2022-12-15 17:25:25 +00: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 1800048: Don't expose the LINKS_TO relation via ATK and IA2. r=morgan 2022-11-15 06:46:24 +00:00
parser Bug 1801862 - Remove the pref to run the HTML parser on the main thread. r=edgar 2022-12-14 11:58:02 +00:00
python Bug 1790387 - A11y improvements for the Feature Callout step indicator r=aminomancer,bolsson 2022-12-15 21:48:42 +00:00
remote Bug 1797914 - Remove usage of mail-delayed-startup-finished. r=whimboo,webdriver-reviewers,mkmelin,jdescottes 2022-12-15 15:30:43 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=RyanVM 2022-12-15 14:04:48 +00:00
services Bug 1801295 (part 1) - add a test demonstrating how tabs aren't returned after a quickwrite. r=skhamis 2022-12-15 22:51:50 +00:00
servo Bug 1805894 - Lint container_rule.rs. r=emilio 2022-12-15 14:13:31 +00:00
startupcache Bug 1800050 - Use UniqueFreePtr in StartupCache::PutBuffer. r=nbp 2022-12-01 10:46:34 +00:00
storage Bug 1802689 - Add missing licenses info in Cargo.toml r=mhoye,necko-reviewers,kershaw,valentin 2022-12-13 09:14:44 +00:00
supply-chain Bug 1804853 - upgrade to authenticator 0.4.0-alpha.6. r=supply-chain-reviewers 2022-12-15 17:14:41 +00:00
taskcluster Bug 1778822 - Create CI files for fenix and focus startup benchmarks. r=perftest-reviewers,sparky 2022-12-15 16:57:28 +00:00
testing Backed out changeset 34ec63cced63 (bug 1575154) for causing wpt failures on idlharness.https.html . CLOSED TREE 2022-12-15 23:10:35 +02:00
third_party Bug 1801295 (part 2) - vendor new application-services with the fix. r=skhamis 2022-12-15 22:51:51 +00:00
toolkit Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio 2022-12-15 23:13:00 +00:00
tools Backed out 4 changesets (bug 1805427) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js CLOSED TREE 2022-12-15 18:43:29 +02:00
uriloader Backed out changeset 514642d76faa (bug 1792138) for causing mochitests failures in test_ext_protocolHandlers.html. CLOSED TREE 2022-12-13 14:53:38 +02:00
view Bug 1802225 - Remove Layers.{h,cpp}. r=tnikkel,geckoview-reviewers,jgilbert,media-playback-reviewers,padenot,m_kato 2022-11-29 01:52:03 +00:00
widget Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio 2022-12-15 23:13:00 +00:00
xpcom Bug 1805931, 1805931: apply code formatting via Lando 2022-12-15 19:51:16 +00:00
xpfe/appshell Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio 2022-12-15 23:13:00 +00: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 1666491 - Add a eslint-build tester (tier 3) that depends on xpt artifacts. r=nalexander,releng-reviewers,gbrown 2022-11-17 10:57:41 +00:00
.eslintignore Bug 1803360 - [devtools] Put pretty-fast library in tree. r=ochameau. 2022-12-08 15:54:07 +00:00
.eslintrc-test-paths.js Bug 1774300 - Implement VideoColorSpace r=padenot,jgilbert 2022-10-06 00:37:20 +00:00
.eslintrc.js Bug 1799683 - Add disable next line for all accessible/tests. r=eeejay 2022-12-12 17:10:02 +00:00
.flake8 Bug 1622677 - Make dom/bindings flake8 compliant. r=sylvestre 2022-10-31 17:45:33 +00:00
.git-blame-ignore-revs Bug 1735638 - Add Bug 1571899 to annotate/blame ignore revisions. r=glandium DONTBUILD 2021-10-14 16:02:46 +00:00
.gitattributes
.gitignore Bug 1784022 - [refactor] Convert text-emphasis-position #defines to enum classes r=emilio 2022-09-27 07:38:08 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1790483 - Vendor the lit library in toolkit/content/widgets r=hjones 2022-12-07 15:46:06 +00:00
.hgtags No bug - tagging c52e7b297e0f4d0cf588e488f08492a240d29322 with FIREFOX_NIGHTLY_109_END a=release DONTBUILD CLOSED TREE 2022-12-12 14:52:40 +00:00
.isort.cfg Bug 1492495 - Add flake8-isort plugin to sort Python includes, with support for autofixing through isort. r=linter-reviewers,ahal 2022-11-03 13:50:46 +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
.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
aclocal.m4
AUTHORS
build.gradle Backed out 4 changesets (bug 1805427) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js CLOSED TREE 2022-12-15 18:43:29 +02:00
Cargo.lock Bug 1801295 (part 2) - vendor new application-services with the fix. r=skhamis 2022-12-15 22:51:51 +00:00
Cargo.toml Bug 1801295 (part 2) - vendor new application-services with the fix. r=skhamis 2022-12-15 22:51:51 +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 1790816 - Reformat client.py and configure.py with isort. r=linter-reviewers,sylvestre DONTBUILD 2022-11-24 13:09:01 +00:00
CLOBBER Bug 1800920 - Vendor libwebrtc from 29d7292a34 - moz.build file updates 2022-12-13 13:57:19 -06: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 1790816 - Reformat client.py and configure.py with isort. r=linter-reviewers,sylvestre DONTBUILD 2022-11-24 13:09:01 +00:00
GNUmakefile
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
LICENSE
mach Bug 1766497 - Remove early exit on Homebrew Python3.10 now that we're using venv instead of virtualenv r=firefox-build-system-reviewers,nalexander 2022-11-01 07:48:06 +00:00
mach.cmd
mach.ps1
Makefile.in
mots.yaml Bug 1805189 - Update performance testing mots entry. r=davehunt,zeid 2022-12-15 18:22:30 +00:00
moz.build Bug 1804449: document basic information about update infrastructure and watershed updates in the source docs. r=jcristau 2022-12-13 16:57:52 +00:00
moz.configure Bug 1802405 - Prepend mozillabuild msys2 to path only for the build. r=glandium 2022-11-26 23:23:34 +00:00
mozilla-config.h.in
old-configure.in Bug 1804605 - Remove leftovers from bug 1520340. r=firefox-build-system-reviewers,nalexander 2022-12-12 21:43:52 +00:00
package-lock.json Bug 1802860 - Update top-level and eslint-plugin-mozilla node_modules packages. r=mossop 2022-12-06 14:35:07 +00:00
package.json Bug 1802860 - Update top-level and eslint-plugin-mozilla node_modules packages. r=mossop 2022-12-06 14:35:07 +00:00
README.txt
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

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.