Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish minutes of 2024-01-04 meeting #514

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 158 additions & 0 deletions _minutes/2024-01-04-wecg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
# WECG Meetings 2024, Public Notes, Jan 4

* Chair: Simeon Vincent
* Scribes: Rob Wu

Time: 8 AM PST = https://everytimezone.com/?t=6595f500,3c0
Call-in details: [WebExtensions CG, 4th January 2024](https://www.w3.org/events/meetings/8495a268-e9be-4cb9-bfb1-b724d4170d50/)
Zoom issues? Ping @zombie (Tomislav Jovanovic) in [chat](https://github.com/w3c/webextensions/blob/main/CONTRIBUTING.md#joining-chat)


## Agenda: [github issues](https://github.com/w3c/webextensions/issues)

The meeting will start at 3 minutes after the hour.

* **Carry-over from previous meetings**
* [Issue 500](https://github.com/w3c/webextensions/issues/500): Inconsistency in default warning Content Security Policy Script
* [Issue 501](https://github.com/w3c/webextensions/issues/501): Proposal: Toggleable event listeners
* [Issue 502](https://github.com/w3c/webextensions/issues/502): Auth Header in Fetch Redirects (Chrome v119+)
* [Issue 503](https://github.com/w3c/webextensions/issues/503): [Ability to detect browser variant / fork](https://github.com/w3c/webextensions/issues/503)
* **Other new issues**
* [Issue 505](https://github.com/w3c/webextensions/issues/505): Proposal: Retrieving, deleting storage items using a filter
* [Issue 506](https://github.com/w3c/webextensions/issues/506): Firefox' webRequest.FilterResponse & more for all browsers
* [Issue 507](https://github.com/w3c/webextensions/issues/507): Support $schema in manifest.json
* [Issue 510](https://github.com/w3c/webextensions/issues/510): Proposal: Increase maximum item size in Storage sync quotas
* [Issue 511](https://github.com/w3c/webextensions/issues/511): Inconsistency: storage onChanged
* [Issue 513](https://github.com/w3c/webextensions/issues/513): Proposal: RunAt.before_document_start
* **Open discussion queue (add yourself at the bottom)**
* [tomislav] Update and feedback request on the runtime.onPerformanceWarning event being added to Firefox by Dave Vandyke (DuckDuckGo) in: https://github.com/w3c/webextensions/issues/456#issuecomment-1849092691
* (Moved remaining items to the next meeting).
* **Check-in on ongoing issues**
* (moved to next meeting)


## Attendees (sign yourself in)

1. Simeon Vincent (unaffiliated)
2. Rob Wu (Mozilla)
3. Oliver Dunk (Google)
4. Giorgio Maone (NoScript, Tor Browser)
5. Rémi Pujo (Dashlane)
6. Timothy Hatcher (Apple)
7. Kiara Rose (Apple)
8. David Johnson (Apple)
9. Carlos Jeurissen (Jeurissen Apps)
10. Steven McLintock (1Password)
11. Patrick Kettner (Google)
12. Tomislav Jovanovic (Mozilla)
13. Mukul Purohit (Microsoft)
14. Tim Heflin (Keeper)


## Meeting notes

[Issue 500](https://github.com/w3c/webextensions/issues/500): Inconsistency in default warning Content Security Policy Script

* [rob] This is a warning, not an error. Child-src defines the CSP restrictions for frame-src and worker-src; the author specified child-src while frame-src should have been used instead.
* [carlos] Asked the author if there is anything in addition to discuss in the group. There does not seem to be so we can probably close the issue.

[Issue 501](https://github.com/w3c/webextensions/issues/501): Proposal: Toggleable event listeners

* [anton] Basically the exact use case has reasonable work-arounds. Not sure why the requested feature is needed.
* [rob] Tried porting an extension to MV3 and encountered this issue. Currently an event listener has to be registered at top level to wake an event page or SW. If the developer unregisters then registers a listener again before shutdown, Chrome retains the subscription but Firefox does not: https://bugzilla.mozilla.org/show_bug.cgi?id=1869125
* [timothy] Safari behaves more like Chrome. I'm agreeing with Anton that a special API is not needed if it is already possible through the existing API.
* [simeon] Possible to work around, but feels like the platform is working against you.
* [oliver] Agree we should address, but this specific proposal feels like it introduces too much complexity.
* [rob] This is just one optional activity. Other parts of the platform don't have declarative solutions for this kind of thing. Firefox will need to adapt to support this pattern.
* [rob] In Chrome, when a listener is registered async (not at the top level), the background service worker wakes up when the event is triggered (but the event is dropped because the top-level listener does not exist). What is Safari's behavior?
* [timothy] We wait a short while starting the event page/ to record listeners, in order to know which events should wake up the event page/service worker at the next browser startup.
* [kiara] That's correct.
* [rob] Let's confirm the desired behavior and revisit this issue later, because we have many other topics on the agenda.

[Issue 502](https://github.com/w3c/webextensions/issues/502): Auth Header in Fetch Redirects (Chrome v119+)

* [simeon] This is a Chrome specific issue, but it raises a broader question about how extensions should handle redirects that have authentication information.
* [oliver] If you make a request with an “auth” header, a cross-origin redirect results in the auth header being stripped. Firefox/Safari had already implemented this, I'm curious why extensions there haven't been impacted there.
* [anton] The extension in question is Chrome-specific.
* [rob] Issue contains a link to a Firefox extension. I haven't verified Firefox's behavior here. Thoughts on desired behavior?
* [oliver] Issue requests exception for redirect to localhost, but that sounds like something that should be discussed at the web level.
* [simeon] I definitely want to support this use case. Initial concern is with passing credentials to another origin. Would want to gate this behind host permissions. Beyond that, not sure how to handle this.
* [rob] Could consider API additions to explicitly cover redirects like this.

[Issue 503](https://github.com/w3c/webextensions/issues/503): [Ability to detect browser variant / fork](https://github.com/w3c/webextensions/issues/503)

* [carlos] Some browsers do not expose themselves. But for extensions the exact browser may be important to account for UI changes.
* [rob] Discussion in the issue called out forks. Is the expectation that other vendors would add data to extension APIs?
* [carlos] Maybe.
* [simeon] userAgentData brands has this info (not supported by Firefox), but several Chromium forks do not list themselves here.
* [carlos] These vendors may be more willing to add the detailed brand in the extension API despite unwillingness to expose the info in the web API.
* [rob] We could define “brands” in runtime.getBrowserInfo(), but it only offers value if these other browsers expose the information.
* [simeon] I'll take the action item to reach out to other browser vendors to request a comment on this issue.

[Issue 505](https://github.com/w3c/webextensions/issues/505): Proposal: Retrieving, deleting storage items using a filter

* [simeon] In short, pattern matching to retrieve or delete data in storage. I've also wanted this kind of thing.
* [rob] In favor of the capability in abstract, but concerned that this API design introduces too much magic.
* [anton] What about tags rather than wildcards? Tags meaning an array of strings associated with a field.
* [rob] Adding the ability to retrieve all keys would allow developers to implement their own solutions. The API already supports bulk deletion and retrieval. This would be much simpler and allow extensions to look up keys without all values.
* [timothy] I am in favor of Rob's approach.
* [oliver] I like that too.
* [simeon] Con: that approach is that it takes two roundtrips. Pro: enables the ecosystem and allows us to pave cow paths in the future.
* [tomislav] Rob's proposal leans much in the API design that we already have.
* [oliver] For performance-sensitive data the storage API should probably not be used anyway.
* [rob] I'll raise my counter-proposal in the issue.

[Issue 506](https://github.com/w3c/webextensions/issues/506): Firefox' webRequest.FilterResponse & more for all browsers

* [rob] The request here is basically implementing filterResponseData in Chrome/Firefox.
* [oliver] This definitely requires the blocking option.
* [rob] Does require it, but that's to ensure that the filter is registered in time. The feature request is the ability for an extension to put itself between the network response stream and the browser's processing of it.
* [oliver] I'm not sure if we would be willing to support that, because it would have the performance considerations that were relevant to dropping support for webRequestBlocking.
* [timothy] Yes, what Oliver said.
* [rob] With that, we could close the issue, because Chrome and Safari's positions are clear here.

[Issue 507](https://github.com/w3c/webextensions/issues/507): Support $schema in manifest.json

* [patrick] The main request is to stop treating $schema as a hard error in Chrome. Other browsers don't fail here.
* [oliver] I think that we are supportive on Chrome's end - we are moving towards treating unrecognized/unsupported keys as non-fatal warnings instead of errors.
* [carlos] Currently you can load an extension just fine in Chrome with the $schema property. The issue seems to be present in the Chrome Web Store only.

[Issue 510](https://github.com/w3c/webextensions/issues/510): Proposal: Increase maximum item size in Storage sync quotas

* [timothy] We don't currently support sync in Safari, but our preference is to keep things small.
* [rob] Devs shouldn't store too much data here. Breaking up the data into smaller pieces is a hack and against the spirit of the API limitations.
* [simeon] Sounds like this might be a documentation issue. We should clarify what the intent of this API is and that developers should use another system to sync user data.
* [rob] That having said, the current individual limit is 8k; do we want to keep it there or are we willing to raise it?
* [oliver] I'll check with the team.

[Issue 511](https://github.com/w3c/webextensions/issues/511): Inconsistency: storage onChanged

* [tomislav] FYI on Firefox side we may not even be consistent across our namespaces. In some cases onChanged is fired when set() is called even without changes. I would not be opposed to changing it.
* [rob] For clarity, this issue is related to set() handling. Are all values propagated?
* [kiara] We only dispatch an update for changed values.
* [] How about sync, as mentioned in the issue?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rob--W, @oliverdunk, @xeenon, any idea who said this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know who said it, that's why I left it at []. As this question was mainly a request for clarification, it's not an issue if the asker remains anonymous.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to merge the PR before the next meeting (in 2 days). Any concerns before I do?

* [rob] I expect that if sync updates the value, the extension should be notified.
* [rob] Can we align on desired behavior? Does firing only on changed values make sense?
* [timothy] Yes.
* [oliver] Yes.
* [rob] What about sync?
* [oliver] Would be hesitant to expose all data on sync if we're not already.
* [simeon] Why would we expose more data for sync than local changes?
* [tomislav] The extension has full context on local changes, but doesn't for remote changes. There's additional signal in getting the full set of values set.
* [oliver] Let's take this offline.

[Issue 513](https://github.com/w3c/webextensions/issues/513): Proposal: RunAt.before_document_start

* [anton] Browsers currently support injection at 3 phases. All of them happen no earlier than the specified phase, but do not guarantee execution at a specific time. There's no way to make sure that scripts run in time to do something (e.g. proxy calls made by the page itself).
* [rob] What you're requesting is what document_start is supposed to do. There may be some cases where browsers may execute other code first. Before_document_start would have the same set of
* [simeon] To my knowledge, document_start does as documented in Chrome, except when a same-origin iframe is created because the host page has access to sub-page.
* [giorgio] I'm all in favor of fixing document_start. E.g. in Firefox at file:-URLs document_start may run too late.
* [anton] Fixing document_start would be preferable.
* [timothy] That's what we're favoring too.
* [rob] I'll close the issue - if there are issues with document_start, please file bugs for these at the issue trackers of the browsers.

[Issue 456](https://github.com/w3c/webextensions/issues/456): Proposal: Provide reporting event for browser's slow extension warnings

* [tomislav] Update and request for feedback on the runtime.onWarning API being added to Firefox by Dave Vandyke in https://github.com/w3c/webextensions/issues/456#issuecomment-1849092691 . In response to feedback the event was renamed to runtime.onPerformanceWarning

The next meeting will be on [Thursday, January 18th, 8 AM PST (4 PM UTC)](https://everytimezone.com/?t=65a86a00,3c0)
8 changes: 6 additions & 2 deletions _minutes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,24 @@ After the end of each meeting, meeting notes are published here.

## Upcoming meetings

- 2024-01-04 at 8 AM PST = https://everytimezone.com/?t=6595f500,3c0
- 2024-01-18 at 8 AM PST = https://everytimezone.com/?t=65a86a00,3c0
- 2024-02-01 at 8 AM PST = https://everytimezone.com/?t=65badf00,3c0

## Past meetings

* 2024-01-04 ([minutes](2024-01-04-wecg.md))
* 2023-12-07 ([minutes](2023-12-07-wecg.md))
* 2023-11-23 ([minutes](2023-11-23-wecg.md))
* 2023-11-09 ([minutes](2023-11-09-wecg.md))
* 2023-10-26 ([minutes](2023-10-26-wecg.md))
* 2023-10-12 ([minutes](2023-10-12-wecg.md))

<details>
<summary><strong>All past meeting notes</strong></summary>

**2024**

* 2024-01-04 ([minutes](2024-01-04-wecg.md))

**2023**

* 2023-12-07 ([minutes](2023-12-07-wecg.md))
Expand Down