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
Перейти к файлу
Simon Giesecke 55a58f0a61 Bug 847347 - Ensure that FileReader::GetAsDataURL does not trigger a release-mode assertion failure on large files. r=jstutte,froydnj
We avoid going through Substring which imposes a limit on the string length of
INT32_MAX and failing a MOZ_RELEASE_ASSERT otherwise.

This adds a new `Base64EncodeAppend` function that takes 8-bit char input and
produces 16-bit char output, and appends to an existing string, which is what
we need here to avoid doing a large copy. Base64EncodeHelper is generalized
to accomodate for that.

So in addition to fixing the defect, this also optimizes performance and
memory usage.

Differential Revision: https://phabricator.services.mozilla.com/D87413
2020-08-19 08:11:42 +00:00
.cargo Bug 1659803: Bump Cranelift to rev 924782191b1cdd85438b707d20a82fbcc8ad40e1. r=jseward 2020-08-18 19:07:53 +00:00
.vscode
accessible Bug 1659215 - Re-expose text attributes. r=morgan 2020-08-14 23:18:02 +00:00
browser Backed out changeset 1b7eb33c8ec9 (bug 1656296) for bc failure on browser_test_mixed_content_download.js . CLOSED TREE 2020-08-19 16:39:33 +03:00
build Bug 1659575 - Delete `mach python-safety` r=ahal 2020-08-18 14:18:24 +00:00
caps Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo 2020-08-17 20:20:50 +00:00
chrome
config Bug 1636797 - In `hash.py`, enumerate files from the VCS rather than searching the filesystem directly r=ahal 2020-08-17 15:19:34 +00:00
devtools Bug 1659643 - Refactor browser_dbg-chrome-debugging.js. r=bomsy. 2020-08-19 12:46:52 +00:00
docs Bug 1659726 - Fix mode line docs to use 2 space indents rather than 8. r=sylvestre DONTBUILD 2020-08-19 07:51:42 +00:00
docshell Bug 1602410 - Make window.print() work with tab-modal printing. r=nika,geckoview-reviewers,agi 2020-08-19 09:27:18 +00:00
dom Bug 847347 - Ensure that FileReader::GetAsDataURL does not trigger a release-mode assertion failure on large files. r=jstutte,froydnj 2020-08-19 08:11:42 +00:00
editor Bug 1655388 - part 7: Split off the check whether `<hr>` element should be removed or not from `HTMLEditor::HandleDeleteCollapsedSelectionAtHRElement()` r=m_kato 2020-08-19 06:48:31 +00:00
extensions Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku 2020-08-12 10:57:04 +00:00
gfx Bug 1659233 - Remove AsyncImagePipelineManager::mPendingUpdates r=nical 2020-08-19 09:32:02 +00:00
gradle/wrapper
hal
image Bug 1655846 - Hit MOZ_CRASH(assertion failed: `(left == right)` left: `1024`, right: `0`). r=tnikkel 2020-08-14 23:17:37 +00:00
intl Bug 1656515 - Decompress multilocale.txt if necessary r=dthayer 2020-08-14 18:51:13 +00:00
ipc Bug 1658847 - Put profiler thread to sleep when allocating memory for shmems. r=mstange 2020-08-18 21:40:11 +00:00
js Bug 1659140 - Part 4: Use VM calls for non-Latin1 characters in LoadStringCharResult. r=jandem 2020-08-19 10:06:33 +00:00
layout Bug 1414600 - Make media queries and viewport units in print be evaluated against the default page size minus margins. r=dholbert,nordzilla 2020-08-19 10:32:16 +00:00
media Bug 1650696 - P4. Remove the expectation for a MediaDataDecoder to work on a specified TaskQueue. r=jolin 2020-08-17 23:52:21 +00:00
memory Bug 1658424 - add support for grabbing fp on arm64 macOS in DMD; r=mccr8 2020-08-11 14:09:28 +00:00
mfbt Bug 1623715 - [4.1] Fix LinkedList::length() for a const context. r=froydnj 2020-08-18 17:29:07 +00:00
mobile Bug 1602410 - Make window.print() work with tab-modal printing. r=nika,geckoview-reviewers,agi 2020-08-19 09:27:18 +00:00
modules Bug 1602410 - Make window.print() work with tab-modal printing. r=nika,geckoview-reviewers,agi 2020-08-19 09:27:18 +00:00
mozglue Backed out 2 changesets (bug 1656526) for build bustages on EarlyBlankWindow.cpp. CLOSED TREE 2020-08-18 19:10:37 +03:00
netwerk Backed out changeset 7cad986c81a5 (bug 1605305) for failures on test_trr.js. CLOSED TREE 2020-08-18 23:38:17 +03:00
nsprpub
other-licenses
parser
python Bug 1659411 - Default virtualenv_name to None in MachCommandBase. r=firefox-build-system-reviewers,rstewart 2020-08-18 12:41:07 +00:00
remote Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo 2020-08-17 20:20:50 +00:00
security Bug 1596401 - rework certificate deletion so it happens immediately r=rmf 2020-08-17 23:23:03 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM 2020-08-13 20:33:34 +00:00
servo Bug 1414600 - Make media queries and viewport units in print be evaluated against the default page size minus margins. r=dholbert,nordzilla 2020-08-19 10:32:16 +00:00
startupcache
storage Bug 1635489: Add telemetry on the status of sqlite database accesses. r=mak 2020-08-11 20:55:33 +00:00
taskcluster Backed out 4 changesets (bug 1492362) for android wpt failures. CLOSED TREE 2020-08-19 13:54:36 +03:00
testing Bug 1654206 yahoo-news is timing out intermittently while rerecording on mitm5 r=perftest-reviewers,igoldan 2020-08-19 10:07:36 +00:00
third_party Bug 1658401 - Update rlbox to fix clang 12 break on is_reference_v r=dmajor 2020-08-19 07:49:34 +00:00
toolkit Bug 1659841 - Fixed title visibility test for commonDialog prompts on osx. r=Gijs 2020-08-19 14:28:44 +00:00
tools Bug 1659771 - Remove obsolete nsIProfiler.AddMarker API, r=gerald. 2020-08-18 22:52:55 +00:00
uriloader Backed out changeset 1b7eb33c8ec9 (bug 1656296) for bc failure on browser_test_mixed_content_download.js . CLOSED TREE 2020-08-19 16:39:33 +03:00
view
widget Bug 1651748 [Linux] Add CSD decoration size to size constraints, r=jhorak 2020-08-19 06:14:01 +00:00
xpcom Bug 847347 - Ensure that FileReader::GetAsDataURL does not trigger a release-mode assertion failure on large files. r=jstutte,froydnj 2020-08-19 08:11:42 +00:00
xpfe/appshell Backed out 2 changesets (bug 1656526) for build bustages on EarlyBlankWindow.cpp. CLOSED TREE 2020-08-18 19:10:37 +03:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml
.eslintignore
.eslintrc.js
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER
Cargo.lock Bug 1656236 - Vendor euclid update. r=kvark,gw 2020-08-18 22:58:20 +00:00
Cargo.toml Bug 1659803: Bump Cranelift to rev 924782191b1cdd85438b707d20a82fbcc8ad40e1. r=jseward 2020-08-18 19:07:53 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in
README.txt Bug 1659631 - readme: update the wording to firefox, DONTBUILD.r=sylvestre 2020-08-18 04:04:36 +00:00
aclocal.m4
build.gradle
client.mk
client.py
configure.in
configure.py
gradle.properties
gradlew
gradlew.bat
mach Bug 1656993: Create and require by default global `virtualenv`s in `~/.mozbuild` for `mach` r=mhentges,ahal 2020-08-17 17:21:02 +00:00
moz.build Bug 1607619: only run rusttests when rust files are modified. r=ahal 2020-08-12 14:36:12 +00:00
moz.configure Bug 1656993: Create and require by default global `virtualenv`s in `~/.mozbuild` for `mach` r=mhentges,ahal 2020-08-17 17:21:02 +00:00
mozilla-config.h.in
old-configure.in Bug 1659746 - Move `MOZ_WINCONSOLE` from `old-configure` to Python `configure` r=nalexander 2020-08-18 16:05:26 +00:00
package-lock.json
package.json
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

README.txt

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.