-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml"> | ||
<link rel="manifest" href="./manifest.webmanifest"> | ||
<title>Playwright Trace Viewer</title> | ||
<script type="module" crossorigin src="./index.cbtHmFgM.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/wsPort-964mA9MZ.js"> | ||
<link rel="stylesheet" crossorigin href="./wsPort.zR1WIy9-.css"> | ||
<link rel="stylesheet" crossorigin href="./index.-g_5lMbJ.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<dialog id="fallback-error"> | ||
<p>The Playwright Trace Viewer must be loaded over the <code>http://</code> or <code>https://</code> protocols.</p> | ||
<p>For more information, please see the <a href="https://aka.ms/playwright/trace-viewer-file-protocol">docs</a>.</p> | ||
</dialog> | ||
<script> | ||
if (!/^https?:/.test(window.location.protocol)) | ||
document.getElementById("fallback-error").show(); | ||
</script> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<body> | ||
<script> | ||
(async () => { | ||
if (!navigator.serviceWorker) | ||
throw new Error(`Service workers are not supported.\nMake sure to serve the Trace Viewer (${window.location}) via HTTPS or localhost.`); | ||
navigator.serviceWorker.register('sw.bundle.js'); | ||
if (!navigator.serviceWorker.controller) | ||
await new Promise(f => navigator.serviceWorker.oncontrollerchange = f); | ||
const traceUrl = new URL(location.href).searchParams.get('trace'); | ||
const params = new URLSearchParams(); | ||
params.set('trace', traceUrl); | ||
await fetch('context?' + params.toString()).then(r => r.json()); | ||
await location.reload(); | ||
})(); | ||
</script> | ||
<script src="stall.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml"> | ||
<title>Playwright Test</title> | ||
<script type="module" crossorigin src="./uiMode.fcU_T5Nf.js"></script> | ||
<link rel="modulepreload" crossorigin href="./assets/wsPort-964mA9MZ.js"> | ||
<link rel="stylesheet" crossorigin href="./wsPort.zR1WIy9-.css"> | ||
<link rel="stylesheet" crossorigin href="./uiMode.pWy0Re7G.css"> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.