Closed Rob--W closed 1 month ago
I will be on vacation for this meeting. @dotproto is the regularly scheduled chair anyway.
I will discuss #258 . Because @rdcronin recently replied to the issue, and I wrote a very detailed explanation to him. I hope Chrome representatives carefully consider it before the meeting. If you are busy recently, we can also discuss it at another time.
I'd like to nominate https://github.com/w3c/webextensions/issues/160 for the timely issues section. On the Chrome side, it is becoming more likely we might be able to ship browser.action.openPopup() in the coming months and so I want to resolve some outstanding questions.
There are two things I'd like to discuss:
windowId
for non-active windows. I think the general assumption from Chrome's initial proposal was that this would be allowed and the window would be focused so the popup could be shown. However, there is concern that for us it would be hard to properly wait for the window to be focused before opening the popup. Given there are workarounds (calling chrome.windows.update) and this is likely an edge case, we are leaning towards throwing an error in this case, at least to begin with. That would allow us to ship sooner.Beyond these two questions it seems like the implementations across browsers broadly align and we should be good.
What should happen if another extension has a popup open when the API is called
The new extension's icon gets some visual indication/decoration and is revealed in the toolbar in case it wasn't pinned (if there's enough space, otherwise the extensions menu gets this decoration and the extension is listed at its beginning). The promise is resolved with something that indicates this state e.g. 'pending'
or {pendingActivation: true}
. It can be canceled by calling chrome.action.openPopup({cancel: true, windowId: 123}) or via a new method.
It would also be great to discuss https://github.com/w3c/webextensions/pull/585 and confirm we are happy to merge.
We can also quickly cover https://github.com/w3c/webextensions/issues/296 to conclude progressive removal of subtags is the way forward for now.
Closing this one, the meeting has concluded and the next agenda topic is at #609.
We can also quickly cover #296 to conclude progressive removal of subtags is the way forward for now.
This topic did not make it to today's agenda.
This issue is used to collect topic suggestions for our May 9, 2024 meeting. We will stop accepting suggestions ~48 hours before the meeting and the final agenda will be added to the meeting notes doc ~24 hours before the meeting.
The content below this line will be copy-pasted to the agenda section of the meeting.
Agenda
The meeting will start at 3 minutes after the hour. See issue 531 for an explanation of this agenda format.
action.openPopup
API across browserswindowId
for non-active windows, (2) what should happen if another extension has a popup open when the API is called?