Hiroyuki Ikezoe afcf0864e2 Bug 1890064 - Revert 3ac45af6ece7 landed in bug 1875274. r=emilio
The original code is necessary to make content documents in the parent process
on Android.

On Android each tab has an nsWindow instance regardless whether the top level
content document gets loaded in the parent process or in a content process, it's
a 1:1 relationship. Thus using the nearest widget of the root frame to obtain an
nsIWidget would be fine, it would be an nsWindow instance if the document is in
the parrent process, it would be an PuppetWidget instance if the document is in
a content process.

Differential Revision: https://phabricator.services.mozilla.com/D207670
2024-04-29 23:43:20 +00:00

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
Readme 6.2 GiB
Languages
JavaScript 32.4%
C++ 25.4%
HTML 21%
C 10.8%
Python 2.8%
Other 7.1%