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
Перейти к файлу
Platon Pronko 299c1ddce1 Bug 1640745 - fix NewChannelId so that ids fit into safe JS integer range r=necko-reviewers,valentin
On Linux PID_MAX_LIMIT is 2^22. By default pid_max was set to 2^15, but
systemd since version 243 sets it to 2^22.
nsHttpHandler::NewChannelId uses PID shifted by 32 bits to generate
channelId, and that results in values greater than 2^53.
Such values are fine for uint64_t, but when we pass channelId to
devtools it gets converted to JavaScript floats, and values greater
than 2^53 get errors in lower two bits. This in turn leads to much
sorrow, like request id collisions or "no headers for this request".

This patch shifts the PID by one bit less, resulting in channelIds
that always fit into safe JavaScript integer range for all PIDs.

Differential Revision: https://phabricator.services.mozilla.com/D85990
2020-08-06 07:25:06 +00:00
.cargo Bug 1657062: vendor Cranelift to rev fc88898e9ad7766feadfa0954c4594fcccd86b92 to fix fuzzbug. r=jseward 2020-08-05 17:40:30 +00:00
.vscode Bug 1656740 - Integrate `clangd` in `vscode` for C++ language support. r=froydnj 2020-08-06 06:25:17 +00:00
accessible Bug 1635722 - Check existance of proxy accessibles for pivot boundaries. r=Jamie 2020-08-04 22:16:23 +00:00
browser Backed out changeset 7b46f9754641 (bug 1587653) for bc failures browser_protections_lockwise.js. 2020-08-06 07:59:52 +03:00
build Bug 1657299 - First step of refactor `static-analysis` integration, making it more modular. r=marco 2020-08-06 06:51:16 +00:00
caps Backed out changeset 6d39aab86966 (bug 1633710) for failure at test_disabled_hosts.js. CLOSED TREE 2020-08-05 22:19:30 +03:00
chrome Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
config Bug 1657420 - Use single quotes instead of double quotes for the version_win.py command. r=dmajor 2020-08-05 22:48:45 +00:00
devtools Bug 1656706 - Fix prefixed properties being displayed incorrectly in the Compatibility panel, for RTL r=daisuke 2020-08-06 03:36:28 +00:00
docs Bug 1656740 - Integrate `clangd` in `vscode` for C++ language support. r=froydnj 2020-08-06 06:25:17 +00:00
docshell Backed out 10 changesets (bug 1589102) for failure at browser_saveHeapSnapshot_e10s_01.js CLOSED TREE 2020-08-05 21:47:50 +03:00
dom Bug 1634200 add crashtest with AudioWorkletNode after unload r=padenot 2020-08-06 01:12:43 +00:00
editor Backed out 4 changesets (bug 1623764) for mochitest failures on test_movement_by_characters.html. CLOSED TREE 2020-08-06 08:09:42 +03:00
extensions Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
gfx Backed out changeset 9086f10df485 (bug 1657107) for build bustage at MacIOSurface.cpp. CLOSED TREE 2020-08-06 07:31:22 +03:00
gradle/wrapper
hal Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
image Backed out changeset 3449736e0af5 (bug 1655846) for GTest failures on Android 2020-08-05 11:49:52 +03:00
intl Bug 1656307 - Clean up some do_ImportModule calls with new overload, r=kmag 2020-08-04 21:39:52 +00:00
ipc Bug 1251612 - Support the GetFrameUniformity API in content processes. r=botond,froydnj 2020-08-05 21:42:06 +00:00
js Backed out changeset c2583743d4eb (bug 1654149) for bustage on ObjLiteral.cpp. CLOSED TREE 2020-08-06 09:55:40 +03:00
layout Backed out 4 changesets (bug 1623764) for mochitest failures on test_movement_by_characters.html. CLOSED TREE 2020-08-06 08:09:42 +03:00
media Bug 1654248 - Fix missing telemetry reporting of WEBRTC_CALL_DURATION, and stop counting renegotiations in WEBRTC_CALL_COUNT_2. r=bwc 2020-08-05 23:47:46 +00:00
memory Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
mfbt Bug 1656041 - Part 2: Return a struct from GetFrameFromDirection r=emilio 2020-08-04 15:23:47 +00:00
mobile Bug 1651088 - ensure ExoPlayer instance operate on a single thread. r=geckoview-reviewers,snorp 2020-08-05 20:04:30 +00:00
modules Bug 1657224 - add a pref to control stopping media after media reaches to the end. r=chunmin 2020-08-05 23:12:16 +00:00
mozglue Bug 1655680 - Support JAE rel32 in our detour. r=handyman 2020-08-05 07:21:00 +00:00
netwerk Bug 1640745 - fix NewChannelId so that ids fit into safe JS integer range r=necko-reviewers,valentin 2020-08-06 07:25:06 +00:00
nsprpub Bug 1656520 - NSPR_4_28_BETA1. r=kjacobs UPGRADE_NSPR_RELEASE 2020-08-04 12:01:24 +00:00
other-licenses Bug 1634535 - Move ply to third_party/python r=glandium 2020-05-05 16:02:02 +00:00
parser Bug 1653474 - Process META elements when it's inserted r=smaug 2020-08-05 16:32:57 +00:00
python Bug 1657299 - First step of refactor `static-analysis` integration, making it more modular. r=marco 2020-08-06 06:51:16 +00:00
remote Bug 1654922 - Part 2: Remove DocumentChannel pref from mach and mochitest tools, r=mattwoodrow,remote-protocol-reviewers,maja_zf 2020-07-31 13:06:08 +00:00
security Bug 1655105 - land NSS afa38fb2f0b5 UPGRADE_NSS_RELEASE, r=jcj 2020-08-04 19:54:56 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM 2020-08-03 14:13:18 +00:00
servo Backed out 4 changesets (bug 1656236) for build bustages on a CLOSED TREE 2020-08-05 12:10:43 +03:00
startupcache Bug 1651941 - Free unreferenced child StartupCache entries on send r=froydnj 2020-07-22 20:31:31 +00:00
storage Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
taskcluster Bug 1648051 Task resource monitor r=mtabara,tomprince 2020-08-06 01:21:24 +00:00
testing Bug 1657461 - [mozdevice] Relax success requirements for remount; r=bc 2020-08-05 19:45:51 +00:00
third_party Bug 1657062: vendor Cranelift to rev fc88898e9ad7766feadfa0954c4594fcccd86b92 to fix fuzzbug. r=jseward 2020-08-05 17:40:30 +00:00
toolkit Bug 1657446 - Fix lint error after bug 1656044. r=nalexander 2020-08-06 03:19:41 +00:00
tools Bug 1657299 - First step of refactor `static-analysis` integration, making it more modular. r=marco 2020-08-06 06:51:16 +00:00
uriloader Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
view Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
widget Bug 1656587 - Retrieve Default Printer Name Using CUPS r=AlaskanEmily 2020-08-06 04:28:01 +00:00
xpcom Bug 1652278 part 2: Flesh out PrintedSheetFrame implementation so that it serves as the container for nsPageFrame. r=TYLin 2020-08-05 03:28:32 +00:00
xpfe/appshell Bug 1653729 - Part 1: Generalize do_QueryActor API, r=kmag 2020-08-04 21:34:29 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
.clang-format
.clang-format-ignore Bug 1651731: [lint] Only allow files that are typically executable to have shebang lines override permission check; r=linter-reviewers,sylvestre 2020-07-09 21:16:32 +00:00
.cron.yml Bug 1656475 - Activate performance alerting on multi commit Fenix performance tests r=perftest-reviewers,sparky 2020-08-05 16:06:17 +00:00
.eslintignore Bug 1618465 - Move pdf.js to toolkit (main files). r=bdahl,Pike 2020-07-02 07:13:46 +00:00
.eslintrc.js Bug 1656292 - Enable remaining ESLint rules on editor/libeditor/tests/*.xhtml files. r=masayuki 2020-07-31 23:58:46 +00:00
.flake8 Bug 1654090 - Replace testing/mochitest/pywebsocket with pywebsocket3; r=jmaher 2020-07-22 02:06:38 +00:00
.git-blame-ignore-revs Bug 1633969 - Add bug 1298559 to .{hg-annotate,git-blame}-ignore-revs. r=sylvestre 2020-04-30 12:54:10 +00:00
.gitattributes
.gitignore Bug 1651214 - Ignore .python-version file at top of checkout r=nalexander 2020-07-07 23:41:55 +00:00
.hg-annotate-ignore-revs Bug 1633969 - Add bug 1298559 to .{hg-annotate,git-blame}-ignore-revs. r=sylvestre 2020-04-30 12:54:10 +00:00
.hg-format-source
.hgignore Bug 1651214 - Ignore .python-version file at top of checkout r=nalexander 2020-07-07 23:41:55 +00:00
.hgtags No bug - tagging e8d1d9067328f6929a618c67f5d1e83cd9a4858f with FIREFOX_NIGHTLY_80_END a=release DONTBUILD CLOSED TREE 2020-07-27 17:45:36 +00:00
.lldbinit Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal 2019-12-20 17:10:12 +00:00
.mailmap Bug 1650456 - Correct name in a few places, r=froydnj 2020-07-03 20:20:29 +00:00
.prettierignore Bug 1609671 - Inspect binding should try to get the sourcemapped location while inspecting a function. r=jdescottes,vporof 2020-01-24 12:58:24 +00:00
.prettierrc Bug 1620218 - Update Prettier to 1.18.2 and other ESLint modules to the latest versions. r=mossop 2020-03-08 21:45:23 +00:00
.taskcluster.yml Bug 1652184: Report to perherder stats about bugbug timings; r=ahal 2020-07-13 19:53:00 +00:00
.trackerignore
.yamllint Bug 1606009 - Fix & silent some tests r=Callek 2019-12-26 22:13:18 +00:00
.ycm_extra_conf.py Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre 2020-06-17 17:53:56 +00:00
AUTHORS
CLOBBER Bug 1655105 - Add back comments to CLOBBER file. a=CLOBBER 2020-08-05 14:43:40 +02:00
Cargo.lock Bug 1657062: vendor Cranelift to rev fc88898e9ad7766feadfa0954c4594fcccd86b92 to fix fuzzbug. r=jseward 2020-08-05 17:40:30 +00:00
Cargo.toml Bug 1657062: vendor Cranelift to rev fc88898e9ad7766feadfa0954c4594fcccd86b92 to fix fuzzbug. r=jseward 2020-08-05 17:40:30 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1654994 - Switch full symbols archive to tar.zst. r=firefox-build-system-reviewers,rstewart,tomprince 2020-07-31 20:27:54 +00:00
README.txt Bug 1617846 - Replace IRC with matrix.r=firefox-source-docs-reviewers,sylvestre 2020-02-25 11:39:53 +00:00
aclocal.m4 Bug 1635764 - Move --with-system-icu and --with-intl-api to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 21:29:52 +00:00
build.gradle Bug 1641983 - Update apilint to 0.3.0. r=snorp 2020-06-01 15:58:01 +00:00
client.mk Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium 2020-05-05 19:53:22 +00:00
client.py Bug 1650306 - Address the defects found by the pylint/no-else-return rule. r=sylvestre 2020-07-08 09:24:49 +00:00
configure.in Bug 1644887 - `configure` calls into `$PYTHON3` rather than `python3` directly r=glandium 2020-06-10 21:29:27 +00:00
configure.py Bug 1649901 - Improve reproducibility of config_status_deps.in files r=froydnj 2020-07-01 22:55:52 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1594914 - Convert mach python-test to run with python 3 r=gbrown 2020-08-04 17:40:58 +00:00
moz.build Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina. 2020-07-07 07:38:27 +00:00
moz.configure Bug 1641291 - Part 1: Allow cross-compiling from host macOS -> Windows target. r=froydnj 2020-07-07 02:13:35 +00:00
mozilla-config.h.in
old-configure.in Bug 1656346 - Move `--enable-startupcache` from `old-configure` r=firefox-build-system-reviewers,mhentges,glandium 2020-08-05 00:28:34 +00:00
package-lock.json Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
package.json Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
settings.gradle Backed out changeset d0ff30e1d830 (bug 1650692) for toolchains failures on ImageDecoderTest.kt. CLOSED TREE 2020-07-15 07:42:37 +03:00
substitute-local-geckoview.gradle
test.mozbuild

README.txt

An explanation of the Mozilla 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 Mozilla from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/how_to_contribute_firefox.html

If you have a question about developing Mozilla, and can't find the solution
on https://developer.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 Mozilla developers for
testing, may be buggy.