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
Перейти к файлу
Nick Alexander 7ad3c38071 Bug 1781929 - Part 4: Pass through or launch Firefox from notification server. r=nrishel
When the notification server callback is executed by the Windows
notification system, it invokes Firefox with additional command line
parameters, most importantly the Windows-specific notification
"Windows tag".

If no appropriate Firefox is running, the command line will be
processed, the provided Windows tag will be inspected (and seen to not
be registered with this running Firefox instance) and a "launch URL"
stored as part of the Windows notification itself opened (if one is
provided).

If an appropriate Firefox is running, the remoting protocol will
forward this command line to the running instance.  If the instance
recognizes the provided `--notification-windowsTag`, the command line
will be ignored.  When the notification server exits, Windows will
fallback to the Windows 8.1 style notification callbacks registered
for this Windows tag and the existing (non notification server)
behaviour will occur.

In fact, the server therefore waits for a Windows tag-specific system
event to be signalled by the invoked Firefox (or a sibling process).
If we were to return `S_OK` from the notification server immediately,
and a running Firefox process would handle the notification via
Windows 8.1-style notification callbacks, then Windows would fall back
to those callbacks.  The invoked callbacks unregister themselves upon
completion, often before the launched Firefox has an opportunity to
process the command line.  By waiting for this system event, we allow
the invoked Firefox to process the command line while its own
notification callbacks are registered and therefore recognize that its
callbacks will handle the notification.

Differential Revision: https://phabricator.services.mozilla.com/D154468
2022-09-02 20:22:51 +00:00
.cargo Bug 1787688 (part 1) - vendor a new application-services. r=bdk,supply-chain-reviewers 2022-09-02 00:32:53 +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 1788597: Null check acc before creating cache update r=nlapre 2022-09-02 16:53:47 +00:00
browser Bug 1781929 - Part 4: Pass through or launch Firefox from notification server. r=nrishel 2022-09-02 20:22:51 +00:00
build Bug 1788837 - Default to lld for mac builds. r=firefox-build-system-reviewers,andi 2022-09-02 07:26:11 +00:00
caps Backed out 6 changesets (bug 1694993) for failures on test_alwaysOnTop_windows.html. CLOSED TREE 2022-08-27 03:28:13 +03:00
chrome Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-08-22 14:31:36 +00:00
devtools Bug 1499653 - [devtools] Display @supports condition on top of rules. r=jdescottes. 2022-09-02 18:00:27 +00:00
docs Bug 1788559 - Update the Pocket Guide to include mention of planned dot releases. r=sylvestre DONTBUILD 2022-09-02 07:11:32 +00:00
docshell Bug 1786513 - Make SimpleResizeReflow not flush by default. r=jfkthame,layout-reviewers 2022-09-01 10:54:24 +00:00
dom Bug 1788668 - Add 'application/pdfjs' to the list of known formats r=NeilDeakin 2022-09-02 19:04:09 +00:00
editor Bug 1779846 - Remove an unneeded if-statement in TextServicesDocument::OffsetEntryArray::FindWordRange(). r=masayuki 2022-09-02 18:52:36 +00:00
extensions Bug 1788655 - Update Hunspell to 1.7.1. r=masayuki 2022-09-01 23:48:12 +00:00
gfx Bug 1787560 - Add test for touch drag scrollbar scroll. r=botond 2022-09-02 13:36:38 +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 1771712 - Make it more likely for child processes to be killed under OOM conditions compared to the parent process on Linux r=jld 2022-08-09 16:05:48 +00:00
image Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for a few test files. r=mossop 2022-08-26 13:39:39 +00:00
intl Bug 1446164 - Migrate formautofill edit dialogs to Fluent. r=sgalich,fluent-reviewers,flod 2022-09-01 20:35:37 +00:00
ipc Bug 1780796 - Use one process per platform decoder module sandbox requirements r=alwu,nika,fluent-reviewers,flod 2022-09-01 12:59:32 +00:00
js Bug 1786117: Use ErrorContext-variant of `ReportOutOfMemory` in Stencil XDR. r=arai,bthrall 2022-09-02 18:52:09 +00:00
layout Bug 1788785 - Skip placeholders for first-letter-finding code. r=jfkthame 2022-09-02 15:07:15 +00:00
media Merge mozilla-central to autoland on a CLOSED TREE 2022-08-31 00:13:19 +03:00
memory Bug 1785162 - Always stall on OOM on Windows in Nightly r=gsvelto 2022-08-25 19:35:32 +00:00
mfbt Bug 1784990 - Update lz4 to 1.9.4. r=glandium 2022-08-31 16:10:45 +00:00
mobile Bug 1786164 - Add more Gradle JVM memory flags. r=geckoview-reviewers,jonalmeida 2022-08-31 22:10:39 +00:00
modules Bug 1788108 - Enable event pages support for manifest_version 2 extensions. r=mixedpuppy 2022-09-02 19:58:25 +00:00
mozglue Bug 1785745 - Make UniqueStack::mUniqueStrings and mCodeAddressService private - r=canaltinova 2022-08-22 21:31:48 +00:00
netwerk Backed out 3 changesets (bug 1788290) for causing build bustages. CLOSED TREE 2022-09-02 19:13:34 +03:00
nsprpub Bug 1788009 - NSPR_4_35_BETA1. r=glandium UPGRADE_NSPR_RELEASE 2022-08-31 08:14:25 +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 1786513 - Make SimpleResizeReflow not flush by default. r=jfkthame,layout-reviewers 2022-09-01 10:54:24 +00:00
python Bug 1774181 - Provide a mozperftest command to generate a side-by-side comparison r=perftest-reviewers,sparky 2022-09-02 15:52:42 +00:00
remote Bug 1763137 - [messagehandler] Filter events based on context descriptor used to subscribe to them r=webdriver-reviewers,whimboo 2022-09-02 12:04:15 +00:00
security Backed out 3 changesets (bug 1788290) for causing build bustages. CLOSED TREE 2022-09-02 19:13:34 +03:00
services Bug 1787688 (part 2) - rename envelope fields and promisify the xpcom bridged engine wrapper. r=skhamis 2022-09-02 00:32:54 +00:00
servo Bug 1786147 - Fix typo to avoid devtools property-db failures. 2022-08-31 15:43:26 +02:00
startupcache Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
storage Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for a few test files. r=mossop 2022-08-26 13:39:39 +00:00
supply-chain Bug 1788903 - Vet cssparser / selectors / servo_arc. r=bholley 2022-09-02 15:57:10 +00:00
taskcluster Bug 1788968 - Rename nightly beta cron for perftest to daily. r=sparky,perftest-reviewers 2022-09-02 20:12:36 +00:00
testing Bug 1726462 - Add test for the "no window update restart" feature r=webdriver-reviewers,bhearsum,whimboo 2022-09-02 17:50:04 +00:00
third_party Bug 1787688 (part 1) - vendor a new application-services. r=bdk,supply-chain-reviewers 2022-09-02 00:32:53 +00:00
toolkit Bug 1781929 - Part 4: Pass through or launch Firefox from notification server. r=nrishel 2022-09-02 20:22:51 +00:00
tools Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt 2022-09-02 11:05:17 +00:00
uriloader Bug 1772988, add some additional extensions for some media types as Windows doesn't provide some of them, causing valid extensions to be replaced when saving files, r=mhowell 2022-09-02 15:33:35 +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 1781929 - Part 4: Pass through or launch Firefox from notification server. r=nrishel 2022-09-02 20:22:51 +00:00
xpcom Bug 1483662 - Add microSecondTimeStamp to nsConsoleMessage, nsScriptError and ConsoleEvent. r=edgar. 2022-09-02 04:58:28 +00:00
xpfe/appshell Bug 1786525 - Don't update untransformed anchor rect when moved by move-to-rect. r=stransky 2022-08-30 09:30:27 +00:00
.arcconfig Revert .arcconfig changes to keep MOZILLACENTRAL as configured. a=merge IGNORE BAD COMMIT MESSAGES 2022-08-30 11:04:36 -04:00
.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 1788968 - Rename nightly beta cron for perftest to daily. r=sparky,perftest-reviewers 2022-09-02 20:12:36 +00:00
.eslintignore Bug 1764698 - Move LanguageDetector.jsm and related files to toolkit. r=robwu 2022-08-23 05:59:55 +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 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt 2022-09-02 11:05:17 +00:00
.flake8 Bug 1775183 - Remove fork_interpose.py. r=firefox-build-system-reviewers,nalexander 2022-06-21 06:44:55 +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 6c21710d688563963ed9b143e6794274354f1508 with FIREFOX_NIGHTLY_105_END a=release DONTBUILD CLOSED TREE 2022-08-22 14:31:28 +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 1762128 - bump the cache name for decision images to stop interfering with other trees. r=releng-reviewers,ahal a=release 2022-03-30 14:54:03 +02:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1766646 - Vendor libwebrtc from 2cdbb969f0 - moz.build file updates 2022-08-30 11:03:37 -04:00
Cargo.lock Bug 1788412 - Add support generating UniFFi for custom types r=bdk,supply-chain-reviewers 2022-09-02 02:56:12 +00:00
Cargo.toml Bug 1787688 (part 1) - vendor a new application-services. r=bdk,supply-chain-reviewers 2022-09-02 00:32:53 +00:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle Bug 1786174 - Update Android linter to v30.2.2 and fix newly-flagged errors. r=geckoview-reviewers,jonalmeida 2022-08-31 22:10:39 +00:00
client.mk
client.py
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
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
mach
mach.cmd
mach.ps1
mots.yaml Bug 1788120 - Add new 'Core: Firefox Source Documentation' module, r=zeid 2022-08-30 20:45:00 +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 1762571 - Update node_modules bundles and package-lock.json files for new node versions. r=mossop 2022-07-07 22:09:00 +00:00
package.json Bug 1766268 - Update eslint-plugin-mozilla's version of estraverse to fix issues with private identifiers. r=mossop 2022-04-27 15:14:35 +00:00
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.