зеркало из https://github.com/mozilla/gecko-dev.git
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
14c656dbfb
Automatic update from web-platform-tests [Element Reflection] explicitly set attr-element should not prevent GC. An explicitly set attr-element is an internal reference from one element to other element(s). This internal reference is then only exposed if that reference relationship is considered valid, otherwise the accessors will "lie" and pretend that the underlying reference is not set by returning appropriate default values. A relationship can only be valid if the referenced element is inserted into the DOM, in which case the reference from its DOM parent will keep it alive. If a referenced element is not inserted into the DOM, the only way it can later become a valid and exposed reference is if there is another valid reference somewhere (e.g. inside Javascript) which will be used to insert the referenced element into the DOM at a later point. If a referenced element is not currently within the DOM, then the only way it can later become valid and exposed is by being inserted into the DOM, which requires another reference somewhere (e.g. within Javascript) to be used to insert into the DOM. This means that if no other references exist, then the referenced element(s) can be safely garbage collected as this reference is in an invalid state (referenced element not in DOM), and we can never reach a valid state (no other references). Updating internal maps to store WeakMember(s) rather than Member(s). This necessitated a move from HeapVector to HeapLinkedHashSet, as HeapVector does not support WeakMember(s) as elements. The array setters/getters perform conversion between HeapVector and HeapLinkedHashSet to keep the V8 bindings happy. Change-Id: If9733a8affaf9b0b74b705115909627c1dd8e173 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2695010 Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Alice Boxhall <aboxhall@chromium.org> Reviewed-by: Meredith Lane <meredithl@chromium.org> Commit-Queue: Chris Hall <chrishall@chromium.org> Cr-Commit-Position: refs/heads/master@{#860058} -- wpt-commits: 166fdd4a0a8db278e825763791055c8d0b1cf6ef wpt-pr: 27892 |
||
---|---|---|
.cargo | ||
.vscode | ||
accessible | ||
browser | ||
build | ||
caps | ||
chrome | ||
config | ||
devtools | ||
docs | ||
docshell | ||
dom | ||
editor | ||
extensions | ||
gfx | ||
gradle/wrapper | ||
hal | ||
image | ||
intl | ||
ipc | ||
js | ||
layout | ||
media | ||
memory | ||
mfbt | ||
mobile | ||
modules | ||
mozglue | ||
netwerk | ||
nsprpub | ||
other-licenses | ||
parser | ||
python | ||
remote | ||
security | ||
services | ||
servo | ||
startupcache | ||
storage | ||
taskcluster | ||
testing | ||
third_party | ||
toolkit | ||
tools | ||
uriloader | ||
view | ||
widget | ||
xpcom | ||
xpfe/appshell | ||
.arcconfig | ||
.babel-eslint.rc.js | ||
.clang-format | ||
.clang-format-ignore | ||
.cron.yml | ||
.eslintignore | ||
.eslintrc.js | ||
.flake8 | ||
.git-blame-ignore-revs | ||
.gitattributes | ||
.gitignore | ||
.hg-annotate-ignore-revs | ||
.hg-format-source | ||
.hgignore | ||
.hgtags | ||
.lldbinit | ||
.mailmap | ||
.prettierignore | ||
.prettierrc | ||
.taskcluster.yml | ||
.trackerignore | ||
.yamllint | ||
.ycm_extra_conf.py | ||
AUTHORS | ||
CLOBBER | ||
Cargo.lock | ||
Cargo.toml | ||
GNUmakefile | ||
LICENSE | ||
Makefile.in | ||
README.txt | ||
aclocal.m4 | ||
build.gradle | ||
client.mk | ||
client.py | ||
configure.in | ||
configure.py | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
mach | ||
mach.ps1 | ||
moz.build | ||
moz.configure | ||
mozilla-config.h.in | ||
old-configure.in | ||
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.