forked from mirrors/gecko-dev
Automatic update from web-platform-tests URLPattern: Remove [SecureContext] requirement. Many new, powerful APIs require [SecureContext] as a carrot for developers to adopt https. This is effective because its not possible for sites to otherwise provide the features provided by those APIs. In this case, however, URLPattern can largely be polyfilled in javascript. Restricting the API to [SecureContext] offers no leverage to convince developers to adopt https because they can simply include the polyfill. Instead, the negatives of this restriction simply accrue to the user who must pay the cost of downloading and executing the additional javascript resources. Therefore this CL removes the [SecureContext] requirement as its not effective for this API. Bug: 1141510 Change-Id: I2714a9292d9002c49ee9b09a6ca12b26cff63614 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2968793 Reviewed-by: Jeremy Roman <jbroman@chromium.org> Commit-Queue: Ben Kelly <wanderview@chromium.org> Cr-Commit-Position: refs/heads/master@{#893634} -- wpt-commits: 5769c1a8e58edae508d48827b519c5a127dedff4 wpt-pr: 29420
2 lines
75 B
JavaScript
2 lines
75 B
JavaScript
// META: global=window,worker
|
|
// META: script=resources/urlpatterntests.js
|