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
Перейти к файлу
Jonathan Watt eee2d4c223 Bug 1557983. Significantly simplify and fix the 'beforeprint'/'afterprint' dispatching code.
This fixes two issue.

First, the code shouldn't be dispatching these events every time it gets a new
Print or PrintPreview call.  It only needs to dispatch the events to the
original document that we're going to clone from.  When cloning from existing
static clones any changes made by 'beforeprint' will be present in the existing
static clone.

Second, the code tries to delay the 'afterprint' event until after
mozPrintCallback callbacks have been invoked, but those callbacks are invoked
in the cloned document, whereas the events are sent to the original document!
So there is no reason to do this.

Differential Revision: https://phabricator.services.mozilla.com/D34280
2020-07-11 14:14:03 +00:00
.cargo Bug 1651489 - Update neqo. r=agrover 2020-07-10 04:35:17 +00:00
.vscode Bug 1646417 - Add `mrcrowl.hg` as a default plugin to `vscode` r=andi 2020-06-17 16:26:45 +00:00
accessible Backed out changeset 54aff812a50b (bug 1650462) as requested by jya. 2020-07-11 15:46:30 +03:00
browser Bug 1651976: Update test browser_bug731866.js and browser_bug795764_cachedisabled.js to work correctly based on whether HTTPS-Only Mode preference if flipped to true of false. r=Gijs,preferences-reviewers 2020-07-10 23:08:54 +00:00
build Bug 925350 - Remove `dumbmake` r=nalexander 2020-07-10 18:12:07 +00:00
caps Bug 1626335 - Don't treat any URI as third party for system principal r=baku,ckerschb 2020-07-09 09:23:52 +00: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 1648680 - Do not build w95sock.c as part of a unified compilation unit. r=dmajor 2020-07-10 20:32:25 +00:00
devtools Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
docs Bug 1649662 - Add examples to severity documentation r=sylvestre 2020-07-10 22:52:17 +00:00
docshell Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
dom Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor 2020-07-11 12:31:49 +00:00
editor Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
extensions 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
gfx Bug 1259861 - Move everything else into the mozilla namespace in layout/svg r=dholbert 2020-07-11 02:20:20 +00: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 Bug 1259861 - Move everything else into the mozilla namespace in layout/svg r=dholbert 2020-07-11 02:20:20 +00:00
intl Bug 1637624 - Part 2: Use StaticPrefs for layout.word_select.* r=emilio 2020-07-10 21:21:30 +00:00
ipc Bug 1652081 - Verify that newly allocated shared memory is zeroed. r=mccr8 2020-07-10 22:08:07 +00:00
js Bug 1651732 - Part 9: Rename ValueToId to PrimitiveValueToId and assert its input is a primitive. r=jandem 2020-07-11 12:51:07 +00:00
layout Bug 1557983. Significantly simplify and fix the 'beforeprint'/'afterprint' dispatching code. 2020-07-11 14:14:03 +00:00
media Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor 2020-07-11 12:31:49 +00:00
memory Bug 1651079 - Add necessary LOCAL_INCLUDES for StackWalk.cpp in memory/replace/logalloc/replay. r=rstewart 2020-07-08 21:37:24 +00:00
mfbt Bug 1651323 - Add MOZ_LIFETIME_BOUND attribute. r=andi 2020-07-10 12:16:13 +00:00
mobile 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
modules Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor 2020-07-11 12:31:49 +00:00
mozglue Bug 1629002 - unblock asepkcs.dll r=tkikuchi 2020-07-10 22:39:38 +00:00
netwerk Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
nsprpub Bug 1640515 - Firefox 79 should pick up NSPR 4.26. r=kjacobs DONTBUILD UPGRADE_NSPR_RELEASE 2020-06-24 15:52:27 +00:00
other-licenses
parser Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-07-04 09:38:43 +00:00
python Backed out 2 changesets (bug 1652089, bug 1652087) for toolchains bustage. 2020-07-11 00:48:41 +03:00
remote Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
security 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
services 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
servo Bug 1650189 - Fix an off-by-one in the transition property iterator. r=mrobinson 2020-07-06 16:26:20 +00:00
startupcache Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi 2020-07-08 20:15:59 +00:00
storage Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
taskcluster Bug 1630092 - Don't pull in wasm sandboxing in plain or base-toolchain builds r=froydnj 2020-07-11 12:48:06 +00:00
testing Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
third_party Bug 1651889. Update to gleam 0.12.1. r=kvark 2020-07-11 02:21:13 +00:00
toolkit Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11 2020-07-10 21:32:09 +00:00
tools Bug 1645521 - Part 3 - Port unifiedcomplete tests. r=adw 2020-07-09 05:02:47 +00:00
uriloader Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
view
widget Bug 1651532 - Change systemDefaultPrinter to systemDefaultPrinterName r=jwatt 2020-07-10 19:00:17 +00:00
xpcom Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski 2020-07-10 23:58:30 +00:00
xpfe/appshell Bug 1580811 - Make the ContentPage browser work with out-of-process frames, r=nika,zombie 2020-07-10 13:40:51 +00:00
.arcconfig
.babel-eslint.rc.js
.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 1649168: Add a cron target that will trigger scriptworker canaries; r=rail 2020-07-10 16:11:13 +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 1603779 - Part 6: Remove now-obsolete exceptions from .eslintrc.js. r=Gijs 2020-07-10 15:16:06 +00:00
.flake8 Bug 1555560: Add support for black formatting with mozlint; r=sylvestre 2020-07-08 22:08:08 +00:00
.git-blame-ignore-revs
.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
.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 4c7e22cb6a476089657b971f2ebe333c5649a4a9 with FIREFOX_NIGHTLY_79_END a=release DONTBUILD CLOSED TREE 2020-06-29 15:15:37 +00:00
.lldbinit
.mailmap Bug 1650456 - Correct name in a few places, r=froydnj 2020-07-03 20:20:29 +00:00
.prettierignore
.prettierrc
.taskcluster.yml No bug: Update links to hg.mozilla.org to use `default` instead of `tip` in `taskcluster/`; r=Callek 2020-07-08 18:41:17 +00:00
.trackerignore
.yamllint
.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 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-06-01 10:15:55 +00:00
Cargo.lock Bug 1651889. Update to gleam 0.12.1. r=kvark 2020-07-11 02:21:13 +00:00
Cargo.toml Bug 1648885 and Bug 1649432: vendor latest Cranelift to get Spectre mitigations and fix fuzzbug. r=bbouvier 2020-07-02 15:47:56 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1641291 - Part 2: Make NSDISTMODE=copy impact install manifests. r=glandium 2020-07-07 02:16:12 +00:00
README.txt
aclocal.m4 Bug 1641790 - Move --with-system-nss to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 17:02:09 +00:00
build.gradle Bug 1641983 - Update apilint to 0.3.0. r=snorp 2020-06-01 15:58:01 +00:00
client.mk
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 1639009 - Convert 'mach xpcshell-test' to run with Python 3 r=gbrown 2020-07-09 16:49:48 +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 1641291 - Pre: Work around logging not handling '\x' in `old-configure` output. r=froydnj 2020-07-07 02:13:22 +00:00
package-lock.json
package.json
settings.gradle
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.