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
Dominic Farolino 7d05241b88 Bug 1923735 [wpt PR 48551] - DOM: moveBefore() still runs the update selectedness algorithm, a=testonly
Automatic update from web-platform-tests
DOM: moveBefore() still runs the update selectedness algorithm

Per
https://docs.google.com/document/d/1qfYyvdK4zhzloABKeh0K1lHPm-SpnEcsWEE9UdDuoMk/edit, this CL adds tests for select/option/optgroup
move + selectedness semantics.

This CL also fixes a crash in ContainerNode::WillRemoveChildren(), which
is now reachable during an atomic move, via customizable select [1].
When an option element gets text-only rendered as a result of being
removed from a select element, it wipes *all* of its children, which
could include arbitrary content like iframes. The WillRemoveChildren()
path previously expected to never get called during an atomic move, but
this CL treats it the same as the WillRemoveChild() path, and gates the
child frame disconnector's use on non-SPAM flows.

[1]:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/forms/html_option_element.cc;l=581-583;drc=0afdaad03fc3fc271a751cb77dea8c8efb84b49f

R=masonf, nrosenthal

Bug: 40150299
Change-Id: I0e1064446b8a0359a62b1be152fec22fc9a583b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5921538
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1366923}

--

wpt-commits: da7a99eda6c075329954fe13e87efed02a14a184
wpt-pr: 48551
2024-10-11 15:08:33 +00:00
.cargo Bug 1923287 - Update neqo to v0.9.2 r=kershaw,necko-reviewers 2024-10-08 12:13:34 +00:00
.github/workflows
.vscode
accessible Bug 1915262 - Fire queued live region event from content in MacOS. r=morgan 2024-10-10 17:36:26 +00:00
browser Bug 1924041 - Stop setting the "hashiddentabs" attribute. r=tabbrowser-reviewers,dwalker 2024-10-11 14:25:14 +00:00
build Bug 1923542 - Pass -fno-sized-deallocation and -fno-aligned-new C++ compiler flags through rust even when only passing base flags. r=firefox-build-system-reviewers,sergesanspaille 2024-10-09 20:17:30 +00:00
caps
chrome
config Bug 1923542 - Pass -fno-sized-deallocation and -fno-aligned-new C++ compiler flags through rust even when only passing base flags. r=firefox-build-system-reviewers,sergesanspaille 2024-10-09 20:17:30 +00:00
devtools Backed out 7 changesets (bug 1866402) for causing crashes (bug 1762908). a=backout 2024-10-11 12:47:35 +02:00
docs Bug 1923364 - Add topic guides for app-services, r=nanj,markh DONTBUILD 2024-10-09 23:24:17 +00:00
docshell Bug 1920357 - Ignore viewport meta tag when we're in RDM and we also force desktop viewport. r=devtools-reviewers,jdescottes 2024-10-09 22:34:40 +00:00
dom Bug 1910021 - Using Mutex to protect ConsoleCallData. r=dom-worker-reviewers,smaug 2024-10-11 12:44:05 +00:00
editor Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp. 2024-10-08 23:27:18 +03:00
extensions Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp. 2024-10-08 23:27:18 +03:00
gfx Bug 1917652 Part 2: Explicitly define AddRef and Release in VideoBridgeParent. r=aosmond 2024-10-10 18:39:02 +00:00
gradle/wrapper
hal Bug 1904957: Implement GetHeterogeneousCpuInfo on Windows and use for TaskController pool size. r=cmartin,smaug 2024-10-02 17:27:32 +00:00
image Backed out changeset 34295cdf7c5a (bug 1917901) for causing multiple failures. CLOSED TREE 2024-10-11 05:11:22 +03:00
intl Bug 1922503: Update to tzdata 2024b. r=spidermonkey-reviewers,dminor 2024-10-03 14:16:24 +00:00
ipc Bug 1921707 - (MOZ) moz.build files point to new location for abseil-cpp r=ng 2024-10-10 13:42:41 +00:00
js Bug 1923907 - Part 21: Use signed integer for YearMonthDay struct. r=jandem 2024-10-11 14:28:46 +00:00
layout Bug 1829006 - Remove unnecessary restriction about opaque scrollable windows. r=dholbert 2024-10-11 11:24:09 +00:00
media Bug 1921707 - (MOZ) moz.build files point to new location for abseil-cpp r=ng 2024-10-10 13:42:41 +00:00
memory Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp. 2024-10-08 23:27:18 +03:00
mfbt Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp. 2024-10-08 23:27:18 +03:00
mobile Bug 1924094 - Wait for add-on list to be loaded and download to be finalised in UI tests r=aaronmt,ohorvath 2024-10-11 14:33:34 +00:00
modules Bug 1920733 - For Nightly and early Beta, stop forcing GDI Classic rendering on certain core Windows fonts. r=jrmuizel 2024-10-11 07:17:35 +00:00
mozglue Bug 1922250 - Align skeleton ui with nsWindow more closely. r=win-reviewers,rkraesig 2024-10-11 08:37:23 +00:00
netwerk Bug 1306801 - Removed UsingNeckoIPCSecurity() mention and changed return type for GetValidatedOriginAttributes to void. r=necko-reviewers,kershaw 2024-10-11 13:18:42 +00:00
nsprpub Bug 1920969 - Land NSPR_4_36_BETA2. r=sylvestre UPGRADE_NSPR_RELEASE DONTBUILD 2024-10-07 15:46:14 +00:00
other-licenses
parser Bug 1920562 - Remove JS uses of Services.telemetry.setEventRecordingEnabled r=florian,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,sessionstore-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,sfoster,nchevobbe,valentin,Gijs,dimi,lina,mconley,pdahiya,willdurand 2024-10-08 20:14:42 +00:00
python Bug 1923577 - Bump aioquic to 1.2.0. r=jgraham 2024-10-11 08:58:47 +00:00
remote Bug 1857571 - [marionette] Handle window positioning on Wayland. r=webdriver-reviewers,jdescottes 2024-10-10 13:54:27 +00:00
security Bug 1923888 - Remove 0-ing of security.client_auth_cert_usage Scalar r=keeler 2024-10-10 20:42:35 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes mobile-experiments ct-logs - r=release-managers,RyanVM 2024-10-10 12:09:08 +00:00
servo Bug 1922900 - container-type should stablish a BFC, but not layout containment. r=layout-reviewers,firefox-style-system-reviewers,boris 2024-10-08 06:49:14 +00:00
startupcache
storage
supply-chain Bug 1920766 - vendor webrtc-sdp 0.3.13 for AV1 support;r=dbaker,supply-chain-reviewers 2024-10-10 16:39:15 +00:00
taskcluster Bug 1923598 - Update PDF.js to 233ac1773da43cf7557615b659b56ac5ef2fc431 r=pdfjs-reviewers,calixte 2024-10-11 07:09:02 +00:00
testing Bug 1923735 [wpt PR 48551] - DOM: moveBefore() still runs the update selectedness algorithm, a=testonly 2024-10-11 15:08:33 +00:00
third_party Bug 1923086 [Wayland] Implement compositor crash handler for wayland proxy r=emilio 2024-10-10 20:20:40 +00:00
toolkit Bug 1923973 - Increase size of intermediate PHF table r=janerik 2024-10-11 14:32:03 +00:00
tools Bug 1881556 - Add documentation on the cpuTime metric to raptor documentation r=perftest-reviewers,sparky 2024-10-11 09:52:43 +00:00
uriloader Bug 1922231 - Avoid recording to histograms or scalars in processes that don't match the probe definition, r=chutten. 2024-10-02 21:05:57 +00:00
view Bug 1923289 - Don't report popups as transparent in uncomposited screens. r=stransky 2024-10-08 12:11:00 +00:00
widget Bug 1922250 - Make sure mBounds is correct after consuming maximized skeleton UI. r=fix. CLOSED TREE 2024-10-11 17:38:14 +03:00
xpcom Backed out 2 changesets (bug 1828100) for casuing mochitest failures on Console.cpp. CLOSED TREE 2024-10-11 16:48:46 +03:00
xpfe/appshell Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp. 2024-10-08 23:27:18 +03:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml
.eslintrc-ignores.js
.eslintrc-rollouts.js
.eslintrc-test-paths.js
.eslintrc.js
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hgignore
.hgtags No bug - tagging eaad836f0a492448489e0ffc73f261abda8b4b85 with FIREFOX_NIGHTLY_132_END a=release DONTBUILD CLOSED TREE 2024-09-30 13:32:45 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore Bug 652493 - Remove testing/mochitest/tests/MochiKit-1.4.2/ r=frontend-codestyle-reviewers,jmaher 2024-10-10 15:06:01 +00:00
.prettierrc.js
.rstcheck.cfg
.stylelintignore
.stylelintrc.js Bug 1838298 - Custom Stylelint plugin to prevent color tokens from being used directly r=Standard8,frontend-codestyle-reviewers,desktop-theme-reviewers,dao 2024-09-27 14:58:41 +00:00
.taskcluster.yml Bug 1923857 - retry decision tasks on try for worker-shutdown/claim-expired errors. r=releng-reviewers,bhearsum DONTBUILD 2024-10-10 13:32:22 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1897176 - Allow unit tests to access and use app resources. r=tthibaud 2024-10-01 06:57:53 +00:00
Cargo.lock Bug 1920766 - vendor webrtc-sdp 0.3.13 for AV1 support;r=dbaker,supply-chain-reviewers 2024-10-10 16:39:15 +00:00
Cargo.toml Bug 1923078 - Update to Glean v61.2.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,skhan 2024-10-08 09:39:55 +00:00
client.mk
client.py
CLOBBER Bug 1921707 - libwebrtc - moz.build file updates r=ng,webrtc-reviewers 2024-10-10 13:42:45 +00:00
configure
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in
mots.yaml Bug 1921982 - Add jswinarton as a peer for Tabbed Browser. r=zeid 2024-10-05 13:19:29 +00:00
moz.build Bug 1923364 - Add topic guides for app-services, r=nanj,markh DONTBUILD 2024-10-09 23:24:17 +00:00
moz.configure
mozilla-config.h.in
old-configure.in
package-lock.json Bug 1921838 - Upgrade eslint-plugin-no-unsanitized and others to pull in latest fixes. r=frontend-codestyle-reviewers,Gijs 2024-09-30 18:12:12 +00:00
package.json Bug 1921838 - Upgrade eslint-plugin-no-unsanitized and others to pull in latest fixes. r=frontend-codestyle-reviewers,Gijs 2024-09-30 18:12:12 +00:00
pyproject.toml
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.