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 c7249ef506 Bug 1637856 - part 2: Get rid of `WSRunScanner::mNodeArray` r=m_kato
`WSRunScanner` scans around given point in `GetWSNodes()` at construction with
using `HTMLEditUtils` methods and caches editable text nodes between
`mStartReasonContent` and `mEndReasonContent`.  However, it's used only by
`GetNextCharPoint()` and `GetPreviousCharPoint()`, and they shouldn't be
referred after changing the DOM tree.  Therefore, we can scan it directly
only when it needs to scan.

The patch rewrites `GetNextCharPoint()` and `GetPreviousCharPoint()` without
`mNodeArray` and removes `mNodeArray` from its member.  This may increase the
cost of scanning next/previous text node, but improves the scan performance
when it does not treat so wide range and they are called with a point whose
container is not a text node.

This patch unexpectedly changes the behavior of them, that causes the fix of
2 failures in `insertlinebreak.html` and `insertparagraph.html`.  According to
debugger, previously GetNextCharPoint()` in
`ScanNextVisibleNodeOrBlockBoundaryFrom()` called point at `<br>` element
returned no next char, then, `ScanNextVisibleNodeOrBlockBoundaryFrom()` returned
end point which is block boundary of `<listing>` element (it is legacy HTML2
element and treated as `<pre>` element internally).  Therefore, the inserted
`<br>` element was misunderstood as invisible `<br>` at end of a block and
inserted another `<br>` element for making it visible.  However, the redesigned
one fixed this bug with searching correct text node.  Therefore, I cannot
keep the buggy behavior in the new designed methods.

Depends on D75470

Differential Revision: https://phabricator.services.mozilla.com/D75471
2020-05-18 06:46:00 +00:00
.cargo Bug 1636068 - Update spirv-cross to 0.20.0 r=groves 2020-05-16 02:27:33 +00:00
.vscode
accessible Bug 1638703 - Flush layout explicitly in some a11y non-e10s tests. r=Jamie 2020-05-17 22:08:47 +00:00
browser Backed out changeset 9b32011328f0 (bug 1402256) for multiple perma failures. CLOSED TREE 2020-05-17 23:23:15 +03:00
build Bug 1638401 - Make liblowercase also wrap fxstatat. r=froydnj 2020-05-15 17:10:34 +00:00
caps Bug 1636148 - "BandAid" - Cast Remaining Callers To BasePrincipal r=ckerschb,geckoview-reviewers,agi 2020-05-14 19:42:57 +00:00
chrome Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
config Bug 1638193 - Remove build system support for iOS. r=nalexander 2020-05-15 03:56:16 +00:00
devtools Bug 1515419 - fixing ToNewCString (and ToNewUnicode as well) xpcom/string/nsReadableUtils.cpp r=froydnj,necko-reviewers,valentin 2020-05-17 06:58:48 +00:00
docs Bug 1636887 - how_to_contribute_firefox.rst : adding precisions to the windows dependencies setup explanations. r=sylvestre 2020-05-13 16:50:07 +00:00
docshell Bug 1637472 - Refactor to set customUserAgent from Parent process. r=farre 2020-05-15 14:12:22 +00:00
dom Bug 1638458 - Do not use ignoreRootScrollFrame when dispatching a contextmenu event in APZEventState. r=tnikkel 2020-05-18 03:07:12 +00:00
editor Bug 1637856 - part 2: Get rid of `WSRunScanner::mNodeArray` r=m_kato 2020-05-18 06:46:00 +00:00
extensions Bug 1629274 - Fix Intermittent failure in test_permmanager_removeall.js, r=timhuang 2020-05-11 08:34:04 +00:00
gfx Bug 1636911. Add mochitest. r=kats 2020-05-18 06:32:34 +00:00
gradle/wrapper
hal Bug 1637452: Part 2 - Fix JNI includes in hal/android; r=geckoview-reviewers,agi 2020-05-15 17:04:12 +00:00
image Bug 651482 - Update documentation. r=tnikkel 2020-05-18 06:15:25 +00:00
intl Bug 1637452: Part 16 - Fix JNI includes in intl; r=zbraniecki 2020-05-15 17:06:15 +00:00
ipc Bug 1637452: Part 8 - Fix JNI includes in ipc/glue; r=jld 2020-05-15 17:04:34 +00:00
js Bug 1638586 - Transpile Math.abs in Warp. r=iain 2020-05-17 18:59:46 +00:00
layout Bug 1636911. In ScrollFrameHelper::RestrictToRootDisplayPort don't adjust the root display port by the root scroll frame apz callback transform because it already factors that in. r=kats 2020-05-18 06:32:34 +00:00
media Bug 1637452: Part 13 - Fix JNI includes in media/webrtc; r=bwc 2020-05-15 17:05:28 +00:00
memory Bug 1553717 - Use Randomization on all arenas in non-Content Processes. r=glandium 2020-05-13 08:31:04 +00:00
mfbt Bug 1637599 - Rephrase documentation referring to copies of errors. r=froydnj 2020-05-13 15:44:31 +00:00
mobile Bug 1622500 - Implement cookieStoreId parameter for tabs.create. r=geckoview-reviewers,agi 2020-05-15 22:17:59 +00:00
modules Bug 1635610 - Enable per scroll root picture cache slices by default. r=jrmuizel,aosmond 2020-05-16 03:09:57 +00:00
mozglue Bug 1612557 - part4 : use `Media` category for markers r=bryce,gerald,canaltinova 2020-05-16 19:58:25 +00:00
netwerk Bug 1515419 - fixing ToNewCString (and ToNewUnicode as well) xpcom/string/nsReadableUtils.cpp r=froydnj,necko-reviewers,valentin 2020-05-17 06:58:48 +00:00
nsprpub
other-licenses Bug 1634535 - Move ply to third_party/python r=glandium 2020-05-05 16:02:02 +00:00
parser Bug 1618322 - Merge `network.preload.experimental` pref to `network.preload`, r=dragana 2020-05-11 14:15:30 +00:00
python Bug 1638362 - Rename urlbar-go-end-cap l10n id to urlbar-go-button. r=fluent-reviewers,flod 2020-05-15 16:08:22 +00:00
remote Bug 1599260 - [puppeteer] Check for favicon in request/response test r=remote-protocol-reviewers,whimboo 2020-05-15 18:19:18 +00:00
security Bug 1636656 - land NSS e2061fe522f5 UPGRADE_NSS_RELEASE, r=kjacobs 2020-05-15 14:40:39 +00:00
services Bug 1631630 p2 - Implement FxAccounts rust-bridge. r=lina,rfkelly 2020-05-16 01:07:31 +00:00
servo Bug 312971 - Unprefix -moz-read-write / -moz-read-only. r=edgar 2020-05-14 16:46:08 +00:00
startupcache Bug 1614795 - use the background task queue for startupcache writes, r=dthayer,decoder 2020-04-15 20:43:44 +00:00
storage Bug 1626570 - Remove obsolete copy enabling machinery. r=froydnj 2020-05-11 08:23:03 +00:00
taskcluster Bug 1619683 - Build CodeQL Databases r=firefox-build-system-reviewers,rstewart 2020-05-15 04:03:39 +00:00
testing Bug 1637856 - part 2: Get rid of `WSRunScanner::mNodeArray` r=m_kato 2020-05-18 06:46:00 +00:00
third_party Bug 1636068 - Update spirv-cross to 0.20.0 r=groves 2020-05-16 02:27:33 +00:00
toolkit Bug 1638092 - do not require a browsingcontext to call the external protocol service's loadURI method, r=mattwoodrow 2020-05-17 22:54:30 +00:00
tools Bug 1612557 - part4 : use `Media` category for markers r=bryce,gerald,canaltinova 2020-05-16 19:58:25 +00:00
uriloader Bug 1638092 - do not require a browsingcontext to call the external protocol service's loadURI method, r=mattwoodrow 2020-05-17 22:54:30 +00:00
view
widget Bug 1515419 - fixing ToNewCString (and ToNewUnicode as well) xpcom/string/nsReadableUtils.cpp r=froydnj,necko-reviewers,valentin 2020-05-17 06:58:48 +00:00
xpcom Bug 1515419 - fixing ToNewCString (and ToNewUnicode as well) xpcom/string/nsReadableUtils.cpp r=froydnj,necko-reviewers,valentin 2020-05-17 06:58:48 +00:00
xpfe/appshell Bug 1276537 part 2 - Remove nsIWidget::SetShowsFullScreenButton. r=spohl 2020-05-15 06:19:14 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1635608 - Update OpenVR source code to use Unix line endings r=daoshengmu 2020-05-07 20:20:39 +00:00
.cron.yml Bug 1637231 - add applink tests r=acreskey 2020-05-14 13:01:59 +00:00
.eslintignore Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers,whimboo 2020-04-16 14:01:55 +00:00
.eslintrc.js Bug 1623245 - A new browser.storage.sync local storage implementation, pref'd off. r=rpl 2020-05-15 01:29:56 +00:00
.flake8 Bug 1622687 - toolkit/crashreporter/: Make it flake8 compliant r=gsvelto,rstewart 2020-04-16 14:40:31 +00:00
.gdbinit Bug 1627398 Part 5 - Support dumping frame trees in CSS pixels for gdb and lldb. r=heycam 2020-04-07 23:42:38 +00:00
.gdbinit_python
.git-blame-ignore-revs Bug 1633969 - Add bug 1298559 to .{hg-annotate,git-blame}-ignore-revs. r=sylvestre 2020-04-30 12:54:10 +00:00
.gitattributes
.gitignore Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
.hg-annotate-ignore-revs Bug 1633969 - Add bug 1298559 to .{hg-annotate,git-blame}-ignore-revs. r=sylvestre 2020-04-30 12:54:10 +00:00
.hg-format-source
.hgignore Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
.hgtags No bug - tagging 5b8406a0446906d7228e5d745549b50a3496dc0f with FIREFOX_NIGHTLY_77_END a=release DONTBUILD CLOSED TREE 2020-05-04 14:53:30 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1628832: [KaiOS] Factor out trust-domain in `.taskcluster.yml`; r=Callek 2020-05-14 18:47:47 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1632497 - Make YouCompleteMe clangd completer work. r=jgraham 2020-04-28 10:08:00 +00:00
AUTHORS
CLOBBER Bug 1632434 - Part 7: Updating ICU requires a clobber. r=jwalden 2020-04-29 23:48:06 +00:00
Cargo.lock Bug 1638676 - Update Cargo.lock. r=eoger 2020-05-17 17:15:35 +00:00
Cargo.toml Bug 1636068 - Update spirv-cross to 0.20.0 r=groves 2020-05-16 02:27:33 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1599658 - Delete previous definition of py_action in Makefiles. Now py_action calls into Python 3 and py3_action doesn't exist. r=glandium 2020-05-05 20:04:30 +00:00
README.txt
aclocal.m4 Bug 1638193 - Remove build system support for iOS. r=nalexander 2020-05-15 03:56:16 +00:00
build.gradle Bug 1633039 - Don't check for Python 2 in configure r=glandium 2020-05-05 16:02:02 +00:00
client.mk Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium 2020-05-05 19:53:22 +00:00
client.py
configure.in
configure.py Bug 1631633 - Generate config.status deterministically. r=rstewart 2020-04-21 21:32:30 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1579329 - Run `mach file-info` with Python 3 r=nalexander 2020-05-14 18:20:22 +00:00
moz.build Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc 2020-04-24 18:54:51 +00:00
moz.configure Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
mozilla-config.h.in
old-configure.in Bug 1638193 - Remove build system support for iOS. r=nalexander 2020-05-15 03:56:16 +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.