Fix the webidl for Headers

Make the HeadersInit type match the spec.

Fixes #26441
This commit is contained in:
Bastien Orivel 2020-05-06 02:20:41 +02:00
parent 1a61937031
commit c4273d86f2
6 changed files with 28 additions and 55 deletions

View file

@ -4,7 +4,7 @@
// https://fetch.spec.whatwg.org/#headers-class
typedef (Headers or sequence<sequence<ByteString>> or record<ByteString, ByteString>) HeadersInit;
typedef (sequence<sequence<ByteString>> or record<ByteString, ByteString>) HeadersInit;
[Exposed=(Window,Worker)]
interface Headers {