Small changes to Headers.webidl and headers.rs

Expose the Headers interface to the Window scope and to Workers
Move Append function inside HeadersMethods trait
This commit is contained in:
Malisa Smith 2016-07-20 08:57:17 -07:00
parent cec3697cb2
commit 272d12da26
2 changed files with 6 additions and 3 deletions

View file

@ -6,8 +6,8 @@
/* typedef (Headers or sequence<sequence<ByteString>>) HeadersInit; */
/* [Constructor(optional HeadersInit init),
* Exposed=(Window,Worker)] */
/* [Constructor(optional HeadersInit init),*/
[Exposed=(Window,Worker)]
interface Headers {
[Throws]