Closed
Bug 1296036
Opened 8 years ago
Closed 8 years ago
WebExtensions: chrome.windows.create doesn't honor 'left' & 'top' attributes for 'type':'popup'
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1271047
People
(Reporter: oleary.gabe, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Steps to reproduce: call chrome.windows.create({ url: 'https://www.google.com/', left: 400, top: 0, width: 200, height: 200, type: "popup" }); Actual results: no matter what 'left' and 'top' are set to, the spawned window shows up in the same location (center of screen). When I remove type it works as expected. Expected results: changing left & top attributes should change where the spawned popup window is created. I see that left & top are ignored for panel type windows, but documentation makes no mention of this for popup type windows.
Reporter | ||
Updated•8 years ago
|
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Updated•8 years ago
|
Component: Untriaged → WebExtensions
Product: Firefox → Toolkit
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•8 years ago
|
||
I'm not sure I would agree that this is "Resolved". The referenced bug is for 'panel' type windows which does not include 'popup' type. The documentation: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/create#Parameters makes special reference to left & top being ignored for these type of windows so that bug doesn't actually even appear to be a bug. (chrome documentation is identical: https://developer.chrome.com/extensions/windows)
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 3•8 years ago
|
||
"panel" is an alias for "popup"
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•