Bug 1213484 (webext-windows)

Complete the implementation of chrome.windows

NEW
Unassigned

Status

()

Toolkit
WebExtensions: Frontend
P2
normal
2 years ago
4 months ago

People

(Reporter: andym, Unassigned)

Tracking

(Depends on: 2 bugs, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [windows]triaged)

(Reporter)

Description

2 years ago
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.

Comment 1

2 years ago
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.
(Reporter)

Updated

2 years ago
Blocks: 1214433
(Reporter)

Updated

2 years ago
Flags: blocking-webextensions+
Assignee: nobody → kmaglione+bmo
(Reporter)

Updated

a year ago
Whiteboard: [windows] → [windows]triaged
(Reporter)

Updated

a year ago
Priority: -- → P2
Alias: webext-windows
Depends on: 1247493
Duplicate of this bug: 1251764
Depends on: 1253128
Depends on: 1253129
Depends on: 1253130
Depends on: 1253133
Depends on: 1253132
Depends on: 1253134
Depends on: 1258867
(Reporter)

Updated

a year ago
Flags: blocking-webextensions+ → blocking-webextensions-
Depends on: 1261963
Assignee: kmaglione+bmo → nobody
(Reporter)

Updated

8 months ago
Component: WebExtensions: Untriaged → WebExtensions: Frontend
Flags: blocking-webextensions-

Comment 3

4 months ago
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
(Reporter)

Comment 4

4 months ago
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
You need to log in before you can comment on or make changes to this bug.