Skip to content

Commit

Permalink
Fix use of deprecated window.name. (#3146)
Browse files Browse the repository at this point in the history
This doesn't work in non-browser JS runtimes.
  • Loading branch information
Kangz authored Nov 8, 2023
1 parent 5a69832 commit afc627f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ g.test('occlusion_query,scissor')
const expectPassed = !occluded;
t.expect(
!!passed === expectPassed,
`queryIndex: ${queryIndex}, scissorCase: ${scissorCase}, was: ${!!passed}, expected: ${expectPassed}, ${name}`
`queryIndex: ${queryIndex}, scissorCase: ${scissorCase}, was: ${!!passed}, expected: ${expectPassed}`
);
}
);
Expand Down Expand Up @@ -739,7 +739,7 @@ g.test('occlusion_query,depth')
const expectPassed = queryIndex % 2 === 0;
t.expect(
!!passed === expectPassed,
`queryIndex: ${queryIndex}, was: ${!!passed}, expected: ${expectPassed}, ${name}`
`queryIndex: ${queryIndex}, was: ${!!passed}, expected: ${expectPassed}`
);
}
);
Expand Down Expand Up @@ -783,7 +783,7 @@ g.test('occlusion_query,stencil')
const expectPassed = queryIndex % 2 === 0;
t.expect(
!!passed === expectPassed,
`queryIndex: ${queryIndex}, was: ${!!passed}, expected: ${expectPassed}, ${name}`
`queryIndex: ${queryIndex}, was: ${!!passed}, expected: ${expectPassed}`
);
}
);
Expand Down Expand Up @@ -851,7 +851,7 @@ g.test('occlusion_query,sample_mask')
const expectPassed = !!(sampleMask & drawMask);
t.expect(
!!passed === expectPassed,
`queryIndex: ${queryIndex}, was: ${!!passed}, expected: ${expectPassed}, ${name}`
`queryIndex: ${queryIndex}, was: ${!!passed}, expected: ${expectPassed}`
);
}
);
Expand Down

0 comments on commit afc627f

Please sign in to comment.