Closed
Bug 1228247
Opened 10 years ago
Closed 10 years ago
chrome.windows.getLastFocused() returns { focused: true } after window switch
Categories
(WebExtensions :: Untriaged, defect, P4)
Tracking
(firefox47 fixed)
RESOLVED
FIXED
mozilla47
| Tracking | Status | |
|---|---|---|
| firefox47 | --- | fixed |
People
(Reporter: glue166, Assigned: aswan)
Details
(Whiteboard: [good first bug] triaged)
Attachments
(1 file)
|
1.01 KB,
patch
|
enndeakin
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Steps to reproduce:
In Nightly build firefox, in webExtension call chrome.windows.getLastFocused() after window switched from firefox to chrome.
Actual results:
returned window object has { focused: true } and window.id != chrome.windows.WINDOW_ID_NONE
Expected results:
returned window object should have { focused: false } or/and
window.id == chrome.windows.WINDOW_ID_NONE
Updated•10 years ago
|
Assignee: nobody → aswan
Priority: -- → P4
Whiteboard: [good first bug] triaged
| Assignee | ||
Comment 1•10 years ago
|
||
Pretty simple.
No test but we don't have any existing test coverage on
chrome.windows.getLastFocused()
Attachment #8721076 -
Flags: review?(enndeakin)
Updated•10 years ago
|
Attachment #8721076 -
Flags: review?(enndeakin) → review+
| Assignee | ||
Updated•10 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 3•10 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•8 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•