@@ -119,9 +119,6 @@ Tests whether `name`, `expected`, and `code` are part of a raised warning. If
119
119
an expected warning does not have a code then ` common.noWarnCode ` can be used
120
120
to indicate this.
121
121
122
- ### noWarnCode
123
- See ` common.expectWarning() ` for usage.
124
-
125
122
### fileExists(pathname)
126
123
* pathname [ < ; string>]
127
124
* return [ < ; boolean>]
@@ -147,13 +144,11 @@ consisting of all `ArrayBufferView` and an `ArrayBuffer`.
147
144
148
145
Returns the file name and line number for the provided Function.
149
146
150
- ### runWithInvalidFD(func)
151
- * ` func ` [ < ; Function>]
147
+ ### getTTYfd()
152
148
153
- Runs ` func ` with an invalid file descriptor that is an unsigned integer and
154
- can be used to trigger ` EBADF ` as the first argument. If no such file
155
- descriptor could be generated, a skip message will be printed and the ` func `
156
- will not be run.
149
+ Attempts to get a valid TTY file descriptor. Returns ` -1 ` if it fails.
150
+
151
+ The TTY file descriptor is assumed to be capable of being writable.
157
152
158
153
### globalCheck
159
154
* [ < ; boolean>]
@@ -328,6 +323,9 @@ Returns `true` if the exit code `exitCode` and/or signal name `signal` represent
328
323
the exit code and/or signal name of a node process that aborted, ` false `
329
324
otherwise.
330
325
326
+ ### noWarnCode
327
+ See ` common.expectWarning() ` for usage.
328
+
331
329
### opensslCli
332
330
* [ < ; boolean>]
333
331
@@ -369,6 +367,14 @@ original state after calling [`common.hijackStdOut()`][].
369
367
370
368
Path to the 'root' directory. either ` / ` or ` c:\\ ` (windows)
371
369
370
+ ### runWithInvalidFD(func)
371
+ * ` func ` [ < ; Function>]
372
+
373
+ Runs ` func ` with an invalid file descriptor that is an unsigned integer and
374
+ can be used to trigger ` EBADF ` as the first argument. If no such file
375
+ descriptor could be generated, a skip message will be printed and the ` func `
376
+ will not be run.
377
+
372
378
### skip(msg)
373
379
* ` msg ` [ < ; string>]
374
380
@@ -695,12 +701,6 @@ The realpath of the testing temporary directory.
695
701
696
702
Deletes and recreates the testing temporary directory.
697
703
698
- ### getTTYfd()
699
-
700
- Attempts to get a valid TTY file descriptor. Returns ` -1 ` if it fails.
701
-
702
- The TTY file descriptor is assumed to be capable of being writable.
703
-
704
704
## WPT Module
705
705
706
706
The wpt.js module is a port of parts of
0 commit comments