Skip to content

Commit

Permalink
Add [SameObject] and [NewObject] (#6)
Browse files Browse the repository at this point in the history
* Add `[SameObject]`

Because it should.

* [NewObject]
  • Loading branch information
saschanaz committed Jan 14, 2022
1 parent 0816baf commit f7e95d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Expand Up @@ -46,11 +46,11 @@ The TestUtils Object {#the-testutils-object}
<xmp class=idl>
[Exposed=(Window,Worker)]
interface TestUtils {
Promise<undefined> gc();
[NewObject] Promise<undefined> gc();
};

partial interface mixin WindowOrWorkerGlobalScope {
readonly attribute TestUtils testUtils;
[SameObject] readonly attribute TestUtils testUtils;
};
</xmp>

Expand Down

0 comments on commit f7e95d4

Please sign in to comment.