gecko-dev/dom
Kris Maglione 391fb42766 Bug 1644439: Don't force frame loader initialization during reflow from focus manager. r=hsivonen
When trying to get the current focused element during reflow, when the current
focused element in the document is a frame which has yet to be initialized,
attempting to walk through that frame's BrowsingContext causes immediate frame
loader initialization. Since frame loader initialization often requires running
scripts, that's unsafe, which is why we defer initialization until the end of
any in-progress reflow or document update.

This patch fixes the focus manager code to ignore any uninitialized frame
loaders it comes across, since by definition they cannot have any
currently-focused element until their subdocuments have been created.

Differential Revision: https://phabricator.services.mozilla.com/D79392
2020-06-12 10:22:56 +00:00
..
abort
animation Bug 1640623 - Use enum classes for LookAndFeel int and float IDs. r=jmathies,geckoview-reviewers,esawin 2020-06-11 11:27:43 +00:00
audiochannel
base Bug 1644439: Don't force frame loader initialization during reflow from focus manager. r=hsivonen 2020-06-12 10:22:56 +00:00
battery
bindings Backed out changeset 550164313c4f (bug 1601179) for causing failures in test_async CLOSED TREE 2020-06-12 08:16:14 +03:00
broadcastchannel Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 3 - Cleanup storage access methods, r=dimi 2020-06-03 06:10:58 +00:00
browser-element
cache Bug 1644009 - P2. Revert "Bug 1592488 - P9. Make a DOMCacheThread an AbstractThread." r=nika 2020-06-12 05:09:33 +00:00
canvas Bug 1644404: Make WebGL actor map a StaticAutoPtr r=jgilbert 2020-06-11 20:15:10 +00:00
chrome-webidl Bug 1643175 - update documentation about JSWindowActor's observers list, r=Yoric 2020-06-11 09:42:32 +00:00
clients Bug 1638711 - Mark WPTs that incorrectly expect synchronous security checks as failing. r=asuth 2020-06-08 23:18:01 +00:00
commandhandler
console Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
credentialmanagement
crypto Bug 1286250 - return correct error code for bad AES key length r=keeler 2020-06-12 20:25:35 +00:00
debugger
docs Bug 1643175 - update documentation about JSWindowActor's observers list, r=Yoric 2020-06-11 09:42:32 +00:00
encoding
events Bug 1640623 - Use enum classes for LookAndFeel int and float IDs. r=jmathies,geckoview-reviewers,esawin 2020-06-11 11:27:43 +00:00
fetch Bug 1642303 - Keep channel of FetchPreloader even after the load has finished to let preload consumers use that channel early after opening, r=baku 2020-06-10 14:21:56 +00:00
file Bug 1502403 - FileReader should dispatch loadstart asynchronously, r=smaug,ssengupta 2020-06-09 14:41:14 +00:00
filehandle Bug 1642991 - Use RemoveElementsBy where easily possible. r=froydnj 2020-06-08 09:01:48 +00:00
filesystem
flex
gamepad
geolocation
grid
html Backed out 7 changesets (bug 1632249) for Gtest perma chrash in [@ mozilla::BlockingResourceBase::CheckAcquire()]. CLOSED TREE 2020-06-11 19:44:20 +03:00
imptests
indexedDB Bug 1641512 - Rename AppendTo*Usage methods to Increment*Usage. r=dom-workers-and-storage-reviewers,janv 2020-06-11 10:42:16 +00:00
interfaces Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE 2020-06-12 22:47:50 +03:00
ipc Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE 2020-06-12 22:47:50 +03:00
jsurl
l10n Bug 1642423: document.l10n.formatValues should accept simple strings as well as L10nKeys. r=zbraniecki 2020-06-08 18:11:00 +00:00
locales Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE 2020-06-12 22:47:50 +03:00
localstorage Bug 1641512 - Rename AppendTo*Usage methods to Increment*Usage. r=dom-workers-and-storage-reviewers,janv 2020-06-11 10:42:16 +00:00
manifest
mathml
media Bug 1626918 - Properly check thread id when running with cubeb not sandboxed on a CLOSED TREE. 2020-06-12 15:19:25 +00:00
messagechannel
midi
network
notification Bug 1592776 - Reformat test_notification_tag.html. r=dom-workers-and-storage-reviewers,asuth 2020-06-02 17:18:47 +00:00
offline
payments
performance Backed out 7 changesets (bug 1599160) for damp failures. CLOSED TREE 2020-06-12 02:40:38 +03:00
permission
plugins Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
power
presentation Bug 1641496 - P6: Reenable some tests r=dragana,extension-reviewers,mixedpuppy 2020-06-04 22:56:38 +00:00
prio
promise
prototype Bug 1557407 - Replace DispatchTrustedEvent with DispatchEventOnlyToChrome for various chrome-only events, r=smaug 2020-06-01 17:11:48 +00:00
push
quota Bug 1641512 - Replace Append method by operator+=. r=dom-workers-and-storage-reviewers,janv 2020-06-11 10:42:24 +00:00
reporting
res
script Bug 1606652 - Speculatively off thread parse external scripts as soon as they are fetched. r=smaug 2020-06-10 00:45:26 +00:00
security Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE 2020-06-12 22:47:50 +03:00
serviceworkers Bug 1644458 - Propagate CookieJarSettings with the partition key to SharedWorkers and ServiceWorkers, r=asuth 2020-06-10 10:05:24 +00:00
simpledb Bug 1641512 - Rename AppendTo*Usage methods to Increment*Usage. r=dom-workers-and-storage-reviewers,janv 2020-06-11 10:42:16 +00:00
smil Bug 1643289 - Move elements where possible in nsTPriorityQueue instead of copying them. r=froydnj 2020-06-10 10:46:34 +00:00
storage Bug 1638389 - skip events that principals are not matched; r=timhuang 2020-06-04 09:00:34 +00:00
svg Bug 1560275 - Flush before trying to read style in SVGGeometryElement::IsPointInStroke r=dholbert,emilio 2020-06-08 21:58:40 +00:00
system Bug 1637402 - Add pref to compare MLS results r=chutten,mikedeboer 2020-06-02 00:01:31 +00:00
tests Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE 2020-06-12 22:47:50 +03:00
u2f
url Bug 1642991 - Use RemoveElementsBy where easily possible. r=froydnj 2020-06-08 09:01:48 +00:00
vr Bug 1555188 - Enable PuppetVRSession to work when VR process is enabled r=thomasmo 2020-06-08 23:57:27 +00:00
webauthn Bug 1642400 - Improve DLL loading. r=jcj 2020-06-09 22:43:59 +00:00
webbrowserpersist Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
webgpu
webidl Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE 2020-06-12 22:47:50 +03:00
websocket
workers Bug 1644009 - P5. Revert "Bug 1592488 - P6. Ensure an AbstractThread exists with RemoteWorkerService thread." r=nika 2020-06-12 05:09:55 +00:00
worklet Bug 1641874 - Update test expectations; r=baku 2020-06-09 09:25:06 +00:00
xhr Bug 1642303 - Keep channel of FetchPreloader even after the load has finished to let preload consumers use that channel early after opening, r=baku 2020-06-10 14:21:56 +00:00
xml Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
xslt Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
xul Bug 1606660 - Move allowfullscreen checks to the browsing context. r=nika 2020-06-08 23:49:31 +00:00
jar.mn
moz.build