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
Masayuki Nakano 458f69ffc8 Bug 1384606 - part 1: Make nsIFrame::GetFrameFromDirection treat frames in different native anonymous subtree not selectable r=emilio
It's called by `PeekOffsetFor*` and `GetPrevNextBidiLevels`, so it's used for
considering whether to put caret or move a selection range boundary.
Therefore, it should treat nodes which can be managed by `Selection` as
selectable.  In theory, even if a native anonymous subtree does not have
an independent selection, its content nodes should not be the container of
the selection range boundaries of selection outside the subtree since
Selection API shouldn't expose nodes in native anonymous subtrees.  Therefore,
it can simply treat content nodes in different anonymous subtrees are not
selectable.

Note that it's not standardized that how `Selection.modify` works with various
content nodes.
https://w3c.github.io/selection-api/#dom-selection-modify

And also Chrome cannot cross generated content like form controls with this API.
This could cause web-compat issues, but it does not make sense for caret
navigation, and anyway out of scope of this bug.  Therefore, this patch just
adds the crash test.

Differential Revision: https://phabricator.services.mozilla.com/D172204
2023-03-17 06:26:02 +00:00
.cargo Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers 2023-03-16 11:50:55 +00:00
.vscode
accessible Backed out 4 changesets (bug 1384606) for causing build bustage in nsFrameSelection.h CLOSED TREE 2023-03-17 06:54:59 +02:00
browser Bug 1822918 - Fetch the weather suggestion after wake and coming online. r=daisuke 2023-03-17 04:33:55 +00:00
build Backed out changeset 41589839f711 (bug 1821221) for causing build bustage CLOSED TREE 2023-03-17 00:43:28 +02:00
caps Bug 1776755 - Skip ordering ExpandedPrincipals to speed up creation; r=nika,necko-reviewers 2023-03-13 14:52:04 +00:00
chrome Bug 1819815 - Make chrome/ buildable outside of a unified build environment r=andi 2023-03-02 07:44:28 +00:00
config Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages. 2023-03-15 18:12:19 +02:00
devtools Bug 1820806 - [devtools] Stop cloning the Map of all the sources. r=devtools-reviewers,bomsy 2023-03-16 14:12:42 +00:00
docs Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
docshell Bug 1822222 - Convert browser/actors/PageStyle* JSMs to ESMs. r=kpatenio 2023-03-17 01:55:59 +00:00
dom Bug 1822222 - Convert browser/actors/PageStyle* JSMs to ESMs. r=kpatenio 2023-03-17 01:55:59 +00:00
editor Bug 1820972 - Make nsBaseDragService::FireDragEventAtSource update mSourceNode if it's disconnected while HTMLEditor deletes selection caused by a drag operation r=edgar 2023-03-16 06:37:18 +00:00
extensions Bug 1808565, part 1: Adapt Selection to support StaticRanges. r=webidl,saschanaz,masayuki,smaug 2023-03-03 14:59:47 +00:00
gfx Bug 1812498 - Destroy RenderBufferTextureHosts that use VideoBridgeParent's Shmems in VideoBridgeParent::OnChannelError() r=lsalzman 2023-03-17 00:35:03 +00:00
gradle/wrapper
hal Backed out 14 changesets (bug 1607634, bug 1814683, bug 1815177, bug 1814686) for causing build bustages on MaybeStorageBase. CLOSED TREE 2023-03-15 01:58:36 +02:00
image Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel 2023-03-17 00:50:07 +00:00
intl Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8 2023-03-15 19:52:34 +00:00
ipc Bug 1821418: Clean up actors in UtilityProcessChild::ActorDestroy r=gerard-majax 2023-03-16 16:21:40 +00:00
js Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
layout Bug 1384606 - part 1: Make nsIFrame::GetFrameFromDirection treat frames in different native anonymous subtree not selectable r=emilio 2023-03-17 06:26:02 +00:00
media Bug 1816484 - Update dav1d to 7d23ec4a042b2feb6c0d4c1b0618a87cb8c34dcb r=media-playback-reviewers,padenot 2023-03-16 17:07:14 +00:00
memory Bug 1609478 - Poison memory we want to free before we take the arena lock r=glandium 2023-03-16 06:05:27 +00:00
mfbt Bug 1822605: Add ThreadSanitizer suppression for race in libvulkan_lvp.so r=decoder 2023-03-16 20:12:03 +00:00
mobile Bug 1673068 - Get rid of nsILoadURIDelegate.loadURI. r=smaug,geckoview-reviewers,owlish 2023-03-17 01:41:50 +00:00
modules Bug 1819593 - Set media.videocontrols.lock-video-orientation to false as default in GeckoView. r=geckoview-reviewers,owlish 2023-03-17 02:12:41 +00:00
mozglue Bug 1822605: Add ThreadSanitizer suppression for race in libvulkan_lvp.so r=decoder 2023-03-16 20:12:03 +00:00
netwerk Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher 2023-03-16 21:28:58 +00:00
nsprpub
other-licenses Bug 1815019 - Customize 7z to write provenance data r=nalexander 2023-03-02 16:44:10 +00:00
parser Bug 1552008 - Track column number in the HTML. r=smaug,nchevobbe 2023-03-16 16:44:17 +00:00
python Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
remote Bug 1679887 - [cdp] Emit past console messages on Runtime.enable r=jdescottes 2023-03-16 20:25:31 +00:00
security Bug 1819172 - cap max-age from HTTP Strict Transport Security headers at 100 years r=jschanck 2023-03-16 20:01:54 +00:00
services No Bug, mozilla-central repo-update HPKP remote-settings - r=release-managers,RyanVM 2023-03-16 19:28:45 +00:00
servo Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers 2023-03-16 11:50:55 +00:00
startupcache Bug 1817313 - Make startupcache/ buildable outside of a unified build environment r=andi 2023-02-19 21:40:36 +00:00
storage Bug 1781116 - QuotaManager needs to deal with SQLite path canonicalization/symlink piercing; r=asuth,dom-storage-reviewers 2023-03-07 15:56:51 +00:00
supply-chain Bug 1809843 - Make Http/3 server support proxy mode, r=necko-reviewers,valentin,supply-chain-reviewers 2023-03-16 21:28:57 +00:00
taskcluster Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
testing Bug 1384606 - part 1: Make nsIFrame::GetFrameFromDirection treat frames in different native anonymous subtree not selectable r=emilio 2023-03-17 06:26:02 +00:00
third_party Bug 1809843 - Make Http/3 server support proxy mode, r=necko-reviewers,valentin,supply-chain-reviewers 2023-03-16 21:28:57 +00:00
toolkit Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
tools Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
uriloader Bug 1818305 - Part 1: Add a streamStatus method to nsIOutputStream, r=necko-reviewers,geckoview-reviewers,jesup,emilio,m_kato,devtools-reviewers 2023-03-15 19:52:33 +00:00
view Bug 1814239 - Expose Point/Size rounded-to-multiple helpers, and use them from MaybeRoundToDisplayPixels. r=tnikkel,gfx-reviewers,nical 2023-02-06 12:28:47 +00:00
widget Bug 1809084 - Stop using XUL layout for menu popups. r=desktop-theme-reviewers,dao,dshin 2023-03-16 19:09:14 +00:00
xpcom Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
xpfe/appshell Bug 1747722 - Allow changing window class hints using attributes. r=emilio,stransky 2023-03-02 16:22:05 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml Bug 1822107 - Run the Beta l10n-bumper job an hour earlier. r=releng-reviewers,jcristau DONTBUILD 2023-03-13 16:54:07 +00:00
.eslintignore Bug 1817183 - Migrate most of services/fxaccounts to ES modules. r=markh 2023-02-17 16:34:42 +00:00
.eslintrc-test-paths.js
.eslintrc.js Bug 1812098 - Enable the builtinGlobals option for ESLint no-shadow rule on .mjs files. r=Gijs 2023-03-14 09:13:49 +00:00
.flake8 Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1810885 - Use ChromeMap for rewriting chrome:// URIs in Storybook r=hjones 2023-02-28 05:43:54 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
.hgtags No bug - tagging f2178beb09db4f3548827808718f1ea1f2892fc5 with FIREFOX_NIGHTLY_112_END a=release DONTBUILD CLOSED TREE 2023-03-13 15:37:10 +00:00
.isort.cfg Backed out 5 changesets (bug 1811850) for causing linting bustages(bugzilla) CLOSED TREE 2023-03-16 22:16:30 -04:00
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc.js Bug 1811820 - Change prettier config file from json to common js format. r=cmkm,Gijs 2023-01-24 22:53:55 +00:00
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1816454 - Update Glean SDK to v52.3.0 r=TravisLong,supply-chain-reviewers,emilio 2023-02-28 16:44:02 +00:00
Cargo.lock Bug 1813982 - XPCOM interface to authenticator-rs. r=keeler,geckoview-reviewers,m_kato 2023-03-16 21:42:21 +00:00
Cargo.toml Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers 2023-03-16 11:50:55 +00:00
client.mk
client.py
CLOBBER Bug 1817024 - Vendor libwebrtc from 15a82c93d0 - moz.build file updates 2023-03-13 12:03:34 +01:00
configure
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1820915 - Attempt to re-launch Mach with a compatible python3 version if one is available r=firefox-build-system-reviewers,andi 2023-03-09 10:53:16 +00:00
mach.cmd
mach.ps1
Makefile.in
mots.yaml Bug 1822698 - Update list of peers for GeckoView module r=zeid 2023-03-16 16:26:28 +00:00
moz.build
moz.configure Bug 1807907 - Cache the results of try_invoke_compiler on disk for re-use between different runs of configure r=firefox-build-system-reviewers,glandium 2023-02-28 08:42:52 +00:00
mozilla-config.h.in
old-configure.in Bug 1814802 - Move STLPORT_LIBS to moz.configure. r=firefox-build-system-reviewers,glandium 2023-02-14 02:29:22 +00:00
package-lock.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
package.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
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.