Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use interface mixins instead of [NoInterfaceObject] #645

Merged
merged 1 commit into from
Dec 23, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4660,9 +4660,8 @@ typedef (Blob or BufferSource or FormData or URLSearchParams or ReadableStream o
</ol>


<pre class=idl>[NoInterfaceObject,
Exposed=(Window,Worker)]
interface Body {
<pre class=idl>
interface mixin Body {
readonly attribute ReadableStream? body;
readonly attribute boolean bodyUsed;
[NewObject] Promise&lt;ArrayBuffer> arrayBuffer();
Expand Down Expand Up @@ -4856,7 +4855,8 @@ interface Request {

[NewObject] Request clone();
};
Request implements Body;
Request includes Body;

dictionary RequestInit {
ByteString method;
HeadersInit headers;
Expand Down Expand Up @@ -5418,7 +5418,7 @@ interface Response {

[NewObject] Response clone();
};
Response implements Body;
Response includes Body;

dictionary ResponseInit {
unsigned short status = 200;
Expand Down Expand Up @@ -6124,6 +6124,7 @@ Jeff Carpenter,
Jeff Hodges,
Jeffrey Yasskin,
Jesse M. Heines,
Jinho Bang,
Jochen Eisinger,
Jonas Sicking,
Jonathan Kingston,
Expand Down