diff --git a/docs/docs-using-extending.md b/docs/docs-using-extending.md index 94ee0c058..09f36b68c 100644 --- a/docs/docs-using-extending.md +++ b/docs/docs-using-extending.md @@ -32,7 +32,7 @@ on third parties to continue to provide support for WASI preview 1. ## WASI preview 1 plugins -Your `Cargo.toml` should look like: +Your `Cargo.toml` should look like the following: ```toml [package] @@ -112,7 +112,7 @@ javy-plugin-api = "5.0.0" wit-bindgen = "0.47.0" ``` -You'll need a WIT file in `wit/world.wit` that looks like: +You'll need a WIT file in `wit/world.wit` that looks like the following code: ```wit package yournamespace:my-javy-plugin@1.0.0; diff --git a/docs/docs-using-js-api-support.md b/docs/docs-using-js-api-support.md index 9bd656ca8..d11525e8d 100644 --- a/docs/docs-using-js-api-support.md +++ b/docs/docs-using-js-api-support.md @@ -19,7 +19,6 @@ explicitly marked as partially supported in the table below. |`String.prototype.normalize`|✅| | |`TexDecoder`|🚧| Partial support, not fully compliant| |`TextEncoder`|🚧| Partial support, not fully compliant| -|`TextEncoder`|🚧| Partial support, not fully compliant| |`console`|🚧| Partial support, `console.log` and `console.error`| Javy provides a custom `Javy` namespace, which includes the following diff --git a/wpt/runner.js b/wpt/runner.js index 1485837e7..b16d9dc83 100644 --- a/wpt/runner.js +++ b/wpt/runner.js @@ -1,13 +1,13 @@ import "./global_fix.js"; import "./upstream/resources/testharness.js"; import { - failedTestCount, - resultReporter, - completionReporter, + failedTestCount, + resultReporter, + completionReporter } from "./reporter.js"; -// This is not a normal import and will be handled -// by a custom rollup plugin in `rollup.config.js`. +/* This is not a normal import and will be handled + by a custom rollup plugin in `rollup.config.js`. */ import testFunc from "custom:test_spec"; add_result_callback(resultReporter); @@ -16,4 +16,4 @@ testFunc(); if (failedTestCount > 0) { throw new Error(`${failedTestCount} web platform tests failed`); -} +};