Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update packages/rrweb/test/html/canvas-webgl-shader.html
Co-authored-by: Justin Halsall <[email protected]>
  • Loading branch information
eoghanmurray and Juice10 authored Oct 3, 2022
commit c2c5644e3d7062e11fb166a272167825a0d2507a
5 changes: 4 additions & 1 deletion packages/rrweb/test/html/canvas-webgl-shader.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@
gl.drawArrays(gl.TRIANGLES, 0, 3);
}
setTimeout(() => {
// canvas element that never gets appended to the DOM
const confound = document.createElement('canvas');
createTriangle(confound); // this should not be emitted (but was triggering a bug in the emitted canvas)
// These will not be emitted (but was triggering a bug in the emitted canvas)
// @see https://github.com/rrweb-io/rrweb/pull/1013
createTriangle(confound);
const c = document.getElementById('myCanvas');
createTriangle(c);
}, 10);
Expand Down