mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Required by the server-side rendering mode of React Router, used by https://chatgpt.com/ Note that the imported tests do not have the worker variants to prevent freezing on macOS.
25 lines
735 B
HTML
25 lines
735 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
|
|
<script src="../../resources/testharness.js"></script>
|
|
<script src="../../resources/testharnessreport.js"></script>
|
|
<script src="../../resources/testharness-shadowrealm-outer.js"></script>
|
|
<script>
|
|
(async function() {
|
|
const r = new ShadowRealm();
|
|
await shadowRealmEvalAsync(r, `
|
|
await import("/resources/testharness-shadowrealm-inner.js");
|
|
await import("../../resources/testharness.js");
|
|
`);
|
|
r.evaluate("setShadowRealmGlobalProperties")(location.search, fetchAdaptor);
|
|
|
|
await shadowRealmEvalAsync(r, `
|
|
|
|
await import("/encoding/streams/backpressure.any.js");
|
|
`);
|
|
|
|
await fetch_tests_from_shadow_realm(r);
|
|
done();
|
|
})().catch(e => setup(() => { throw e; }));
|
|
</script>
|