MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / unregister

Function unregister

javascript/grid-ui/src/serviceWorker.ts:151–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149}
150
151export function unregister () {
152 if ('serviceWorker' in navigator) {
153 navigator.serviceWorker.ready
154 .then(registration => {
155 registration.unregister()
156 })
157 .catch(error => {
158 console.error(error.message)
159 })
160 }
161}

Callers

nothing calls this directly

Calls 2

unregisterMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected