This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -20,8 +20,6 @@
* DEALINGS IN THE SOFTWARE.
*/
// This file is generated from mozilla\WorkerGlobalScope.webidl. Do not edit!
package js.html;
import js.lib.Promise;
@ -83,6 +81,12 @@ extern class WorkerGlobalScope extends EventTarget {
Allows you to write a message to stdout — i.e. in your terminal. This is the same as Firefox's `window.dump`, but for workers.
**/
function dump( ?str : String ) : Void;
/**
Creates a deep clone of a given value using the structured clone algorithm.
**/
function structuredClone<T>(value: T, ?options: {transfer: Array<Any>}): T;
/** @throws DOMError */
function btoa( btoa : String ) : String;
/** @throws DOMError */