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
Apply formatting changes
  • Loading branch information
eoghanmurray authored and github-actions[bot] committed Oct 7, 2022
commit 3083cff7e7d1e4e177bc2bb4713313dbdf3c58ae
8 changes: 7 additions & 1 deletion packages/rrweb/src/record/observers/canvas/webgl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ function patchGLPrototype(
for (const prop of props) {
if (
//prop.startsWith('get') || // e.g. getProgramParameter, but too risky
['isContextLost', 'canvas', 'drawingBufferWidth', 'drawingBufferHeight'].includes(prop)) {
[
'isContextLost',
'canvas',
'drawingBufferWidth',
'drawingBufferHeight',
].includes(prop)
) {
// skip read only propery/functions
continue;
}
Expand Down