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
Tim Huang 05d8e8c08e Bug 1833213 - Clone the image data if canvas randomization is enabled in CanvasRenderingContext2D::GetImageDataArray(). r=tjr,lsalzman
When introducing the random noises to the image data in
CanvasRenderingContext2D::GetImageDataArray would also alter the actual
image buffer. This will change the random noises every time we call the
function because the random noises is generated according to the image
data. This is undesirable and the random noises should remain the
same in the browsing session with the same canvas.

To fix this issue, we clone the actual image data if canvas randomization is
enabled and introduce noises to the cloned data, which doesn't change
the actual image buffer. So, the random nosies will remain consistent in
a single browser session.

We also fix some minor issues in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D178327
2023-05-17 21:43:48 +00:00
.cargo Bug 1817997 - Update mp4parse-rust to revision cf8b0e04. r=media-playback-reviewers,glandium,kinetik 2023-05-17 15:47:08 +00:00
.vscode
accessible Bug 1833716 - Cleanup a bit the code for bug 1832449. r=morgan 2023-05-17 21:08:33 +00:00
browser Bug 1812278 - Use em for quickactions font size. r=dao 2023-05-17 20:47:13 +00:00
build Bug 1832700 - Set MSVS_VERSION according to the MSVC version. r=firefox-build-system-reviewers,andi 2023-05-15 21:56:37 +00:00
caps Bug 1724649 - Followup to remove #include plstr.h r=necko-reviewers,xpcom-reviewers,valentin,nika 2023-05-15 14:53:02 +00:00
chrome
config Bug 1821680 - provide --enable-lto=full-cross r=glandium 2023-05-10 10:56:31 +00:00
devtools Bug 1832081 - [devtools] Fix SourceTree icons always matching the currently selected source. r=devtools-reviewers,nchevobbe 2023-05-17 15:13:00 +00:00
docs Bug 1831312 - Use the mach cargo machinery to lint using clippy. r=glandium,linter-reviewers,ahal 2023-05-17 11:07:47 +00:00
docshell Bug 1816287 - Always exit fullscreen when triggering on external protocol r=edgar 2023-05-17 18:00:18 +00:00
dom Bug 1833213 - Clone the image data if canvas randomization is enabled in CanvasRenderingContext2D::GetImageDataArray(). r=tjr,lsalzman 2023-05-17 21:43:48 +00:00
editor Bug 1832710 - Make EditorBase::DispatchClipboardEventAndUpdateClipboard handle ePasteNoFormatting event message r=m_kato 2023-05-16 22:44:10 +00:00
extensions
gfx Bug 1833616 - Use RAII to manage Push/Pop of gfxContext Clip r=emilio,gfx-reviewers,lsalzman 2023-05-17 15:08:28 +00:00
gradle/wrapper
hal
image Bug 1816287 - Always exit fullscreen when triggering on external protocol r=edgar 2023-05-17 18:00:18 +00:00
intl
ipc Bug 1778454 - Properly reflect the hsts status in the securityInfo object. r=keeler,robwu 2023-05-15 09:31:49 +00:00
js Bug 1724509: Part 2 - Don't load preloader caches when startup cache is being ignored. r=mccr8 2023-05-17 20:03:19 +00:00
layout Backed out changeset ade350a1d864 (bug 1818141) for causing multiple failures at RestyleManager.cpp 2023-05-18 01:49:46 +03:00
media Bug 1831930 - Apply local patches to libvpx r=webrtc-reviewers,ng 2023-05-12 01:08:58 +00:00
memory Bug 1832708 - Disable std::__throw_* wrapping on libc++ >= 14.0. r=firefox-build-system-reviewers,andi 2023-05-15 21:10:55 +00:00
mfbt Bug 1821362 - Replace EuclidGCD by a binary gcd algorithm using intrinsics. r=media-playback-reviewers,alwu 2023-05-17 15:47:05 +00:00
mobile Bug 1833093 - Add suport for Nimbus in pdf.js with GeckoView r=geckoview-reviewers,pdfjs-reviewers,marco,amejiamarmol,ohall 2023-05-17 20:13:45 +00:00
modules Bug 1448046: Disable the components shim on all channels r=webcompat-reviewers,denschub 2023-05-17 19:32:27 +00:00
mozglue Bug 1831581 - Expose raw innards of TimeStamp. r=glandium 2023-05-16 18:00:23 +00:00
netwerk Bug 1828537 - Add assertion to check if HttpChannelChild is released on main thread, r=necko-reviewers,valentin 2023-05-17 21:25:33 +00:00
nsprpub
other-licenses
parser Bug 1816287 - Always exit fullscreen when triggering on external protocol r=edgar 2023-05-17 18:00:18 +00:00
python Bug 1833228 - Update naming for new TabList reusable component files to be domain-specific r=mstriemer,fluent-reviewers,fxview-reviewers,flod,sclements 2023-05-17 14:35:53 +00:00
remote Merge mozilla-central to autoland. a=merge CLOSED TREE 2023-05-16 15:37:05 +03:00
security Bug 1832921 - Remove nsIOSFileConstantsService usage browser_content_sandbox_syscalls.js r=Gijs,gerard-majax 2023-05-16 16:37:56 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,dmeehan 2023-05-15 12:50:37 +00:00
servo Bug 1832729 - Reject empty svg path string for basic shape path function. r=emilio 2023-05-17 19:58:11 +00:00
startupcache Bug 1724509: apply code formatting via Lando 2023-05-17 20:06:03 +00:00
storage Bug 1833233 - Add description for some database header fields; r=dom-storage-reviewers,hsingh,asuth 2023-05-16 20:59:36 +00:00
supply-chain Bug 1833151 - [css-nesting] Update cssparser again. r=tlouw,supply-chain-reviewers,zrhoffman 2023-05-16 18:02:52 +00:00
taskcluster Bug 1809580 - fix expiration of docker image artifacts r=releng-reviewers,bhearsum DONTBUILD 2023-05-17 14:35:43 +00:00
testing Bug 1832729 - Reject empty svg path string for basic shape path function. r=emilio 2023-05-17 19:58:11 +00:00
third_party Bug 1817997 - Update mp4parse-rust to revision cf8b0e04. r=media-playback-reviewers,glandium,kinetik 2023-05-17 15:47:08 +00:00
toolkit Bug 1833213 - Clone the image data if canvas randomization is enabled in CanvasRenderingContext2D::GetImageDataArray(). r=tjr,lsalzman 2023-05-17 21:43:48 +00:00
tools Bug 1831363 - Converted SitePermissions.jsm to ES modules and all of its corresponding references. r=pbz 2023-05-17 14:45:26 +00:00
uriloader Bug 1824959 - add tests for .desktop sanitization, r=NeilDeakin 2023-05-16 23:00:45 +00:00
view
widget Bug 1801419 - Explicitly load and initialize SidecarCore framework. r=mac-reviewers,spohl 2023-05-17 20:06:07 +00:00
xpcom Bug 1363754 - Disable NSCAP_FEATURE_USE_BASE. r=smaug 2023-05-17 16:59:24 +00:00
xpfe/appshell
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml Bug 1824829 - Add a daily cron for building and running performance tests on custom-car. r=perftest-reviewers,afinder 2023-05-16 13:36:22 +00:00
.eslintignore Bug 1508369 - add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre 2023-05-11 16:06:38 +00:00
.eslintrc-test-paths.js Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug 2023-05-12 18:34:28 +00:00
.eslintrc.js Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug 2023-05-12 18:34:28 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags
.lando.ini
.lldbinit
.mailmap
.prettierignore Bug 1829618 - Enable Prettier on json files (configuration changes). r=mossop 2023-05-09 16:14:52 +00:00
.prettierrc.js
.stylelintignore Bug 1508369 - add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre 2023-05-11 16:06:38 +00:00
.stylelintrc.js Bug 1831302 - [devtools] remove unused debugger .stylelintrc and .stylelintignore. r=Gijs,devtools-reviewers,ochameau. 2023-05-15 08:35:12 +00:00
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1828066 - Update to Glean v52.7.0 r=chutten,supply-chain-reviewers 2023-05-11 11:25:33 +00:00
Cargo.lock Bug 1817997 - Update mp4parse-rust to revision cf8b0e04. r=media-playback-reviewers,glandium,kinetik 2023-05-17 15:47:08 +00:00
Cargo.toml Bug 1833151 - [css-nesting] Update cssparser again. r=tlouw,supply-chain-reviewers,zrhoffman 2023-05-16 18:02:52 +00:00
client.mk
client.py
CLOBBER
configure
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in
mots.yaml
moz.build
moz.configure Bug 1832209 - Remove a bunch of unused add_old_configure_assignment. r=firefox-build-system-reviewers,ahochheiden 2023-05-10 22:13:13 +00:00
mozilla-config.h.in
old-configure.in Backed out changeset b13e72246d35 (bug 1831935) for causing android reftest and mochitest failures CLOSED TREE 2023-05-18 00:20:02 +03:00
package-lock.json Bug 1508369 - add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre 2023-05-11 16:06:38 +00:00
package.json Bug 1508369 - add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre 2023-05-11 16:06:38 +00:00
pyproject.toml
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.