feat: verify explored edges by replay
This commit is contained in:
8
tests/fixtures/context-risk.html
vendored
8
tests/fixtures/context-risk.html
vendored
@@ -11,11 +11,14 @@
|
||||
button, input, select, a { margin: 4px; padding: 6px 10px; }
|
||||
[role="dialog"] { display: none; border: 1px solid #999; padding: 16px; margin-top: 16px; }
|
||||
[role="dialog"].open { display: block; }
|
||||
#settings-dialog.open { position: fixed; inset: 24px auto auto 24px; background: white; z-index: 10; }
|
||||
#toast { margin-top: 16px; min-height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Accounts</h1>
|
||||
<button id="storage-leak-marker" hidden>Replay storage leaked</button>
|
||||
<button data-testid="remember-filter" onclick="localStorage.setItem('ateReplayLeak', '1')">Remember filter</button>
|
||||
<nav aria-label="Primary">
|
||||
<a href="#overview" data-testid="overview-link">Overview</a>
|
||||
<a href="#reports" data-testid="reports-link">Reports</a>
|
||||
@@ -78,6 +81,7 @@
|
||||
<section aria-label="Duplicate controls">
|
||||
<button>Duplicate</button>
|
||||
<button>Duplicate</button>
|
||||
<button><span aria-hidden="true"></span></button>
|
||||
</section>
|
||||
|
||||
<section role="dialog" aria-modal="true" class="open">
|
||||
@@ -115,6 +119,10 @@
|
||||
|
||||
<p id="toast" role="status"></p>
|
||||
<script>
|
||||
if (localStorage.getItem("ateReplayLeak")) {
|
||||
document.getElementById("storage-leak-marker").hidden = false;
|
||||
}
|
||||
|
||||
function openEditor(name) {
|
||||
document.getElementById("customer-name").value = name;
|
||||
document.getElementById("editor-title").textContent = "Editing " + name;
|
||||
|
||||
Reference in New Issue
Block a user