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
Peter Van der Beken 3e507adf99 Bug 1788969 - Align async iterable code more closely with the spec. r=edgar
Implement the common steps for the next method from
https://webidl.spec.whatwg.org/#es-asynchronous-iterator-prototype-object in
a base class, that all async iterable iterator objects inherit from. Natives
that implement an async iterable only need to implement the "getting the
next iteration result" part in their GetNextPromise method. This means they
don't have to create the object according to "CreateIterResultObject"
themselves, but can just create promise and often resolve it with a native
value directly. We've switched to a special JS::Value to signal "end of
iteration", but that's hidden inside the
iterator_utils::ResolvePromiseForFinished helper.
The WebIDL parser now uses the right return type for the generated "next"
method, which means that any exceptions in the binding code itself will
actually be correctly converted to a rejected promise instead of being
rethrown.
This also uses a class for the generated iterable iterator that's not
exposed outside the binding code. No other code should create and/or
wrap these anyway.

Differential Revision: https://phabricator.services.mozilla.com/D156323
2022-09-22 18:28:15 +00:00
.cargo Bug 1790931 - vendor a new application-services so golden_gate doesn't get stale. r=bdk 2022-09-19 23:37:51 +00:00
.vscode Bug 1769759 - Update extension ID for rust-analyzer vscode extension recommendation. r=andi 2022-05-17 14:36:27 +00:00
accessible Bug 1789967 - part 3: Make HTMLEditor::CollapseSelectionToEndOfLastLeafNodeOfDocument and HTMLEditor::InitEditorContentAndSelection do nothing if the document is partially editable r=m_kato 2022-09-22 06:27:37 +00:00
browser Bug 1789826 - Update z-index of section headers to prevent focus ring from being obscured r=dao 2022-09-22 17:28:35 +00:00
build Bug 1791480 - Handle the situation when clang doesn't have the same default C++ standard for host and target. r=firefox-build-system-reviewers,andi 2022-09-22 08:01:17 +00:00
caps Bug 1694993 - Part 6: Preserve precursor principal through LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL, r=ckerschb,smaug 2022-09-20 23:29:08 +00:00
chrome Bug 1791350 - Replace C++ uses of Services.startup.shuttingDown with appropriate AppShutdown::IsInOrBeyond. r=florian 2022-09-20 05:59:26 +00:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-09-19 10:51:32 +00:00
devtools Bug 1791870 - Add BackgroundThreadPool to the media preset. r=julienw DONTBUILD 2022-09-22 17:41:02 +00:00
docs Bug 1791837 - Add documentation for PerfStats r=jesup DONTBUILD 2022-09-21 18:24:42 +00:00
docshell Bug 1768907 - Part 1: Make browser.privatebrowsing.autostart a static pref. r=handyman,necko-reviewers 2022-09-22 00:26:17 +00:00
dom Bug 1788969 - Align async iterable code more closely with the spec. r=edgar 2022-09-22 18:28:15 +00:00
editor Bug 1777060 - disable test_caret_move_in_vertical_content.html on android debug r=intermittent-reviewers,MasterWayZ DONTBUILD 2022-09-22 11:38:35 +00:00
extensions Bug 1768907 - Part 1: Make browser.privatebrowsing.autostart a static pref. r=handyman,necko-reviewers 2022-09-22 00:26:17 +00:00
gfx Bug 1645677 [Wayland] Update EGLSurface when wl_surface is deleted r=emilio,jgilbert 2022-09-22 09:41:04 +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 1791531 - Do not assume that the battery listener has been registered correctly on macOS r=haik 2022-09-22 09:29:42 +00:00
image Bug 1790451 - make nsIChannel.securityInfo concrete as nsITransportSecurityInfo r=kershaw,necko-reviewers,valentin,geckoview-reviewers,owlish 2022-09-20 03:58:49 +00:00
intl Bug 1790614 - Part 2: Use {ASSERT,ENSURE}_NS_{SUCCEEEDED,FAILED} in gtests, r=ahal,necko-reviewers 2022-09-15 14:51:50 +00:00
ipc Bug 1790868 - clean up 32 bit annotations for tests that don't run on 32 bit, and general cleanup. r=aryx 2022-09-16 12:40:13 +00:00
js Bug 1791887 - Remove timing assertion that doesn't always hold r=sfink 2022-09-22 16:22:03 +00:00
layout Bug 1791760 - Move GetContainSizeAxes to nsIFrame r=emilio 2022-09-22 12:11:09 +00:00
media Bug 1791839 - Update cubeb to revision 4783607. r=cubeb-reviewers,kinetik 2022-09-22 00:22:03 +00:00
memory Bug 1785162 - [3/3] stall for half time in non-main processes r=gsvelto 2022-09-22 15:01:42 +00:00
mfbt Bug 1788969 - Correct ForEach Tuple helper functions. r=glandium 2022-09-22 18:28:15 +00:00
mobile Bug 1780093 - Use custom SurfaceView which allows magnifier widget to work. r=geckoview-reviewers,owlish 2022-09-21 17:30:26 +00:00
modules Bug 1791179 - Fix mistaken conditional in StaticPrefs. r=dragana. 2022-09-22 09:50:33 +00:00
mozglue Bug 1774773 - Added atomic locking around marker schema functions - r=florian 2022-09-15 03:39:00 +00:00
netwerk Bug 1789468 - Add telemetry probe to measure from AsyncOpen to the transaction being added to the HttpConnectionManager r=necko-reviewers,kershaw 2022-09-22 12:32:02 +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 1743947 - Update Snappy to version 1.1.9. r=dom-storage-reviewers,janv 2022-07-12 15:38:23 +00:00
parser Bug 1770888 - fix prettier lint failure on a CLOSED TREE 2022-09-20 11:56:52 +03:00
python Bug 1791952 - Show suppressed warnings before warning summary. r=firefox-build-system-reviewers,andi 2022-09-22 08:03:02 +00:00
remote Bug 1788861 - [bidi] Deserialization of remote references should not create new objects r=Sasha,webdriver-reviewers,whimboo 2022-09-20 13:29:50 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan 2022-09-22 12:46:23 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan 2022-09-22 12:46:23 +00:00
servo Backed out changeset b5f9a98c4e2e (bug 1789779) as requested by dev CLOSED TREE 2022-09-22 09:01:33 +03:00
startupcache Bug 1790614 - Part 2: Use {ASSERT,ENSURE}_NS_{SUCCEEEDED,FAILED} in gtests, r=ahal,necko-reviewers 2022-09-15 14:51:50 +00:00
storage Bug 1121282 - Allow use of thread pools for storage connections. r=asuth,dom-storage-reviewers,janv 2022-09-21 15:02:14 +00:00
supply-chain Bug 1788518 - Audit rust crates filetime_win 0.2.0 and comedy 0.2.0. r=bholley 2022-09-21 17:36:49 +00:00
taskcluster Bug 1783889 - Remove google-docs-canvas page load test. r=perftest-reviewers,afinder 2022-09-22 14:28:23 +00:00
testing Bug 1773868 - - Increase wait time for obtaining video from android devices. r=perftest-reviewers,sparky 2022-09-22 14:52:08 +00:00
third_party Bug 1784232 - part 2: Vendor mozilla-repo-urls at 0.1.0 r=ahal 2022-09-21 18:35:31 +00:00
toolkit Backed out 11 changesets (bug 1788969, bug 1782400, bug 1777145) for causing bp-hybri bustages. CLOSED TREE 2022-09-22 19:13:01 +03:00
tools Bug 1783406 - Provide a separate environment for the globals in recommended ESLint config r=Standard8 2022-09-22 15:11:38 +00:00
uriloader Bug 1790451 - make nsIChannel.securityInfo concrete as nsITransportSecurityInfo r=kershaw,necko-reviewers,valentin,geckoview-reviewers,owlish 2022-09-20 03:58:49 +00:00
view Bug 1786513 - Make SimpleResizeReflow not flush by default. r=jfkthame,layout-reviewers 2022-09-01 10:54:24 +00:00
widget Bug 1645677 [Linux] Fix build on X11 r=emilio 2022-09-22 09:41:06 +00:00
xpcom Bug 1790921 - Take advantage of infallible new in nsSupportsWeakReference::GetWeakReference(). r=xpcom-reviewers,nika 2022-09-15 15:18:58 +00:00
xpfe/appshell Bug 1768907 - Part 1: Make browser.privatebrowsing.autostart a static pref. r=handyman,necko-reviewers 2022-09-22 00:26:17 +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 1786291 - Remove esr91 references r=jcristau 2022-09-19 13:23:03 +00:00
.eslintignore Bug 1788798 - Support fluent in storybook r=hjones 2022-09-12 21:13:20 +00:00
.eslintrc-test-paths.js Bug 1782008 - Add existing test directories to the ESLint test path definition file. r=mossop 2022-08-03 11:16:19 +00:00
.eslintrc.js Bug 1791282 - Enable all ESLint rules on testing/mochitest files. r=ahal 2022-09-21 14:53:18 +00:00
.flake8 Bug 1790708 - Clean up some per-file flake8 ignores that are no longer needed. r=linter-reviewers,sylvestre DONTBUILD 2022-09-14 06:17:51 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1788186 - Remove configure from *ignore files. r=nalexander DONTBUILD 2022-08-31 17:37:40 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1788186 - Remove configure from *ignore files. r=nalexander DONTBUILD 2022-08-31 17:37:40 +00:00
.hgtags No bug - tagging 110ed519838f7e667f19176516cceab742b6ad5e with FIREFOX_NIGHTLY_106_END a=release DONTBUILD CLOSED TREE 2022-09-19 10:51:24 +00:00
.lando.ini
.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 1784232 - Bump taskgraph to v3.2.0 r=ahal 2022-09-20 09:11:45 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1788040 - Update to Glean v51.2.0. r=chutten,supply-chain-reviewers 2022-09-13 12:57:58 +00:00
Cargo.lock Bug 1790931 - vendor a new application-services so golden_gate doesn't get stale. r=bdk 2022-09-19 23:37:51 +00:00
Cargo.toml Bug 1790931 - vendor a new application-services so golden_gate doesn't get stale. r=bdk 2022-09-19 23:37:51 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-09-19 10:51:32 +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 1787628 - Add looseversion import to configure.py r=firefox-build-system-reviewers,glandium 2022-08-30 18:24:55 +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
mach.cmd
mach.ps1
Makefile.in
mots.yaml Bug 1791056 - Cleanup peer_emeritus list for JavaScript module. r=jandem,zeid 2022-09-19 12:49:02 +00:00
moz.build Bug 1737634: mots config file r=sheehan 2022-07-14 15:45:44 +00:00
moz.configure Bug 1787977 - Include configure in the tree. r=firefox-build-system-reviewers,nalexander 2022-08-30 04:02:12 +00:00
mozilla-config.h.in
old-configure.in Bug 1762484 - Enable most of the same warnings on Windows as on other platforms. r=firefox-build-system-reviewers,andi 2022-04-25 22:21:31 +00:00
package-lock.json Bug 1709150 - Consider linter rule to make https the default for all kind of tests we add. r=Standard8,Gijs 2022-09-07 08:45:12 +00:00
package.json Bug 1709150 - Consider linter rule to make https the default for all kind of tests we add. r=Standard8,Gijs 2022-09-07 08:45:12 +00:00
README.txt
settings.gradle
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.