Closed Bug 1509766 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 14226 - Signed Exchange: Disallow HEAD request method

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 14226 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/14226
Details from upstream follow.

Kunihiko Sakamoto <ksakamoto@chromium.org> wrote:
>  Signed Exchange: Disallow HEAD request method
>  
>  As per the Loading Signed Exchanges spec [1], this patch makes
>  SignedExchangeEnvelope::Parse() fail if the exchange's request method is
>  not "GET".
>  
>  [1] https://wicg.github.io/webpackage/loading.html#parse-cbor-headers
>  
>  Bug: 803774
>  Change-Id: I4729403f3dae5038bae702b0359e1b98f9a11233
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1350017
>  WPT-Export-Revision: 7597d57c70fbf13838b54e9964109b3a378bd773
Ran 1 tests and 1 subtests
OK     : 1
FAIL   : 1

New tests that have failures or other problems:
/signed-exchange/sxg-head-request.tentative.html
    Loading SignedHTTPExchange with HEAD request method must fail: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/67220e78c452
[wpt PR 14226] - Signed Exchange: Disallow HEAD request method, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/bff634662787
[wpt PR 14226] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4011e7651835
[wpt PR 14226] - Signed Exchange: Disallow HEAD request method, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/7e26ba7ab67a
[wpt PR 14226] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/4011e7651835
https://hg.mozilla.org/mozilla-central/rev/7e26ba7ab67a
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.