Commit c0bd3e73 authored by Luke Sandberg's avatar Luke Sandberg

Update snapshot tests after rebase onto canary.

Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
parent 9a64440d
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f4476787-0394-ca0a-ac3d-03d90c7ca07d")}catch(e){}}(); ;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="db40b8ac-b994-6dc9-e827-76f92bd2e7ef")}catch(e){}}();
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([ (globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/1i9t_crates_turbopack-tests_tests_snapshot_debug-ids_browser_input_index_19boa0e.js", "output/1i9t_crates_turbopack-tests_tests_snapshot_debug-ids_browser_input_index_19boa0e.js",
{"otherChunks":["output/1do3_crates_turbopack-tests_tests_snapshot_debug-ids_browser_input_index_03ibyvs.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/debug-ids/browser/input/index.js [test] (ecmascript)"]} {"otherChunks":["output/1do3_crates_turbopack-tests_tests_snapshot_debug-ids_browser_input_index_03ibyvs.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/debug-ids/browser/input/index.js [test] (ecmascript)"]}
...@@ -12,6 +12,7 @@ var CHUNK_BASE_PATH = ""; ...@@ -12,6 +12,7 @@ var CHUNK_BASE_PATH = "";
var RELATIVE_ROOT_PATH = "../../../../../../.."; var RELATIVE_ROOT_PATH = "../../../../../../..";
var RUNTIME_PUBLIC_PATH = ""; var RUNTIME_PUBLIC_PATH = "";
var ASSET_SUFFIX = ""; var ASSET_SUFFIX = "";
var CROSS_ORIGIN = null;
var WORKER_FORWARDED_GLOBALS = []; var WORKER_FORWARDED_GLOBALS = [];
/** /**
* This file contains runtime types and functions that are shared between all * This file contains runtime types and functions that are shared between all
...@@ -2052,6 +2053,7 @@ let BACKEND; ...@@ -2052,6 +2053,7 @@ let BACKEND;
} else { } else {
const link = document.createElement('link'); const link = document.createElement('link');
link.rel = 'stylesheet'; link.rel = 'stylesheet';
link.crossOrigin = CROSS_ORIGIN;
link.href = chunkUrl; link.href = chunkUrl;
link.onerror = ()=>{ link.onerror = ()=>{
resolver.reject(); resolver.reject();
...@@ -2076,6 +2078,7 @@ let BACKEND; ...@@ -2076,6 +2078,7 @@ let BACKEND;
} }
} else { } else {
const script = document.createElement('script'); const script = document.createElement('script');
script.crossOrigin = CROSS_ORIGIN;
script.src = chunkUrl; script.src = chunkUrl;
// We'll only mark the chunk as loaded once the script has been executed, // We'll only mark the chunk as loaded once the script has been executed,
// which happens in `registerChunk`. Hence the absence of `resolve()` in // which happens in `registerChunk`. Hence the absence of `resolve()` in
...@@ -2148,6 +2151,7 @@ let DEV_BACKEND; ...@@ -2148,6 +2151,7 @@ let DEV_BACKEND;
} }
const link = document.createElement('link'); const link = document.createElement('link');
link.rel = 'stylesheet'; link.rel = 'stylesheet';
link.crossOrigin = CROSS_ORIGIN;
if (navigator.userAgent.includes('Firefox') || navigator.userAgent.includes('Safari') && !navigator.userAgent.includes('Chrome') && !navigator.userAgent.includes('Chromium')) { if (navigator.userAgent.includes('Firefox') || navigator.userAgent.includes('Safari') && !navigator.userAgent.includes('Chrome') && !navigator.userAgent.includes('Chromium')) {
// Firefox won't reload CSS files that were previously loaded on the // Firefox won't reload CSS files that were previously loaded on the
// current page: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506 // current page: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506
...@@ -2209,5 +2213,5 @@ chunkListsToRegister.forEach(registerChunkList); ...@@ -2209,5 +2213,5 @@ chunkListsToRegister.forEach(registerChunkList);
})(); })();
//# debugId=f4476787-0394-ca0a-ac3d-03d90c7ca07d //# debugId=db40b8ac-b994-6dc9-e827-76f92bd2e7ef
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_debug-ids_browser_input_index_19boa0e.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_debug-ids_browser_input_index_19boa0e.js.map
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment