gecko-dev/dom
Emilio Cobos Álvarez 92a7c4150d Bug 1558393 - Don't keep top level scope owner when going backwards. r=smaug
When going backwards the host is the last thing of the scope we see, not the
first, so we need to make sure to properly switch to the document scope.

To be clear, the order this is happening when bogusly going backwards from
`second` to `first` is:

 * We're doing frame traversal so start off the <div>.
 * The text is the first frame in preorder we find, we figure out that the
   current top-level owner is the host. But it's not focusable so we carry on.
 * Now we go to the next frame and find the <span>. `oldTopLevelScopeOwner` is
   still the span itself, and we don't change it (that's what my patch fixes),
   so we go into the "We're within non-document scope, continue", and thus skip
   trying to focus the host.

With this fix we actually realize that the current top level scope owner has
changed and thus don't skip it and try to focus the slot properly.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 10:35:39 +00:00
..
abort
animation Bug 1558527 - Fix various issues related to shadowing of variables in dom/ code. r=mccr8 2019-06-12 08:29:58 +00:00
audiochannel
base Bug 1558393 - Don't keep top level scope owner when going backwards. r=smaug 2019-06-25 10:35:39 +00:00
battery
bindings Improve documentation around 'concrete' in bindings. No bug. r=smaug 2019-06-21 06:50:52 +00:00
broadcastchannel Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku 2019-05-27 14:06:49 +00:00
browser-element Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
cache Bug 1490044 - Remove DOMPrefs. r=bzbarsky 2019-06-13 09:02:03 +00:00
canvas Bug 1561073 - powerPreference 'default' => 'low-power' if Canvas element has no parent. r=jrmuizel 2019-06-25 01:09:25 +00:00
chrome-webidl Bug 1555963 - Add WindowGlobalParent.getSecurityInfo(). r=nika,mconley 2019-06-21 05:58:40 +00:00
clients Bug 1534681 Use ReferrerInfo class in document r=ckerschb,baku,Gijs 2019-06-06 07:23:37 +00:00
commandhandler
console Bug 1490044 - Remove DOMPrefs. r=bzbarsky 2019-06-13 09:02:03 +00:00
credentialmanagement
crypto
debugger Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug 2019-06-17 04:36:29 +00:00
docs
encoding
events Bug 1549930 addendum - Notify widgets of IME blur on quit (on non-Android). r=masayuki 2019-06-17 04:51:29 +00:00
fetch Bug 1551256 - Show net monitor stacks for fetch() calls from workers, r=bzbarsky. 2019-06-15 06:46:22 -10:00
file Bug 1558527 - Fix various issues related to shadowing of variables in dom/ code. r=mccr8 2019-06-12 08:29:58 +00:00
filehandle
filesystem
flex Bug 1532937 - Enable ESLint for dom/flex and dom/grid (automatic changes). r=Standard8,smaug 2019-06-03 10:42:12 +00:00
gamepad Bug 1555484 - Clean DS4 GamepadTouchState when stopping touching. r=baku 2019-06-19 17:30:33 +00:00
geolocation Bug 1490044 - Move all prefs used in WebIDL to StaticPrefs. r=bzbarsky 2019-06-13 09:00:59 +00:00
grid Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
html Bug 1555946 - Remove HTMLMediaElement::mUnboundFromTree and use nsINode::IsInComposedDoc() instead. r=emilio 2019-06-19 22:37:56 +00:00
imptests
indexedDB Bug 1559220 - Special case IndexedDB threads in wakeup telemetry, r=erahm 2019-06-16 21:03:45 +00:00
interfaces Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley 2019-06-13 21:00:34 +00:00
ipc Merge autoland to mozilla-central. a=merge 2019-06-25 12:38:30 +03:00
jsurl Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky 2019-06-06 20:19:56 +00:00
l10n Bug 1552714 - Fix tests to compare the result of getAttributes against L10nKeys. r=smaug 2019-06-06 16:33:09 +00:00
locales Bug 1558585 - DOM's appstrings.properties should include entity for harmfulBlocked r=dimi 2019-06-12 06:16:13 +00:00
localstorage Bug 1559029 - LSNG: Connection::FlushOp::DoDatastoreWork needs to automatically rollback the transaction and detach the shadow database on an error; r=asuth 2019-06-13 04:17:52 +02:00
manifest Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
mathml Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug 2019-06-08 21:26:12 +00:00
media Bug 1429847 - Promote audio threads to real-time priority before locking down the sandbox. r=kinetik 2019-06-21 19:49:10 +00:00
messagechannel Bug 1558822 - Fix more issues related to shadowing of variables in dom/ code. r=perry 2019-06-14 18:04:01 +00:00
midi Bug 1558485 - Turn on ESLint for all of dom/ disabling most of the failing rules. r=smaug 2019-06-13 20:21:46 +00:00
network Bug 1558822 - Fix more issues related to shadowing of variables in dom/ code. r=perry 2019-06-14 18:04:01 +00:00
notification Bug 1553769 - Have a single way of requesting window focus and switching to a tab. r=NeilDeakin,snorp 2019-06-03 19:42:28 +00:00
offline Bug 1557904. Stop using [array] in appcache interfaces. r=mayhemer 2019-06-12 12:02:37 +00:00
payments Bug 1558485 - Turn on ESLint for all of dom/ disabling most of the failing rules. r=smaug 2019-06-13 20:21:46 +00:00
performance Bug 1558822 - Fix more issues related to shadowing of variables in dom/ code. r=perry 2019-06-14 18:04:01 +00:00
permission
plugins Bug 1560157 - Remove EGLUtils.h. r=lsalzman 2019-06-21 16:53:09 +00:00
power
presentation Bug 1558536. Stop using [array] in nsINetworkInfoService. r=dragana 2019-06-13 04:25:48 +00:00
prio Bug 1552315 - Hardcode the new prio keys to avoid misconfiguration. r=rhelmer 2019-05-23 18:13:53 +00:00
promise
prototype Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug 2019-06-08 21:26:12 +00:00
push Bug 1490044 - Remove DOMPrefs. r=bzbarsky 2019-06-13 09:02:03 +00:00
quota Bug 1529016 - P1 - Collect unexpected file's name in the origin directories; r=asuth,chutten 2019-06-18 21:06:32 +00:00
reporting Bug 1121623 part 6. Remove ReportBody::WrapObject. r=baku 2019-05-23 05:36:43 +00:00
res
script Bug 1554362 - Accumulate external source text as either UTF-8 or UTF-16, in pref-controlled fashion, and then compile the accumulated text using corresponding JSAPI entrypoints without inflating UTF-8 to UTF-16. r=bzbarsky 2019-06-15 20:48:40 +00:00
security Bug 1504085 - P2 Let Origin: honor ReferrerPolicy for non-CORS r=tnguyen,valentin 2019-06-14 22:24:33 +00:00
serviceworkers Bug 1558387: Remove DOMError constructor r=bzbarsky 2019-06-17 15:43:38 +00:00
simpledb
smil Bug 1558822 - Fix more issues related to shadowing of variables in dom/ code. r=perry 2019-06-14 18:04:01 +00:00
storage Bug 1556812 - Only notify same-origin actors in LocalStorageCacheParent::RecvNotify(); r=baku 2019-06-07 15:09:21 +00:00
svg Bug 1529572 - Should resolve absolute units r=longsonr 2019-06-23 12:51:05 +00:00
system Bug 1490044 - Move all prefs used in WebIDL to StaticPrefs. r=bzbarsky 2019-06-13 09:00:59 +00:00
tests Bug 1551425: Part 1) Test reference to childNodes' NodeList keeps its items alive. r=smaug 2019-06-25 06:56:01 +00:00
u2f Bug 1558822 - Fix more issues related to shadowing of variables in dom/ code. r=perry 2019-06-14 18:04:01 +00:00
url Bug 1558923 - Remove nsContentUtils::GetThreadSafe{ASCII,UTF8}Origin, r=valentin 2019-06-13 19:45:52 +00:00
vr Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel 2019-05-26 14:29:42 +00:00
webauthn Bug 1558822 - Fix more issues related to shadowing of variables in dom/ code. r=perry 2019-06-14 18:04:01 +00:00
webbrowserpersist Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
webgpu
webidl Bug 1552352 - Add extended attributes to CSSKeyframeRule.style. r=smaug 2019-06-24 20:22:46 +00:00
websocket Backed out changeset 865186d0ab94 (bug 1555322) for creating leaks. CLOSED TREE 2019-06-20 02:27:36 +03:00
workers Bug 1559468 part 2. Move JS_DefineProfilingFunctions into dom::CreateGlobal. r=mccr8 2019-06-20 23:07:40 +00:00
worklet Bug 1490044 - Remove DOMPrefs. r=bzbarsky 2019-06-13 09:02:03 +00:00
xbl Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug 2019-06-08 21:26:12 +00:00
xhr Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug 2019-06-17 04:36:29 +00:00
xml Bug 836176 - Part 3: Remove nsIHTMLDocument; r=farre 2019-06-04 17:27:43 +00:00
xslt Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
xul Bug 1559207 - Make XULPersist::AttributeChanged a bit faster in the common case, r=bdahl 2019-06-13 19:06:12 +00:00
jar.mn
moz.build Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug 2019-06-17 04:36:29 +00:00