Runs: Chrome 160.0.8195.0 (wpt@1ab8957e4, 2026-12-01) | Firefox 163.0a1 (wpt@1ab8957e4, 2026-12-01) | Safari 257 preview (wpt@1ab8957e4, 2026-12-01) | Ladybird 1.0-fe766 (wpt@d7c0a00b7, 2026-12-02) | Servo Servo 0.8 (wpt@75c11f957, 2026-12-01) | Blitz af350c0af (wpt@705f393a6, 2026-12-02)
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 1/1 | 0/1 | 0/1 | 0/1 | 0/1 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Responses with code 200 should be activated | PASS | — | — | — | — | — |
/speculation-rules/prerender/response-code-successful.https.html
<!DOCTYPE html> <title>Check that successful responses result in activating the prerender</title> <meta name="variant" content="?code=200"> <meta name="variant" content="?code=201"> <meta name="variant" content="?code=202"> <meta name="variant" content="?code=203"> <meta name="variant" content="?code=232"> <meta name="timeout" content="long"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/common/utils.js"></script> <script src="/common/dispatcher/dispatcher.js"></script> <script src="../resources/utils.js"></script> <script src="resources/utils.js"></script> <body> <script> setup(() => assertSpeculationRulesIsSupported('prerender')); const params = new URLSearchParams(window.location.search); promise_test(async t => { // Pass the `code` search param so that a prerendered page is served with the // response code. const {exec, tryToActivate} = await create_prerendered_page(t, {'prerendering': params}); const result = await tryToActivate(); assert_equals(result, 'activated'); },`Responses with code ${params.get('code')} should be activated`); </script>