Skip to content

Commit 4d2f013

Browse files
authored
Make testUtils a namespace (#9)
1 parent 61e6887 commit 4d2f013

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

index.bs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,17 @@ the default shipping configuration of user agents. They must only be
4040
enabled in testing configurations for example with special build
4141
flags, or when a specific non-default preference is set.
4242

43-
The TestUtils Object {#the-testutils-object}
43+
The TestUtils Namespace {#the-testutils-namespace}
4444
============================================
4545

4646
<xmp class=idl>
4747
[Exposed=(Window,Worker)]
48-
interface TestUtils {
48+
namespace TestUtils {
4949
[NewObject] Promise<undefined> gc();
5050
};
51-
52-
partial interface mixin WindowOrWorkerGlobalScope {
53-
[SameObject] readonly attribute TestUtils testUtils;
54-
};
5551
</xmp>
5652

57-
The `gc()` method must run these steps:
53+
The {{TestUtils/gc()}} method must run these steps:
5854

5955
1. Let |p| be a new promise.
6056

@@ -68,6 +64,13 @@ The `gc()` method must run these steps:
6864

6965
<h2 class=no-num id=acknowledgements>Acknowledgments</h2>
7066

67+
Thanks to the following people who have contributed to the
68+
Test Utils standard:
69+
70+
Kagami Sascha Rosylight
71+
72+
You are awesome!
73+
7174
This standard is written by <a href=https://hoppipolla.co.uk>James Graham</a>
7275
(<a href=https://www.mozilla.org/>Mozilla</a>,
7376

0 commit comments

Comments
 (0)