Skip to content

ServiceWorkerContainer spec lists onerror as an event handler #912

Closed
@tony19

Description

@tony19

I think the ServiceWorkerContainer spec should not list event handlers.

Service Workers 1 and MDN list onerror as an attribute of ServiceWorkerContainer. My tests show that Chrome 51/53, Firefox 47, and Opera 38/39 do not actually support navigator.serviceWorker.onerror, contrary to the Browser Compatibility table in MDN; and that onerror is only available from within a service worker object.

I later discovered a comment in #199 from @jakearchibald and a comment in #198 from @kinu that indicate onerror was moved from the container, so I'm assuming the ServiceWorkerContainer spec just needs to be updated. Correct?

StackOverflow ref

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions