Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Documentation needs to state service workers will work only on https. #101

@dman777

Description

@dman777

Description

Service workers only work on HTTPS. They will fail silently by default on HTTP. I say 'default' because without on-service-worker-error the error will not appear on dev console which is the usual convention. For example, Google map api will give getCurrentPosition() and watchPosition() are deprecated on insecure origins warning in console without any handler.

Without stating this in the element catalog documentation, this causes confusion. Please see Caching with platinum-sw-register #106

Please see PR 102

Expected outcome

N/A

Actual outcome

N/A

Live Demo

N/A

Steps to reproduce

N/A

Browsers Affected

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions