Open Bug 1213484 (webext-windows) Opened 9 years ago Updated 9 months ago

[meta] Complete the implementation of chrome.windows

Categories

(WebExtensions :: Frontend, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: andy+bugzilla, Unassigned)

References

(Depends on 3 open bugs, Blocks 1 open bug)

Details

(Keywords: meta, Whiteboard: [windows]triaged)

The methods on the API are:

https://developer.chrome.com/extensions/windows

Implemented, but could be improved:

* create() does not support the focused, type, or state options.
* update() only supports the focused option.
I just ported my extension to WebExtensions. The only thing I have not found a workaround for is the lack of support for chrome.windows.create({type:"popup"}). It just creates a window that looks almost normal with tabs and toolbars, except its borders are 20px or so thick.
Blocks: webext
Flags: blocking-webextensions+
Assignee: nobody → kmaglione+bmo
Whiteboard: [windows] → [windows]triaged
Priority: -- → P2
Alias: webext-windows
Depends on: 1247493
Depends on: 1253128
Depends on: 1253129
Depends on: 1253130
Depends on: 1253133
Depends on: 1253132
Depends on: 1253134
Depends on: 1258867
Flags: blocking-webextensions+ → blocking-webextensions-
Depends on: 1261963
Assignee: kmaglione+bmo → nobody
Component: WebExtensions: Untriaged → WebExtensions: Frontend
Flags: blocking-webextensions-
Docs report that create() is a Promise based function. Where did this came from? I didn't see it in Chrome docs nor in Firefox source code. Is going to be an API change?

Docs: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/create
All APIs in Firefox support either the callbacks (for compatibility with other browsers) or a promises interface as documented here:

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Chrome_incompatibilities#Callbacks_and_the_chrome.*_namespace
Depends on: 1391942
Keywords: meta
Depends on: 1404014
Product: Toolkit → WebExtensions
Priority: P2 → P3
Summary: Complete the implementation of chrome.windows → [meta] Complete the implementation of chrome.windows
Depends on: 1584252

Hi there. Any movement on the disparity in window.create data?

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.