Skip to content

Commit

Permalink
Set document.title to query in standalone CTS (gpuweb#3819)
Browse files Browse the repository at this point in the history
This means history, like long pressing on the back button,
will show preivous tests vs now where they all just say
'WebGPU CTS'
  • Loading branch information
greggman authored Jun 26, 2024
1 parent 9f0b99a commit ea6fda8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/runtime/standalone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,8 @@ void (async () => {
return;
}

document.title = `${document.title} ${compatibility ? '(compat)' : ''} - ${rootQuery.toString()}`;

tree.dissolveSingleChildTrees();

const { runSubtree, generateSubtreeHTML } = makeSubtreeHTML(tree.root, 1);
Expand Down

0 comments on commit ea6fda8

Please sign in to comment.