Skip to content

feat: ServiceWorkerMain - #45341

Merged
samuelmaddock merged 1 commit into
35-x-yfrom
35-x-y-bp-feat/service-worker-main
Jan 31, 2025
Merged

feat: ServiceWorkerMain#45341
samuelmaddock merged 1 commit into
35-x-yfrom
35-x-y-bp-feat/service-worker-main

Conversation

@samuelmaddock

Copy link
Copy Markdown
Member

Description of Change

Backport of #45232

Checklist

Release Notes

Notes:

  • Added ServiceWorkerMain class to interact with service workers in the main process.
  • Added fromVersionID on ServiceWorkers to get an instance of ServiceWorkerMain.
  • Added running-status-changed event on ServiceWorkers to indicate when a service worker's running status has changed.
  • Added startWorkerForScope on ServiceWorkers to start a worker that may have been previously stopped.

@samuelmaddock
samuelmaddock requested a review from a team as a code owner January 24, 2025 22:54
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jan 24, 2025
@trop trop Bot mentioned this pull request Jan 24, 2025
5 tasks
@trop trop Bot added 35-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Jan 24, 2025
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jan 24, 2025

@codebytere codebytere left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved by @electron/wg-releases on Jan 30 2025

@samuelmaddock
samuelmaddock force-pushed the 35-x-y-bp-feat/service-worker-main branch from 2c1ea50 to 5b855e3 Compare January 31, 2025 14:53
@samuelmaddock
samuelmaddock merged commit cc6164f into 35-x-y Jan 31, 2025
@release-clerk

release-clerk Bot commented Jan 31, 2025

Copy link
Copy Markdown

Release Notes Persisted

  • Added ServiceWorkerMain class to interact with service workers in the main process.
  • Added fromVersionID on ServiceWorkers to get an instance of ServiceWorkerMain.
  • Added running-status-changed event on ServiceWorkers to indicate when a service worker's running status has changed.
  • Added startWorkerForScope on ServiceWorkers to start a worker that may have been previously stopped.

@samuelmaddock
samuelmaddock deleted the 35-x-y-bp-feat/service-worker-main branch January 31, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

35-x-y backport/requested 🗳 backport This is a backport PR semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants