@wtf/project-docs 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/.generated +1 -0
- package/api/@wtf/project-oxfmt/variables/default.md +6 -6
- package/api/@wtf/project-oxlint/variables/default.md +17 -17
- package/api/@wtf/project-resolve/condition/variables/SOURCE_CONDITION.md +1 -1
- package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
- package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
- package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
- package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
- package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
- package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
- package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
- package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
- package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
- package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
- package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
- package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +1 -1
- package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/RevisionSources.md +3 -3
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +6 -6
- package/api/@wtf/project-typedoc/config/variables/nodeRun.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
- package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/Run.md +1 -1
- package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
- package/api/@wtf/project-vite/README.md +2 -2
- package/api/@wtf/project-vite/functions/baseConfig.md +4 -4
- package/api/@wtf/project-vite/functions/buildsSite.md +1 -1
- package/api/@wtf/project-vite/functions/compress.md +1 -1
- package/api/@wtf/project-vite/functions/conditionsOf.md +1 -1
- package/api/@wtf/project-vite/type-aliases/BaseOptions.md +2 -2
- package/api/@wtf/project-vite/type-aliases/CompressOptions.md +4 -4
- package/api/@wtf/project-vite/variables/CLIENT_CONDITIONS.md +1 -1
- package/api/@wtf/project-vite/variables/COMPRESSIBLE.md +1 -1
- package/api/@wtf/project-vite/variables/FROM_DIST.md +1 -1
- package/api/@wtf/project-vite/variables/THRESHOLD.md +1 -1
- package/api/@wtf/project-vitest/README.md +1 -1
- package/api/@wtf/project-vitest/browser/functions/browserConfig.md +1 -1
- package/api/@wtf/project-vitest/browser/functions/browserRootConfig.md +1 -1
- package/api/@wtf/project-vitest/browser/type-aliases/BrowserOptions.md +3 -3
- package/api/@wtf/project-vitest/config/functions/integrationConfig.md +1 -1
- package/api/@wtf/project-vitest/config/functions/packageConfig.md +1 -1
- package/api/@wtf/project-vitest/config/functions/rootConfig.md +1 -1
- package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
- package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +7 -7
- package/api/@wtf/project-vitest/config/variables/FROM_DIST.md +1 -1
- package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
- package/api/@wtf/project-vitest/config/variables/integration.md +9 -9
- package/api/@wtf/project-vitest/process/functions/childEnv.md +1 -1
- package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
- package/api/@wtf/project-vitest/storybook/functions/storybookConfig.md +1 -1
- package/api/@wtf/project-vitest/storybook/type-aliases/StorybookOptions.md +2 -2
- package/api/@wtf/project-wpt/builtins/functions/builtins.md +1 -1
- package/api/@wtf/project-wpt/builtins/functions/intrinsics.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutFolderOf.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutTests.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutWpt.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/fileOf.md +1 -1
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +8 -8
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
- package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
- package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
- package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
- package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
- package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
- package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
- package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/ClearTimeout.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Env.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Exec.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Performance.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/SetTimeout.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
- package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
- package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +6 -6
- package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +6 -6
- package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
- package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
- package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
- package/api/@wtf/project-wpt/node/functions/nodePlatform.md +1 -1
- package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeExec.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
- package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
- package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +8 -8
- package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +1 -1
- package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
- package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
- package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
- package/api/@wtf/project-wpt/suite/functions/wptSuite.md +1 -1
- package/api/@wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md +8 -8
- package/api/trains.json +31 -0
- package/package.json +13 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: InvalidExpectationsError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/wpt/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L64)
|
|
6
6
|
|
|
7
7
|
Expectations that are no object of a test file's known failures, each by its id.
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ new InvalidExpectationsError(
|
|
|
22
22
|
): InvalidExpectationsError;
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/wpt/src/errors.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L65)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -45,8 +45,8 @@ Defined in: [packages/wpt/src/errors.ts:65](https://gitlab.com/wetryfun/project/
|
|
|
45
45
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
46
46
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
47
47
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
48
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
49
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
48
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L17) |
|
|
49
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L19) |
|
|
50
50
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
51
51
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
52
52
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: NoSuiteError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/wpt/src/errors.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L39)
|
|
6
6
|
|
|
7
7
|
A suite of no test: no files or dirs.
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ A suite of no test: no files or dirs.
|
|
|
18
18
|
new NoSuiteError(name): NoSuiteError;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/wpt/src/errors.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L40)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -39,8 +39,8 @@ Defined in: [packages/wpt/src/errors.ts:40](https://gitlab.com/wetryfun/project/
|
|
|
39
39
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
40
40
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
41
41
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
42
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
43
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
42
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L17) |
|
|
43
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L19) |
|
|
44
44
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
45
45
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
46
46
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: NotInWptError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/wpt/src/errors.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L53)
|
|
6
6
|
|
|
7
7
|
A path of a suite, or of a `// META: script=`, that the WPT does not have at its commit.
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ A path of a suite, or of a `// META: script=`, that the WPT does not have at its
|
|
|
18
18
|
new NotInWptError(commit, paths): NotInWptError;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/wpt/src/errors.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L57)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -40,11 +40,11 @@ Defined in: [packages/wpt/src/errors.ts:57](https://gitlab.com/wetryfun/project/
|
|
|
40
40
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
41
41
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
42
42
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
43
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
44
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
43
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L17) |
|
|
44
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L19) |
|
|
45
45
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
46
46
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
47
|
-
| <a id="property-paths"></a> `paths` | `readonly` | readonly `string`[] | `undefined` | The paths, each from the root of the WPT. | - | [packages/wpt/src/errors.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
47
|
+
| <a id="property-paths"></a> `paths` | `readonly` | readonly `string`[] | `undefined` | The paths, each from the root of the WPT. | - | [packages/project-wpt/src/errors.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L55) |
|
|
48
48
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
49
49
|
| <a id="property-stacktracelimit"></a> `stackTraceLimit` | `static` | `number` | `undefined` | The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or `Error.captureStackTrace(obj)`). The default value is `10` but may be set to any valid JavaScript number. Changes will affect any stack trace captured _after_ the value has been changed. If set to a non-number value, or set to a negative number, stack traces will not capture any frames. | [`WptError`](WptError.md).[`stackTraceLimit`](WptError.md#property-stacktracelimit) | - |
|
|
50
50
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: StaleExpectationError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/wpt/src/errors.ts:96](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:96](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L96)
|
|
6
6
|
|
|
7
7
|
An expectation of a test file, or of a subtest, that the suite does not have.
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ An expectation of a test file, or of a subtest, that the suite does not have.
|
|
|
18
18
|
new StaleExpectationError(names, source): StaleExpectationError;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/wpt/src/errors.ts:97](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:97](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L97)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -40,8 +40,8 @@ Defined in: [packages/wpt/src/errors.ts:97](https://gitlab.com/wetryfun/project/
|
|
|
40
40
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
41
41
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
42
42
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
43
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
44
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
43
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L17) |
|
|
44
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L19) |
|
|
45
45
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
46
46
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
47
47
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: SubtestFailedError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/wpt/src/errors.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L71)
|
|
6
6
|
|
|
7
7
|
A subtest that failed, and no expectation says it does.
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ new SubtestFailedError(
|
|
|
22
22
|
): SubtestFailedError;
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/wpt/src/errors.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L72)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -45,8 +45,8 @@ Defined in: [packages/wpt/src/errors.ts:72](https://gitlab.com/wetryfun/project/
|
|
|
45
45
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
46
46
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
47
47
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
48
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
49
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
48
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L17) |
|
|
49
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L19) |
|
|
50
50
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
51
51
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
52
52
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: UnexpectedPassError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/wpt/src/errors.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L89)
|
|
6
6
|
|
|
7
7
|
What an expectation says fails, which passes now: take it out of the expectations, so the list
|
|
8
8
|
shrinks.
|
|
@@ -19,7 +19,7 @@ shrinks.
|
|
|
19
19
|
new UnexpectedPassError(what, source): UnexpectedPassError;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/wpt/src/errors.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
22
|
+
Defined in: [packages/project-wpt/src/errors.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L90)
|
|
23
23
|
|
|
24
24
|
#### Parameters
|
|
25
25
|
|
|
@@ -41,8 +41,8 @@ Defined in: [packages/wpt/src/errors.ts:90](https://gitlab.com/wetryfun/project/
|
|
|
41
41
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
42
42
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
43
43
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
44
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
45
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
44
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L17) |
|
|
45
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L19) |
|
|
46
46
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
47
47
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
48
48
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: WptError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/wpt/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L16)
|
|
6
6
|
|
|
7
7
|
What this package throws: an Error with a stable SCREAMING_SNAKE `code` to match on in place of
|
|
8
8
|
its message, and the `exitCode` a command that fails by it exits with, 1.
|
|
@@ -35,7 +35,7 @@ new WptError(
|
|
|
35
35
|
): WptError;
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Defined in: [packages/wpt/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
38
|
+
Defined in: [packages/project-wpt/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L21)
|
|
39
39
|
|
|
40
40
|
#### Parameters
|
|
41
41
|
|
|
@@ -60,8 +60,8 @@ Error.constructor
|
|
|
60
60
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
61
61
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
62
62
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | `Error.cause` | - |
|
|
63
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
64
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
63
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L17) |
|
|
64
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L19) |
|
|
65
65
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | `Error.message` | - |
|
|
66
66
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | `Error.name` | - |
|
|
67
67
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | `Error.stack` | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: WptFetchError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/wpt/src/errors.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L46)
|
|
6
6
|
|
|
7
7
|
A fetch of the WPT, by git, that failed: of no git, no network, or a commit not there.
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ new WptFetchError(
|
|
|
22
22
|
): WptFetchError;
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/wpt/src/errors.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L47)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -45,8 +45,8 @@ Defined in: [packages/wpt/src/errors.ts:47](https://gitlab.com/wetryfun/project/
|
|
|
45
45
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
46
46
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
47
47
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
48
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
49
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
48
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L17) |
|
|
49
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/errors.ts#L19) |
|
|
50
50
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
51
51
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
52
52
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
@@ -11,7 +11,7 @@ function checkHarness(
|
|
|
11
11
|
): void;
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Defined in: [packages/wpt/src/expectations.ts:118](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
14
|
+
Defined in: [packages/project-wpt/src/expectations.ts:118](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L118)
|
|
15
15
|
|
|
16
16
|
The harness of a file, by what it came to and the reason it is expected not to come to `OK`:
|
|
17
17
|
as [checkSubtest](checkSubtest.md), a [HarnessFailedError](../../errors/classes/HarnessFailedError.md) or an [UnexpectedPassError](../../errors/classes/UnexpectedPassError.md).
|
|
@@ -10,7 +10,7 @@ function checkSubtest(
|
|
|
10
10
|
): void;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/wpt/src/expectations.ts:103](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
13
|
+
Defined in: [packages/project-wpt/src/expectations.ts:103](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L103)
|
|
14
14
|
|
|
15
15
|
A subtest, by what it came to and the reason it is expected to fail, if one is: a failure of no
|
|
16
16
|
reason a [SubtestFailedError](../../errors/classes/SubtestFailedError.md); a pass of one, an [UnexpectedPassError](../../errors/classes/UnexpectedPassError.md).
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function expectationOf(expectations, test): FileExpectation;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/expectations.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L86)
|
|
10
10
|
|
|
11
11
|
The expectation of a test: its path's, and its id's over it, of a variant.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function expectationsIssues(value): string[];
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/expectations.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L41)
|
|
10
10
|
|
|
11
11
|
What is wrong with expectations: each fault, by the id of its file.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function readExpectations(from, __namedParameters): Promise<ReadExpectations>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/expectations.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L65)
|
|
10
10
|
|
|
11
11
|
The expectations of a suite: of a JSON file, by its path or its URL, or an object, as they are;
|
|
12
12
|
none of `undefined`. What is not valid is an [InvalidExpectationsError](../../errors/classes/InvalidExpectationsError.md).
|
|
@@ -10,7 +10,7 @@ function staleOf(
|
|
|
10
10
|
): string[];
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/wpt/src/expectations.ts:134](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
13
|
+
Defined in: [packages/project-wpt/src/expectations.ts:134](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L134)
|
|
14
14
|
|
|
15
15
|
What the expectations name that the suite does not have: a file of none of its tests, by its id,
|
|
16
16
|
and a subtest no run of its file had, as `id › name`. A file skipped has no run, and its subtests
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type ReadExpectations = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/expectations.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L32)
|
|
10
10
|
|
|
11
11
|
Expectations, and where they are from, which an error names: their file, or `expectations`.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Expectations, and where they are from, which an error names: their file, or `exp
|
|
|
18
18
|
readonly expectations: Expectations;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/wpt/src/expectations.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-wpt/src/expectations.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L34)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,4 +28,4 @@ Defined in: [packages/wpt/src/expectations.ts:34](https://gitlab.com/wetryfun/pr
|
|
|
28
28
|
readonly source: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/wpt/src/expectations.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
31
|
+
Defined in: [packages/project-wpt/src/expectations.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/expectations.ts#L33)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type ClearTimeout = (id?) => void;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L21)
|
|
10
10
|
|
|
11
11
|
The HTML Standard's `clearTimeout`: stops the timer `setTimeout` gave the id of.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CreateRealm = (globals, name) => Realm;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L61)
|
|
10
10
|
|
|
11
11
|
Makes a [Realm](Realm.md) of the `globals` it has, none else of the program's, and its `name`.
|
|
12
12
|
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type Env = Readonly<Record<string, string | undefined>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:15](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:15](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L15)
|
|
10
10
|
|
|
11
11
|
The variables of an environment, by their names, as Node's `process.env` has them.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Exec = (command, args, options) => Promise<string>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L43)
|
|
10
10
|
|
|
11
11
|
A command run to its end, as git: what it wrote on stdout. It fails with an error whose message
|
|
12
12
|
is what the command wrote on stderr, or why it did not run.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Expectations = Readonly<Record<string, FileExpectation>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:208](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:208](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L208)
|
|
10
10
|
|
|
11
11
|
The known failures of a suite, by the id of each test file: its path, or its path and a variant,
|
|
12
12
|
which is over the path's. A run is green when only these fail, and red when one passes, so the
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type FileExpectation = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:188](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:188](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L188)
|
|
10
10
|
|
|
11
11
|
The known failures of a test file: why it does not run (`skip`), why its harness does not come
|
|
12
12
|
to `OK` (`harness`), and each subtest that fails, by its name, and why (`fail`).
|
|
@@ -19,7 +19,7 @@ to `OK` (`harness`), and each subtest that fails, by its name, and why (`fail`).
|
|
|
19
19
|
readonly optional fail?: Readonly<Record<string, string>>;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/wpt/src/index.ts:191](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
22
|
+
Defined in: [packages/project-wpt/src/index.ts:191](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L191)
|
|
23
23
|
|
|
24
24
|
***
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Defined in: [packages/wpt/src/index.ts:191](https://gitlab.com/wetryfun/project/
|
|
|
29
29
|
readonly optional harness?: string;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [packages/wpt/src/index.ts:190](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
32
|
+
Defined in: [packages/project-wpt/src/index.ts:190](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L190)
|
|
33
33
|
|
|
34
34
|
***
|
|
35
35
|
|
|
@@ -39,4 +39,4 @@ Defined in: [packages/wpt/src/index.ts:190](https://gitlab.com/wetryfun/project/
|
|
|
39
39
|
readonly optional skip?: string;
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Defined in: [packages/wpt/src/index.ts:189](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
42
|
+
Defined in: [packages/project-wpt/src/index.ts:189](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L189)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type FileResult = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:178](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:178](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L178)
|
|
10
10
|
|
|
11
11
|
A run of a test file: its id, its harness, and each subtest, in the order they ended.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A run of a test file: its id, its harness, and each subtest, in the order they e
|
|
|
18
18
|
readonly harness: HarnessResult;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/wpt/src/index.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-wpt/src/index.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L180)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/wpt/src/index.ts:180](https://gitlab.com/wetryfun/project/
|
|
|
28
28
|
readonly id: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/wpt/src/index.ts:179](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
31
|
+
Defined in: [packages/project-wpt/src/index.ts:179](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L179)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/wpt/src/index.ts:179](https://gitlab.com/wetryfun/project/
|
|
|
38
38
|
readonly subtests: readonly SubtestResult[];
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/wpt/src/index.ts:181](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
41
|
+
Defined in: [packages/project-wpt/src/index.ts:181](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L181)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Globals = Readonly<Record<string, unknown>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L154)
|
|
10
10
|
|
|
11
11
|
The globals of a test file's context, by their names: the implementation under test, as
|
|
12
12
|
`{ BroadcastChannel, navigator: { locks } }`. Each is over the built-ins of the context, and
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type HarnessResult = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:171](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:171](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L171)
|
|
10
10
|
|
|
11
11
|
The harness of a file, and why it did not come to `OK`.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ The harness of a file, and why it did not come to `OK`.
|
|
|
18
18
|
readonly optional message?: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/wpt/src/index.ts:173](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-wpt/src/index.ts:173](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L173)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/wpt/src/index.ts:173](https://gitlab.com/wetryfun/project/
|
|
|
28
28
|
readonly optional stack?: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/wpt/src/index.ts:174](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
31
|
+
Defined in: [packages/project-wpt/src/index.ts:174](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L174)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/wpt/src/index.ts:174](https://gitlab.com/wetryfun/project/
|
|
|
38
38
|
readonly status: HarnessStatus;
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/wpt/src/index.ts:172](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
41
|
+
Defined in: [packages/project-wpt/src/index.ts:172](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L172)
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type HarnessStatus = "OK" | "ERROR" | "TIMEOUT" | "PRECONDITION_FAILED";
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:160](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:160](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L160)
|
|
10
10
|
|
|
11
11
|
What the harness of a file came to: `OK` of a file that ran to its end.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type HoldRejections = (listener) => () => void;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L68)
|
|
10
10
|
|
|
11
11
|
Gives `listener` each rejection no one handles, as the program reports it, until the function
|
|
12
12
|
it returns is called, and no other listener of the program hears it meanwhile: a test file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Performance = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L24)
|
|
10
10
|
|
|
11
11
|
High Resolution Time's `performance`: the time now, from its origin.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ High Resolution Time's `performance`: the time now, from its origin.
|
|
|
18
18
|
readonly timeOrigin: number;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/wpt/src/index.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-wpt/src/index.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L24)
|
|
22
22
|
|
|
23
23
|
## Methods
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/wpt/src/index.ts:24](https://gitlab.com/wetryfun/project/p
|
|
|
28
28
|
now(): number;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/wpt/src/index.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
31
|
+
Defined in: [packages/project-wpt/src/index.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L24)
|
|
32
32
|
|
|
33
33
|
#### Returns
|
|
34
34
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Realm = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L53)
|
|
10
10
|
|
|
11
11
|
A realm a script runs in, of its own global ([CreateRealm](CreateRealm.md)): the global it has, and what
|
|
12
12
|
evaluates a script in it as a browser's global does. Node's is a `node:vm` context.
|
|
@@ -19,7 +19,7 @@ evaluates a script in it as a browser's global does. Node's is a `node:vm` conte
|
|
|
19
19
|
readonly global: Record<string, unknown>;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/wpt/src/index.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
22
|
+
Defined in: [packages/project-wpt/src/index.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L55)
|
|
23
23
|
|
|
24
24
|
The realm's global: the `globals` it was made of, and `self`, which the caller sets.
|
|
25
25
|
|
|
@@ -31,7 +31,7 @@ The realm's global: the `globals` it was made of, and `self`, which the caller s
|
|
|
31
31
|
evaluate(code, filename): void;
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Defined in: [packages/wpt/src/index.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
34
|
+
Defined in: [packages/project-wpt/src/index.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L57)
|
|
35
35
|
|
|
36
36
|
Evaluates `code` as a script in the realm, as of the file `filename`; what it throws, it throws.
|
|
37
37
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type SetTimeout = (handler, timeout?) => unknown;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/wpt/src/index.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-wpt/src/index.ts#L18)
|
|
10
10
|
|
|
11
11
|
The HTML Standard's `setTimeout`, as the runner calls it.
|
|
12
12
|
|