diff --git a/.eslintrc.js b/.eslintrc.js index 167107a0018e08..1dedcd1bd76e15 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 a2861024659af2..f0a2e70b8d7b66 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`