Closed Bug 1176239 Opened 4 years ago Closed 4 years ago

[e10s] Tab navigation gets stuck

Categories

(Core :: DOM: Events, defect)

defect
Not set
Points:
3

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
e10s + ---
firefox42 --- fixed

People

(Reporter: enndeakin, Assigned: enndeakin)

References

Details

Attachments

(2 files, 1 obsolete file)

1. Open:
  data:text/html,<input>
2. Press Tab a few times.

Expected: focus shifts from the urlbar, searchbar, document, input, then loops back to the urlbar

Actual: after focusing the document, tab navigation gets stuck and the tab key doesn't do anything

You can fix it by clicking elsewhere. It also works fine when navigating backwards with Shift+Tab.
Attached patch Work in progress patch (obsolete) — Splinter Review
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Blocks: 1163002
Depends on: 1132518
Points: --- → 3
Attached patch Cleaned up patchSplinter Review
Currently, when tab navigation moves to a remote <browser>, it just focuses/activates it, leaving the focus at whatever was focused last time that <browser> was active. Instead, it should redirect the tab navigation to the child process to continue looking for the next element in tab order from its starting point (or ending point if navigating backwards)

This is easier now that the F6 navigation bug is done.
Attachment #8624811 - Attachment is obsolete: true
Attachment #8634723 - Flags: review?(bugs)
Comment on attachment 8634725 [details] [diff] [review]
Test for this

s/naviagtion/navigation/
Attachment #8634725 - Flags: review?(bugs) → review+
Comment on attachment 8634725 [details] [diff] [review]
Test for this

oh, wait, who calls add_task?
Attachment #8634725 - Flags: review+ → review?(bugs)
Comment on attachment 8634725 [details] [diff] [review]
Test for this

I guess add_task works that way. Couldn't find proper documentation though.
Attachment #8634725 - Flags: review?(bugs) → review+
Attachment #8634723 - Flags: review?(bugs) → review+
url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/f5ea755e3cb9b7fd2f56f7f453e5ea84512972c0
changeset:  f5ea755e3cb9b7fd2f56f7f453e5ea84512972c0
user:       Neil Deakin <neil@mozilla.com>
date:       Mon Jul 20 08:59:50 2015 -0400
description:
Bug 1176239, do tab navigation in the child when moving between the parent and child process, r=smaug

url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/bc18893041c1703ee837120497a919d8c3d1c40a
changeset:  bc18893041c1703ee837120497a919d8c3d1c40a
user:       Neil Deakin <neil@mozilla.com>
date:       Mon Jul 20 08:59:50 2015 -0400
description:
Bug 1176239, test e10s tab navigation between parent and child, r=smaug
https://hg.mozilla.org/mozilla-central/rev/f5ea755e3cb9
https://hg.mozilla.org/mozilla-central/rev/bc18893041c1
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Hi, sorry had to back this out for test failures like https://treeherder.mozilla.org/logviewer.html#?job_id=1844736&repo=mozilla-central
Status: RESOLVED → REOPENED
Flags: needinfo?(enndeakin)
Resolution: FIXED → ---
url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/7e72681dff59cb7f38dda53604a27d191a7a2e5f
changeset:  7e72681dff59cb7f38dda53604a27d191a7a2e5f
user:       Neil Deakin <neil@mozilla.com>
date:       Thu Jul 23 10:04:15 2015 -0400
description:
Bug 1176239, do tab navigation in the child when moving between the parent and child process, r=smaug
I checked in the patch again without the test. I can't reproduce the failure but I'll keep looking.
Flags: needinfo?(enndeakin)
https://hg.mozilla.org/mozilla-central/rev/7e72681dff59
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Duplicate of this bug: 904865
You need to log in before you can comment on or make changes to this bug.