Skip to content

Update w3c_netinfo.js externs to match spec - #4358

Open
avelad wants to merge 2 commits into
google:masterfrom
avelad:update-netinfo-externs
Open

avelad wants to merge 2 commits into
google:masterfrom
avelad:update-netinfo-externs

Conversation

@avelad

@avelad avelad commented Oct 22, 2026

Copy link
Copy Markdown
  • Update NetworkInformation to extend EventTarget interface
  • Add addEventListener, removeEventListener, and dispatchEvent to NetworkInformation
  • Add connection to WorkerNavigator
  • Update spec URLs to https://wicg.github.io/netinfo/

- Update NetworkInformation to extend EventTarget interface
- Add addEventListener, removeEventListener, and dispatchEvent to NetworkInformation
- Add connection to WorkerNavigator
- Update spec URLs to https://wicg.github.io/netinfo/
@lauraharker lauraharker self-assigned this Oct 22, 2026
Comment thread externs/browser/w3c_netinfo.js Outdated
/** @type {boolean} */
/**
* @type {boolean}
* @see https://wicg.github.io/netinfo/#savedata-attribute

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! The @see …/netinfo/#savedata-attribute on saveData doesn't resolve because saveData is defined in the Save Data API, not netinfo. Could you point it at https://wicg.github.io/savedata/ instead?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

done!

@avelad
avelad requested a review from lauraharker October 23, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants