diff --git a/.eslintrc.js b/.eslintrc.js index ea69a2893ff188..6d75f4534fa0b2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -321,6 +321,7 @@ module.exports = { ByteLengthQueuingStrategy: 'readable', CompressionStream: 'readable', CountQueuingStrategy: 'readable', + CustomEvent: 'readable', Crypto: 'readable', CryptoKey: 'readable', DecompressionStream: 'readable', diff --git a/doc/api/cli.md b/doc/api/cli.md index 62f198abd00543..0565aa601a2f1a 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -280,6 +280,14 @@ effort to report stack traces relative to the original source file. Overriding `Error.prepareStackTrace` prevents `--enable-source-maps` from modifying the stack trace. +### `--experimental-global-customevent` + + + +Expose the [CustomEvent Web API][] on the global scope. + ### `--experimental-global-webcrypto` + +> Stability: 1 - Experimental. Enable this API with the +> [`--experimental-global-customevent`][] CLI flag. + + + +A browser-compatible implementation of the [`CustomEvent` Web API][]. + ## Class: `DecompressionStream`