gecko-dev/dom
Daniel Holbert d6f406d8ba Bug 1873802: Make nsRangeFrame place the thumb at the minimum position if it happens to get reflowed before its element is done being created. r=emilio
Some context:
- Our HTML parser treats element creation, attribute-parsing, and
  "DoneCreatingElement"-calls as being separate operations, and it can yield
  between them.
- HTMLInputElement doesn't sanitize its values until DoneCreatingElement has
  been called, presumably sanitization itself depends on values (e.g. min/max)
  that might not have been parsed yet.
- So if the HTML parser yields at just the right point (before
  DoneCreatingElement), then we might generate and reflow a nsRangeFrame whose
  underlying values (on the element) haven't yet been sanitized.

This patch handles this situation by exposing a getter to tell us whether
DoneCreatingElement has been called.  If that getter returns false, we assume
that value-sanitization hasn't happened, and we disregard the element's
(presumed-to-be-unsanitized) numeric values when determining the
range's thumb-position.

Differential Revision: https://phabricator.services.mozilla.com/D198331
2024-01-16 17:38:30 +00:00
..
abort Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup 2023-11-28 01:02:01 +00:00
animation Bug 1871745 - Hide -moz-user-focus from content. r=smaug 2023-12-28 17:45:49 +00:00
audiochannel
base Bug 1874776 - Ignore built-in extension pages from telemetry. r=smaug 2024-01-16 17:03:00 +00:00
battery
bindings Bug 1869726 - Part 4: Use latin1 JSExternalString for WebIDL UTF8String with ASCII case. r=emilio 2024-01-13 08:01:43 +00:00
broadcastchannel Bug 1847298: IPC constructor cleanup r=nika,padenot,dom-storage-reviewers,necko-reviewers,cookie-reviewers,asuth,Jamie 2023-12-08 15:56:39 +00:00
browser-element
cache Bug 1836727 - [marionette] Fix MARIONETTE_MANIFESTS usage in moz.build files. r=webdriver-reviewers,necko-reviewers,application-update-reviewers,search-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,Standard8,jesup,jdescottes,nalexander,sclements,janv 2024-01-11 10:34:29 +00:00
canvas Bug 1874666 - Reduce some unnecessary SetTransform calls. r=aosmond 2024-01-15 19:30:40 +00:00
chrome-webidl Bug 1872116 - Fix year detection in checkTimeDateString r=whimboo,webdriver-reviewers,arai 2023-12-30 07:57:13 +00:00
clients
commandhandler
console Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup 2023-11-28 01:02:01 +00:00
credentialmanagement Bug 1870863 - Implement publickey-credentials-create in Permissions-Policy. r=jschanck 2024-01-12 22:31:00 +00:00
crypto
debugger
docs Bug 1872690 - Add doc for service worker performance tests. r=sparky,dom-worker-reviewers,smaug 2024-01-15 15:45:08 +00:00
encoding Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup 2023-11-28 01:02:01 +00:00
events Bug 1870960 - Make IMEStateManager stop using nsPresContext::GetTextInputHandlingWidget() as far as possible r=smaug 2024-01-16 00:09:35 +00:00
fetch Bug 1865728 - Reverse the check order in Fetch::SetBodyUsed r=smaug 2023-12-01 12:37:03 +00:00
file Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaObjectChild. CLOSED TREE 2024-01-08 23:18:19 +02:00
filesystem
flex
fs Bug 1871799 - Fix relevant quota clients to always use QuotaVFS for database access; r=dom-storage-reviewers,asuth 2024-01-10 21:10:14 +00:00
gamepad Bug 1680982 - Implement Linux/Unix Gamepad support using evdev. r=stransky 2024-01-11 20:15:22 +00:00
geolocation
grid
html Bug 1873802: Make nsRangeFrame place the thumb at the minimum position if it happens to get reflowed before its element is done being created. r=emilio 2024-01-16 17:38:30 +00:00
imptests
indexedDB Bug 1742554 - removed instances of ftp. r=necko-reviewers,dom-storage-reviewers,kershaw,valentin,janv 2024-01-16 16:11:00 +00:00
interfaces Bug 1873777 - Remove [function] attribute from interfaces which are not meant to be callbacks r=mccr8 2024-01-12 19:05:26 +00:00
ipc Bug 1873330 - Part 6: Reflect UserActivation::Modifiers to window.open location. r=smaug 2024-01-11 17:24:03 +00:00
jsurl Bug 1722328 - Use defaultURI to verify data and javascript schemes with '//' during parsing. r=necko-reviewers,valentin 2023-12-13 13:52:55 +00:00
l10n Bug 1850295 - Fix non-unified build. 2024-01-16 14:11:42 +01:00
locales Bug 1872675 - Deprecate IDBObjectStore.createIndex() locale option r=webidl,dom-storage-reviewers,smaug,saschanaz,janv 2024-01-09 14:05:14 +00:00
localstorage Bug 1808294 - Rename EnsureTemporaryStorageIsInitialized to EnsureTemporaryStorageIsInitializedInternal; r=dom-storage-reviewers,asuth 2023-12-08 05:55:04 +00:00
locks
manifest
mathml Bug 1868552 - Refactor nsIContent::IsFocusable for clarity. r=masayuki 2023-12-08 11:34:06 +00:00
media Bug 1869043 manage AudioStreamTrack outputs to non-default devices in MediaTrackGraph r=pehrsons 2024-01-16 14:23:27 +00:00
messagechannel Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup 2023-11-28 01:02:01 +00:00
midi Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaObjectChild. CLOSED TREE 2024-01-08 23:18:19 +02:00
network
notification Bug 1868395: Fixing browser_permission_dismiss.js failure for repeated runs.r=saschanaz 2023-12-12 18:57:01 +00:00
origin-trials
payments Bug 1847298: IPC constructor cleanup r=nika,padenot,dom-storage-reviewers,necko-reviewers,cookie-reviewers,asuth,Jamie 2023-12-08 15:56:39 +00:00
performance Bug 1873405: Relax an assertion about timing r=sefeng 2024-01-10 09:56:52 +00:00
permission Bug 1589554 - Part 3: Screen Wake Lock permission integration. r=webidl,dom-core,smaug,pbz,edgar 2023-12-05 23:58:06 +00:00
plugins
power Bug 1869118 - Fix crash in WakeLockJS::Observe; r=dom-core,CanadaHonk 2023-12-15 07:08:17 +00:00
promise Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup 2023-11-28 01:02:01 +00:00
prototype
push Bug 1869558 - Part 2: Port applicationServerKey validation tests to WPT r=asuth 2024-01-16 00:27:59 +00:00
quota Bug 1742554 - removed instances of ftp. r=necko-reviewers,dom-storage-reviewers,kershaw,valentin,janv 2024-01-16 16:11:00 +00:00
reporting
res
script Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb 2024-01-08 15:47:42 +00:00
security Bug 1870863 - Implement publickey-credentials-create in Permissions-Policy. r=jschanck 2024-01-12 22:31:00 +00:00
serializers
serviceworkers Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb 2024-01-08 15:47:42 +00:00
simpledb Bug 1808294 - Rename EnsureTemporaryStorageIsInitialized to EnsureTemporaryStorageIsInitializedInternal; r=dom-storage-reviewers,asuth 2023-12-08 05:55:04 +00:00
smil Bug 1871107 - Use do_AddRef more r=TYLin 2023-12-20 23:34:03 +00:00
storage Bug 1847298: IPC constructor cleanup r=nika,padenot,dom-storage-reviewers,necko-reviewers,cookie-reviewers,asuth,Jamie 2023-12-08 15:56:39 +00:00
streams Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup 2023-11-28 01:02:01 +00:00
svg Bug 1872907 - stop marking SVG symbol elements as display:none r=emilio 2024-01-09 22:02:13 +00:00
system Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaObjectChild. CLOSED TREE 2024-01-08 23:18:19 +02:00
tests Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb 2024-01-08 15:47:42 +00:00
url Bug 1603699 - Enable default URI pref. r=valentin,necko-reviewers,extension-reviewers,robwu 2023-12-06 19:33:56 +00:00
vr
webauthn Bug 1870863 - Implement publickey-credentials-create in Permissions-Policy. r=jschanck 2024-01-12 22:31:00 +00:00
webbrowserpersist Bug 1850295 - Fix non-unified build. 2024-01-16 14:11:42 +01:00
webgpu Bug 1873696, part 2: test(webgpu): adjust vendored CTS file perms. to match upstream for Unix platforms r=webgpu-reviewers,nical 2024-01-12 16:19:25 +00:00
webidl Bug 1850295 - Update :user-{valid,invalid} to follow the spec. r=smaug 2024-01-16 11:09:01 +00:00
webscheduling Bug 1874080 - Nullify WebTaskSchedulerWorker::mWorkerPrivate while Disconnect(). r=smaug 2024-01-15 15:53:56 +00:00
webshare
websocket Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb 2024-01-08 15:47:42 +00:00
webtransport Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaObjectChild. CLOSED TREE 2024-01-08 23:18:19 +02:00
workers Bug 1872913 - Ensure mMainThreadDebuggeeEventTarget is not paused during canceling of a worker. r=asuth 2024-01-13 08:45:08 +00:00
worklet Bug 1800641 - Part 8: Add LoadContextBase* parameter to ScriptLoadRequest methods which is going to be moved to LoadedScriptDelegate. r=nbp 2024-01-08 14:57:38 +00:00
xhr Bug 1826079 - decrease timeout from 3000 to 2500 for test_worker_xhr_timeout.html. r=necko-reviewers,valentin 2023-12-06 18:23:33 +00:00
xml Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb 2024-01-08 15:47:42 +00:00
xslt Bug 1839051 - Use nsTArray::StableSort in the txNodeSorter. r=peterv,emilio 2023-12-11 06:53:27 +00:00
xul Bug 1839051 - Use nsTArray::Sort in the nsXULSortService. r=xpcom-reviewers,emilio 2023-12-11 06:53:26 +00:00
jar.mn
metrics.yaml
moz.build
pings.yaml Bug 1869004 - On Android submit 'use-counters' ping also around startup r=emilio 2023-12-12 17:22:20 +00:00