Skip to content

Commit f7e95d4

Browse files
authored
Add [SameObject] and [NewObject] (#6)
* Add `[SameObject]` Because it should. * [NewObject]
1 parent 0816baf commit f7e95d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ The TestUtils Object {#the-testutils-object}
4646
<xmp class=idl>
4747
[Exposed=(Window,Worker)]
4848
interface TestUtils {
49-
Promise<undefined> gc();
49+
[NewObject] Promise<undefined> gc();
5050
};
5151

5252
partial interface mixin WindowOrWorkerGlobalScope {
53-
readonly attribute TestUtils testUtils;
53+
[SameObject] readonly attribute TestUtils testUtils;
5454
};
5555
</xmp>
5656

0 commit comments

Comments
 (0)