这是indexloc提供的服务,不要输入任何密码
Skip to content

URLPattern #9

@wanderview

Description

@wanderview

Introduction

Service workers scopes currently use a very simplistic URL matching mechanism. We have heard from a number of sites that scopes could benefit from a more expressive pattern syntax. In addition, web developers often need to match URLs in order to implement routing systems.

This proposal introduces a URL matching primitive that can be used both directly in javascript and in web platform APIs like service workers.

Read the complete Explainer.

This proposal has been reviewed by the TAG.

There is also a detailed design doc that goes into greater API and chromium implementation details.

This proposal was discussed at TPAC 2019 and a virtual call around TPAC 2020.

The group decided at the latest meeting URLPattern should be spec'd under WICG to start. I'd like to move the explainer repo to WICG and rename it to urlpattern. Eventually the service worker bits will move out to the service worker WG repo.

Feedback (Choose One)

I welcome feedback in this thread, but encourage you to file bugs against the Explainer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions