@@ -2427,111 +2427,6 @@ exports[`overlay should show error when it is not filtered: page html 1`] = `
24272427"
24282428`;
24292429
2430- exports[`overlay should show overlay when Trusted Types are enabled: overlay html 1`] = `
2431- "<body>
2432- <div
2433- id="webpack-dev-server-client-overlay-div"
2434- style="
2435- position: fixed;
2436- box-sizing: border-box;
2437- inset: 0px;
2438- width: 100vw;
2439- height: 100vh;
2440- font-size: large;
2441- padding: 2rem 2rem 4rem;
2442- line-height: 1.2;
2443- white-space: pre-wrap;
2444- overflow: auto;
2445- background-color: rgba(0, 0, 0, 0.9);
2446- color: white;
2447- "
2448- >
2449- <div
2450- style="
2451- color: rgb(232, 59, 70);
2452- font-size: 2em;
2453- white-space: pre-wrap;
2454- font-family: sans-serif;
2455- margin: 0px 2rem 2rem 0px;
2456- flex: 0 0 auto;
2457- max-height: 50%;
2458- overflow: auto;
2459- "
2460- >
2461- Compiled with problems:
2462- </div>
2463- <button
2464- aria-label="Dismiss"
2465- style="
2466- color: rgb(255, 255, 255);
2467- line-height: 1rem;
2468- font-size: 1.5rem;
2469- padding: 1rem;
2470- cursor: pointer;
2471- position: absolute;
2472- right: 0px;
2473- top: 0px;
2474- background-color: transparent;
2475- border: none;
2476- "
2477- >
2478- ×
2479- </button>
2480- <div>
2481- <div
2482- style="
2483- background-color: rgba(206, 17, 38, 0.1);
2484- color: rgb(252, 207, 207);
2485- padding: 1rem 1rem 1.5rem;
2486- "
2487- >
2488- <div
2489- style="
2490- color: rgb(232, 59, 70);
2491- font-size: 1.2em;
2492- margin-bottom: 1rem;
2493- font-family: sans-serif;
2494- "
2495- >
2496- ERROR
2497- </div>
2498- <div
2499- style="
2500- line-height: 1.5;
2501- font-size: 1rem;
2502- font-family: Menlo, Consolas, monospace;
2503- "
2504- >
2505- Error from compilation. Can't find 'test' module.
2506- </div>
2507- </div>
2508- </div>
2509- </div>
2510- </body>
2511- "
2512- `;
2513-
2514- exports[`overlay should show overlay when Trusted Types are enabled: page html 1`] = `
2515- "<body>
2516- <h1>webpack-dev-server is running...</h1>
2517- <script type="text/javascript" charset="utf-8" src="/main.js"></script>
2518-
2519- <iframe
2520- id="webpack-dev-server-client-overlay"
2521- src="about:blank"
2522- style="
2523- position: fixed;
2524- inset: 0px;
2525- width: 100vw;
2526- height: 100vh;
2527- border: none;
2528- z-index: 2147483647;
2529- "
2530- ></iframe>
2531- </body>
2532- "
2533- `;
2534-
25352430exports[`overlay should show warning when it is not filtered: overlay html 1`] = `
25362431"<body>
25372432 <div
0 commit comments