From 51572fef5259f62bcc68d78909ffc7c25635ded2 Mon Sep 17 00:00:00 2001
From: Leo Balter Runtime Semantics: HostInitializeSyntheticRealm ( _realm_ )
operation used to inform the host of any newly created realms from
the Realm constructor. Its return value is not used, though it may
throw an exception. The idea of this hook is to initialize host
- data structures related to the Realm, e.g., for module loading. It
- is not expected that this hook would add properties to the Realm's
- global object.
+ data structures related to the Realm, e.g., for module loading.
+ The host may use this hook to add properties to the Realm's global + object. Those properties must each be configurable to provide + platform capabilities with no authority to cause side effects such + as I/O or mutation of values that are shared across different + realms within the same host environment. +
++ EDITOR'S NOTE: This specification does not recommend any specific + addition. In the Web embedding, HTML and WebIDL will specify which + interfaces are included. The Web Platform and Web-like + environments may decide to include `setTimeout`, `EventTarget`, + `atob`, `TextEncoder`, `URL`, etc. while at the same time not + including `HTMLElement`, `console`, `localStorage`, `fetch`, etc.. +
+
- EDITOR'S NOTE: This specification does not recommend any specific
- addition. In the Web embedding, HTML and WebIDL will specify which
+ This specification does not recommend any specific addition.
+ In the Web embedding, HTML and WebIDL will specify which
interfaces are included. The Web Platform and Web-like
environments may decide to include `setTimeout`, `EventTarget`,
`atob`, `TextEncoder`, `URL`, etc. while at the same time not
From e44a8f5859b1f01b5c9cc0d047e486c4714c3d60 Mon Sep 17 00:00:00 2001
From: Leo Balter Runtime Semantics: HostInitializeSyntheticRealm ( _realm_ )
This specification does not recommend any specific addition.
In the Web embedding, HTML and WebIDL will specify which
interfaces are included. The Web Platform and Web-like
- environments may decide to include `setTimeout`, `EventTarget`,
+ environments may decide to include `EventTarget`,
`atob`, `TextEncoder`, `URL`, etc. while at the same time not
including `HTMLElement`, `console`, `localStorage`, `fetch`, etc..