-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ed64c31
Showing
23 changed files
with
286 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.