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

RESOLVED FIXED in Firefox 66

Status

enhancement
P4
normal
RESOLVED FIXED
6 months ago
5 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla66
Points:
---

Firefox Tracking Flags

(firefox66 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

6 months ago
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
Assignee

Comment 5

6 months ago
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

Comment 6

5 months ago
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

Comment 7

5 months ago
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

Comment 8

5 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/4011e7651835
https://hg.mozilla.org/mozilla-central/rev/7e26ba7ab67a
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.