Skip to content

Commit

Permalink
Response's trailer cannot use [SameObject]
Browse files Browse the repository at this point in the history
Since an attribute that returns a promise can be made to return a
rejecting promise as well. (We really need [Cached] or some such.)

Tests: web-platform-tests/wpt#4811.

Fixes #473.
  • Loading branch information
annevk committed Feb 13, 2017
1 parent 90cd540 commit b73aff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5044,7 +5044,7 @@ interface Response {
readonly attribute boolean ok;
readonly attribute ByteString statusText;
[SameObject] readonly attribute Headers headers;
[SameObject] readonly attribute Promise<Headers> trailer;
readonly attribute Promise<Headers> trailer;

[NewObject] Response clone();
};
Expand Down

0 comments on commit b73aff8

Please sign in to comment.