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
Перейти к файлу
Masayuki Nakano 7af10cee55 Bug 1677566 - part 3: Ignore non-deletable ranges in `HTMLEditor::HandleDeleteSelection()` r=m_kato
For making delete handlers simpler, and set better target ranges to the
corresponding `beforeinput` event, we should ignore non-editable ranges
before handling deletion.

This patch makes editor stop handling deleteion when a range crosses editing
host boundaries.  In this case, Gecko has done nothing, but fired
`beforeinput` event.  Note that Blink deletes editable contents in the range
**until** it meets first non-editable content, but I don't think this is
a good behavior because it makes things complicated.  Therefore, I filed
a spec issue: https://github.com/w3c/editing/issues/283

On the other hand, this behavior change causes different behavior in
https://searchfox.org/mozilla-central/source/editor/libeditor/crashtests/1345015.html

It tries to insert paragraph into `<html>` element, but our editor currently
does not support it.  Therefore, it hits `MOZ_ASSERT`.  Therefore, this patch
added a new check into `HTMLEditor::InsertParagraphSeparatorAsSubAction()`.

Differential Revision: https://phabricator.services.mozilla.com/D107588
2021-03-09 23:57:54 +00:00
.cargo Bug 1696780 - Update mp4parse-rust to 94c3b1f. r=bryce,kinetik 2021-03-09 21:36:31 +00:00
.vscode
accessible Bug 1694717: Add probes to log foreground and background colors when HCM is on r=emilio 2021-03-09 22:31:32 +00:00
browser Bug 1694512 - Add automated tests for Share item in tab context menu r=Gijs 2021-03-09 23:53:32 +00:00
build Bug 1683797: Removes redundant path parsing r=sheehan,firefox-build-system-reviewers,glandium 2021-03-09 14:45:25 +00:00
caps Bug 1684001 - IsURIInPrefList should be infallible. r=masayuki 2021-03-08 23:36:40 +00:00
chrome Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
config Bug 1683797: Don't use "build targets" to build rusttests r=sheehan,firefox-build-system-reviewers,glandium 2021-03-09 14:45:25 +00:00
devtools Backed out 5 changesets (bug 1694906) for dt failures on browser_target_list_frames.js . CLOSED TREE 2021-03-10 04:52:56 +02:00
docs Bug 1695954: Move Gecko Logging MDN Page In-tree r=nika 2021-03-09 16:27:29 +00:00
docshell Bug 1696923 - [SHIP] Update SaveLayoutStateFlag after page load similarly to in-process session history, r=peterv 2021-03-09 18:16:58 +00:00
dom Bug 1672431 - Provide a shutdown client for IOUtils r=xpcom-reviewers,nika 2021-03-09 23:11:13 +00:00
editor Bug 1677566 - part 3: Ignore non-deletable ranges in `HTMLEditor::HandleDeleteSelection()` r=m_kato 2021-03-09 23:57:54 +00:00
extensions hg diff Bug 1695756 - Import the 'Adding a new word to the en-US dictionary' doc r=firefox-source-docs-reviewers,flod,championshuttler DONTBUILD 2021-03-02 13:25:44 +00:00
gfx Bug 1696025 - Avoid allocating a draw target when not presenting frames. r=lsalzman 2021-03-09 23:46:54 +00:00
gradle/wrapper
hal Bug 1691913 - Add some convenience methods to LookupResult and EntryHandle. r=xpcom-reviewers,nika 2021-03-01 09:59:29 +00:00
image Bug 1678487 - Ensure CMS is initialized all at once on the main thread, have thread-safe accessors for the various transforms. r=aosmond,jrmuizel 2021-03-08 18:12:06 +00:00
intl Bug 1649187 - Use a fallback table to strip diacritics from non-decomposable characters. r=jfkthame 2021-03-07 16:17:41 +00:00
ipc Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8 2021-03-05 15:29:49 +00:00
js Bug 1691184: Recompile if necessary before retrying interrupted regexp r=mgaudet 2021-03-09 18:34:43 +00:00
layout Backed out changeset a4f4f640eaa7 (bug 1696845) for bustages on pangofc-fontmap.h 2021-03-10 04:49:51 +02:00
media Bug 1688992 - Update libdav1d to 0.8.2 for Firefox 88. r=dminor 2021-02-24 23:05:38 +00:00
memory Bug 1519636 - Reformat recent changes to the Google coding style r=necko-reviewers,valentin 2021-03-02 16:14:46 +00:00
mfbt Bug 1691515 - Add MOZ_KNOWN_LIVE member annotation r=andi 2021-03-05 23:23:03 +00:00
mobile Bug 1432949 - Return error if channel cannot be opened. Expand download blob test case r=geckoview-reviewers,snorp 2021-03-09 00:45:22 +00:00
modules Bug 1694113 - image.avif.enabled should depend on MOZ_AV1. r=agashlin 2021-03-09 21:35:30 +00:00
mozglue Bug 1696556 - Always run earlyBlankFirstPaint if we showed skele UI r=emalysz 2021-03-09 18:37:53 +00:00
netwerk Bug 1696923 - [SHIP] Update SaveLayoutStateFlag after page load similarly to in-process session history, r=peterv 2021-03-09 18:16:58 +00:00
nsprpub Bug 1694371 - NSPR_4_30_BETA1. r=bbeurdouche UPGRADE_NSPR_RELEASE 2021-03-01 16:24:51 +00:00
other-licenses Bug 1692893 - Minimal patch: Workaround atk extern "C" issue. r=Jamie 2021-02-16 00:40:33 +00:00
parser Bug 1360715 - Part 3: Remove remaining cross-context instanceof from tests r=edgar 2021-03-04 22:03:58 +00:00
python Bug 1369784 - Improve the default behaviour of mozlint if no file paths or linters are specified r=ahal 2021-03-09 20:07:00 +00:00
remote Bug 1695243 - [remote] Remove 3rd argument when importing "addDebuggerToGlobal". r=remote-protocol-reviewers,jdescottes 2021-03-09 15:15:40 +00:00
security Backed out changeset a4f4f640eaa7 (bug 1696845) for bustages on pangofc-fontmap.h 2021-03-10 04:49:51 +02:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2021-03-08 14:53:46 +00:00
servo Bug 1696409 - Paper over a crash in non-nightly. r=boris 2021-03-08 23:29:30 +00:00
startupcache Bug 1688511 - do not use 'else' after 'return'. r=sylvestre 2021-02-04 09:24:19 +00:00
storage Bug 1695883 - Add explicit fallible mozStorageTransaction::Start method for starting the transaction; r=dom-storage-reviewers,sg 2021-03-04 04:38:06 +00:00
taskcluster Bug 1697199 - Remove raptor-webext recorded pageload tests r=perftest-reviewers,sparky 2021-03-09 21:49:41 +00:00
testing Bug 1677566 - part 3: Ignore non-deletable ranges in `HTMLEditor::HandleDeleteSelection()` r=m_kato 2021-03-09 23:57:54 +00:00
third_party Bug 1696780 - Update mp4parse-rust to 94c3b1f. r=bryce,kinetik 2021-03-09 21:36:31 +00:00
toolkit Bug 1672431 - Provide a shutdown client for IOUtils r=xpcom-reviewers,nika 2021-03-09 23:11:13 +00:00
tools Bug 1409733 - [taskcluster] Exclude taskcluster/mach_commands.py from the py2 linter, r=taskgraph-reviewers,bhearsum 2021-03-09 16:18:23 +00:00
uriloader Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in uriloader. r=Gijs 2021-02-26 11:36:40 +00:00
view Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
widget Backed out changeset a4f4f640eaa7 (bug 1696845) for bustages on pangofc-fontmap.h 2021-03-10 04:49:51 +02:00
xpcom Bug 1677566 - part 3: Ignore non-deletable ranges in `HTMLEditor::HandleDeleteSelection()` r=m_kato 2021-03-09 23:57:54 +00:00
xpfe/appshell Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1686831 - Import glibc printf test cases verbatim. r=mhoye 2021-01-28 09:48:53 +00:00
.cron.yml Bug 1686969 - Make searchfox index both mozilla-central nightlies. r=kats,releng-reviewers,aki DONTBUILD 2021-01-15 20:13:32 +00:00
.eslintignore Bug 1690475 - [remote] Reorganize xpcshell and browser chrome tests. r=remote-protocol-reviewers,jdescottes 2021-02-23 17:37:03 +00:00
.eslintrc.js Bug 1696873 - Apply automatic fixes to enable more ESLint rules on remaining docshell xhtml files. r=smaug 2021-03-08 13:41:52 +00:00
.flake8 Bug 1695263 - Vendor in a copy of wptserve that's still Python 2 compatible, r=marionette-reviewers,whimboo 2021-03-03 10:03:05 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1687154 - Add raptor's generated files to .gitignore. r=glandium DONTBUILD 2021-01-19 00:34:55 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags No bug - tagging 396d6048aec7d8118bf31637be4a3f5aa06d74ee with FIREFOX_NIGHTLY_87_END a=release DONTBUILD CLOSED TREE 2021-02-22 12:50:38 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright 2021-01-27 22:54:25 +00:00
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER
Cargo.lock Bug 1696780 - Update mp4parse-rust to 94c3b1f. r=bryce,kinetik 2021-03-09 21:36:31 +00:00
Cargo.toml Bug 1695646 - minidump_writer_linux mapping merge logic wrong r=gsvelto 2021-03-05 13:32:27 +00:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle
client.mk Bug 1683797: Removes unnecessary lines from client.mk r=sheehan,firefox-build-system-reviewers,glandium 2021-03-09 14:45:24 +00:00
client.py
configure.in
configure.py
gradle.properties
gradlew
gradlew.bat
mach Bug 1697048 - run awsy in py3. r=ahal 2021-03-09 15:13:46 +00:00
mach.ps1 Bug 1686256 - Add Windows friendly wrapper for mach r=mhentges,firefox-build-system-reviewers,dmajor 2021-01-20 02:08:40 +00:00
moz.build Bug 1687640 - Cover mach.ps1 in moz.build r=dmajor,firefox-build-system-reviewers 2021-01-20 15:20:27 +00:00
moz.configure Bug 1697098 - Default to --enable-bootstrap for arm64 mac builds. r=firefox-build-system-reviewers,andi,sheehan,mhentges 2021-03-09 21:27:52 +00:00
mozilla-config.h.in
old-configure.in Bug 1480005 - Move NM to python configure. r=firefox-build-system-reviewers,nalexander 2021-01-14 20:17:08 +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.