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
Перейти к файлу
Chris Hall 14c656dbfb Bug 1696981 [wpt PR 27892] - [Element Reflection] explicitly set attr-element should not prevent GC., a=testonly
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
2021-03-15 08:34:22 +00:00
.cargo Bug 1696780 - Update mp4parse-rust to 94c3b1f. r=bryce,kinetik 2021-03-09 21:36:31 +00:00
.vscode
accessible Bug 1695162 - Migrate from custom hashtable iteration to range-based for in accessible, dom/animation, dom/base, dom/localstorage, gfx/thebes. r=nika 2021-03-12 16:14:58 +00:00
browser Backed out changeset c5b7d3456ec9 (bug 1696253) for causing bc failures in browser_HomePage_add_button.js 2021-03-15 06:54:42 +02:00
build Bug 1662652 - New non-standard move checker. r=andi 2021-03-12 08:15:32 +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 1689597 - Add Fuzzilli support to the build system. r=glandium 2021-03-11 12:13:21 +00:00
devtools Bug 1696375 - [devtools] Move Targets tests to commands folder. r=nchevobbe 2021-03-15 08:08:38 +00:00
docs Bug 1691739 - [perfdocs] Display each test description for raptor r=sparky,perftest-reviewers 2021-03-11 15:59:15 +00:00
docshell Bug 1688712 - disable test_bug1300461.html for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD 2021-03-13 22:47:35 +00:00
dom Bug 1698303 - Wrap code using profiler_can_accept_markers with #ifdef MOZ_GECKO_PROFILER. r=emilio 2021-03-14 03:31:48 +00:00
editor Bug 1692673 - Update tests for new Cut/Copy command-enabling behavior. r=masayuki 2021-03-12 16:34:42 +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 1697887 - Remove TransfromPrecache test. r=aosmond 2021-03-14 19:45:47 +00:00
gradle/wrapper
hal Bug 1694481 - Remove unused android lock screen orientation support. r=aklotz 2021-03-10 22:43:09 +00:00
image Bug 1697963 - Handle non-animated frozen images better, avoiding WR fallback. r=aosmond 2021-03-12 18:39:05 +00:00
intl Bug 1697076 - Drop assertion from mozilla::unicode::GetNaked. r=jfkthame 2021-03-11 09:42:18 +00:00
ipc Bug 1690921 - Limit IPC `sendmsg` gather list sizes based on socket buffer capacity. r=mccr8,gcp 2021-03-12 21:12:10 +00:00
js Bug 1694537 - support reference types in wasm exceptions r=rhunt 2021-03-14 20:13:47 +00:00
layout Bug 1685888 - Use the correct offset to reference frame for items wrapping a transform item. r=mstange 2021-03-15 03:44:57 +00:00
media Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges 2021-03-10 23:52:40 +00:00
memory Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges 2021-03-10 23:52:40 +00:00
mfbt Bug 1690167 - Allocate some memory before running RandomNum tests. r=Gankra 2021-03-10 23:52:41 +00:00
mobile Bug 1695272: Move `--no-interactive` to global mach args r=firefox-build-system-reviewers,glandium 2021-03-12 16:07:11 +00:00
modules Bug 1697935 - Remove unused javascript.options.spectre.object_mitigations.barriers pref. r=iain 2021-03-13 16:46:57 +00:00
mozglue Bug 1697282 - Make the repo buildable without MOZ_LAUNCHER_PROCESS. r=aklotz 2021-03-12 23:38:01 +00:00
netwerk Bug 1687283 - Part 2: Modify the AntiTrackingRedirectHeuristic. r=dimi 2021-03-12 08:45:29 +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 1692308 - Add an initial delay to IdleTaskRunner r=smaug 2021-03-12 06:55:46 +00:00
python Bug 1695366: Only submit Sentry events when Mach is unmodified r=sheehan 2021-03-12 22:29:28 +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 Bug 1690921 - Detect socket syscalls only once per process when building Linux sandbox policies. r=gcp 2021-03-12 21:12:11 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM 2021-03-11 15:02:46 +00:00
servo Bug 1697842 - Don't specify a rayon minor version in Cargo.toml. r=jrmuizel 2021-03-11 18:23:01 +00:00
startupcache Bug 1688511 - do not use 'else' after 'return'. r=sylvestre 2021-02-04 09:24:19 +00:00
storage Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
taskcluster Bug 1694833 - [ci] Enable mochitest-plain-fis on more platforms, r=jmaher 2021-03-12 20:43:26 +00:00
testing Bug 1696981 [wpt PR 27892] - [Element Reflection] explicitly set attr-element should not prevent GC., a=testonly 2021-03-15 08:34:22 +00:00
third_party Bug 1691329 - Fix cursor capture for Windows and OS X; r=ng 2021-03-12 19:11:09 +00:00
toolkit Bug 1698319 - Set background-size on PiP close button. r=mtigley 2021-03-14 21:21:54 +00:00
tools Bug 1697772 - Replace uses of "whitelist" with "allowlist" in Talos r=perftest-reviewers,sparky 2021-03-12 22:04:46 +00:00
uriloader Bug 1694481 - Remove unused code from exthandler/android. r=droeh,esawin 2021-03-10 22:43:08 +00:00
view Backed out changeset 93fd52dafca2 (bug 1689682) as requested by haik. CLOSED TREE 2021-03-14 04:29:17 +02:00
widget Backed out changeset 93fd52dafca2 (bug 1689682) as requested by haik. CLOSED TREE 2021-03-14 04:29:17 +02:00
xpcom Bug 1698043 - Simplify <input type=number/search> layout to fix this bug and make ::-moz-complex-control-wrapper unnecessary. r=dholbert 2021-03-14 07:53:13 +00:00
xpfe/appshell Bug 1694481 - Remove unused code from exthandler/android. r=droeh,esawin 2021-03-10 22:43:08 +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 1696496 - Disable raptor tests running on windows10-64-ref-hw-2017. r=perftest-reviewers,igoldan 2021-03-11 14:13:09 +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 1693912 - Renumber SIMD instructions based on final spec. r=rhunt 2021-03-12 17:23:54 +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 1638992 - Run ./mach test with Python 3, r=releng-reviewers,jmaher 2021-03-12 21:10:31 +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.