Lines Matching refs:realm
432 * inside a shadow realm.
448 * is manually triggered from the incubating realm
451 * data to send to the incubating realm, in the same format as used by RemoteContext
455 throw new Error("Tried to start a shadow realm test environment after it has already started");
538 /* Shadow realm global objects are _ordinary_ objects (i.e. their prototype is
770 * Make a copy of a Promise in the current realm.
773 * realm
785 * that the promise is from the current realm, that can always be used with
786 * `await`, etc. We therefore create a new promise in this realm that
3078 // for cross-realm transmittance), the property should not
3096 * another realm. They do not define "cleanup" functions (if necessary,
3098 * external realm). However, `RemoteTests` may have "done" callbacks (e.g.
3100 * test status in the parent realm). The `cleanup` method delegates to
3845 * Get test results from a shadow realm and include them in the current test.
3847 * @param {ShadowRealm} realm - A shadow realm also running the test harness
3850 function fetch_tests_from_shadow_realm(realm) {
3856 realm.evaluate("begin_shadow_realm_tests")(receiveMessage);
3863 * Begin running tests in this shadow realm test harness.
3869 * incubating realm-- accepts JSON-encoded messages in the format used by