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)

45 Branch
x86_64
Windows 8.1
defect

Tracking

(firefox47 fixed)

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: glue166, Assigned: aswan)

Details

(Whiteboard: [good first bug] triaged)

Attachments

(1 file)

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
OS: Unspecified → Windows 8.1
Hardware: Unspecified → x86_64
Component: Untriaged → WebExtensions
Product: Firefox → Toolkit
Assignee: nobody → aswan
Priority: -- → P4
Whiteboard: [good first bug] triaged
Pretty simple. No test but we don't have any existing test coverage on chrome.windows.getLastFocused()
Attachment #8721076 - Flags: review?(enndeakin)
Attachment #8721076 - Flags: review?(enndeakin) → review+
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: