mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
tools: Exit run-cts when the coverage page is closed
Change-Id: I70f3ffa40dcfe60cdee46bdf0f5db21370be1a3e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113861 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
408ace6927
commit
97b05e169e
@@ -262,6 +262,10 @@
|
||||
readOnly: true,
|
||||
});
|
||||
|
||||
addEventListener('beforeunload', () => {
|
||||
fetch("viewer.closed");
|
||||
});
|
||||
|
||||
window.onload = function () {
|
||||
el_source.doc.setValue("// Loading... ");
|
||||
fetch("coverage.dat").then(response =>
|
||||
|
||||
Reference in New Issue
Block a user