gecko-dev/dom
Masayuki Nakano 47ef72825f Bug 1466208 - part 29: Create PresShell::EventHandler::ComputeFocusedEventTargetElement() r=smaug
Most remaining code in `PresShell::EventHandler::HandleEvent()` is what computes
event target of the event which should be handled on focused content.  This
patch moves the part to the new method.

Additionally, moves `nsIPresShell::gKeyDownTarget` to
`EventHandler::sLastKeyDownEventTargetElement` and make it use `StaticRefPtr`.

Finally, for using `Element*` instead of `nsIContent*`, changes the result type
of `Document::GetUnfocusedKeyEventTarget()` to `Element*`.

Differential Revision: https://phabricator.services.mozilla.com/D21195

--HG--
extra : moz-landing-system : lando
2019-03-04 06:11:41 +00:00
..
abort Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
animation Bug 1526850 - Part 4: Add nsCSSPropertyIDSet::IsSubsetOf() for checking the restrictions of some arguments. r=hiro 2019-03-01 21:13:07 +00:00
asmjscache Bug 1520931 - Remove asm.js cache hooks JS API (r=bbouvier) 2019-02-11 11:41:57 -06:00
audiochannel Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
base Bug 1466208 - part 29: Create PresShell::EventHandler::ComputeFocusedEventTargetElement() r=smaug 2019-03-04 06:11:41 +00:00
battery
bindings Bug 1359269 - Part 11: Add a bunch of parser tests; r=bzbarsky 2019-03-02 04:22:12 +00:00
broadcastchannel Backed out 12 changesets (bug 1525245) for failing worker-interception.https.html CLOSED TREE 2019-02-28 00:55:39 +02:00
browser-element Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8 2019-02-28 01:09:48 +00:00
cache Bug 1507991 - Part 2: Serialize domain in ContentPrincipalInfo, r=baku 2019-02-28 16:50:28 +00:00
canvas Merge mozilla-inbound to mozilla-central a=merge 2019-03-02 11:41:18 +02:00
chrome-webidl Bug 1359269 - Part 10: Make it a hard error to apply TreatNullAs on non-types; r=bzbarsky 2019-03-02 04:22:05 +00:00
clients Bug 1518454: Part 1, backend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=bz 2019-02-21 16:00:32 +01:00
commandhandler Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
console Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
credentialmanagement Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
crypto Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
encoding Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor 2019-02-17 15:03:02 +09:00
events Bug 1485264 - Removed dom.event.highrestimestamp.enabled pref r=smaug 2019-03-01 18:49:44 +00:00
fetch Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
file Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
filehandle Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
filesystem Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
flex Bug 1521604 Part 3: Add a test of parentFlexElement. r=dholbert 2019-02-01 22:30:45 +00:00
gamepad Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
geolocation Bug 1525054 - Make ContentPermissionRequestBase calculate the isHandlingUserInput flag itself instead of relying on callers who may or may not pass in the correct information; r=baku 2019-02-04 19:56:48 +00:00
grid
html Bug 1466208 - part 29: Create PresShell::EventHandler::ComputeFocusedEventTargetElement() r=smaug 2019-03-04 06:11:41 +00:00
imptests Bug 1359269 - Part 10: Make it a hard error to apply TreatNullAs on non-types; r=bzbarsky 2019-03-02 04:22:05 +00:00
indexedDB Bug 1489308 part 10. Remove some document.open handling in outer window that's no longer needed. r=mccr8 2019-02-27 05:36:38 +00:00
interfaces Bug 1518454: Part 1, backend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=bz 2019-02-21 16:00:32 +01:00
ipc Bug 1526406 - Part 2: Add tests for observers on JS Window Actor Protocols. r=nika 2019-03-01 18:24:58 +00:00
jsurl Bug 1531128 part 1. Add an nsIScriptChannel API to ask whether the channel is a document load. r=mccr8 2019-02-27 22:05:59 +00:00
locales Bug 1429432 - Require Secure Context for Notifications. r=Ehsan 2019-02-27 10:55:38 +00:00
localstorage Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8 2019-02-28 01:09:48 +00:00
manifest Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
mathml Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
media Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-03-02 12:06:27 +02:00
messagechannel Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
midi Bug 1527505 - Part 9: Make nsIPermissionManager accept ACString arguments for permission types instead of raw C strings; r=nika 2019-02-21 22:54:28 +00:00
network Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
notification Bug 1531097 - Skip notification tests on GeckoView r=gbrown 2019-02-27 20:14:14 +00:00
offline Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE 2019-01-29 10:03:06 +02:00
payments Bug 1525959 - Skip some mochitests tests under GeckoView r=geckoview-reviewers,esawin 2019-02-27 15:01:43 +00:00
performance Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
permission Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
plugins Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
power Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
presentation Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
prio Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
promise Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
push Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
quota Bug 1517089 - Part 5: Move storage service initialization to InitializeLocalStorage; r=asuth 2019-02-07 19:51:22 +01:00
reporting Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
res
script Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
security Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8 2019-02-28 01:09:48 +00:00
serviceworkers Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
simpledb Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
smil Bug 1218257 - Use rust lengths for the SVG lengths. r=boris 2019-03-03 00:16:24 +01:00
storage Backed out 12 changesets (bug 1525245) for failing worker-interception.https.html CLOSED TREE 2019-02-28 00:55:39 +02:00
svg Bug 1218257 - Use rust lengths for the SVG lengths. r=boris 2019-03-03 00:16:24 +01:00
system Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
tests Bug 1519953, replace calls to retrieve boxobject position and size with getBoundingClientRect, r=gijs 2019-03-01 12:26:45 -05:00
u2f Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
url Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
vr Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
webauthn Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
webbrowserpersist Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
webgpu Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
webidl Bug 1359269 - Part 10: Make it a hard error to apply TreatNullAs on non-types; r=bzbarsky 2019-03-02 04:22:05 +00:00
websocket Bug 1525527 - Crash in OOM | large | NS_ABORT_OOM | mozilla::dom::WebSocket::CreateAndDispatchMessageEvent, r=michal 2019-02-19 08:22:00 +02:00
workers Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth. 2019-03-03 07:05:07 -10:00
worklet Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
xbl Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
xhr Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
xml Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
xslt Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
xul Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00
jar.mn
moz.build Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00