Michael Dellanoce

Results 27 comments of Michael Dellanoce

@billyvg i synced the branch with master, i'm looking into the unmasking issue you pointed out

@billyvg 1. okay, I see this, I must be missing some case for textarea, b/c it looks like it masked the value attribute, but not the textContent. Will fix that...

> but my implementation of maskAllText was different because it was independent of maskAllInputs. So you could have maskAllText != maskAllInputs, and textareas could have only one of value/textContent masked,...

@billyvg fixed the textarea masking. it can still be a little wonky with the default masking functions, b/c one (maskTextFn) excludes whitespace from masking, while the other (maskInputFn) masks every...

@Juice10 @YunFeng0817 something I've been playing with in a different branch: https://github.com/pendo-io/rrweb/commit/6516f547e9b6e9d7a614305f5f87eea47f1547ce I noticed when taking a snapshot or processing a large mutation, we'd be evaluating masking selectors for the...

@eoghanmurray i'll work on rebasing and modifying the approach

@eoghanmurray i rebased and updated this PR to only address #874. I removed all the new unmasking logic, since I can apply that through the maskText/InputFn callbacks now that they...

@wfk007 it unfortunately looks like there are some performance impacts for this change in certain situations. I recently encountered a slow mutation with an old version of the jstree library....

another possibility for a fix: ``` diff --git a/packages/rrweb/src/record/mutation.ts b/packages/rrweb/src/record/mutation.ts index 097d1a8..cdceaf5 100644 --- a/packages/rrweb/src/record/mutation.ts +++ b/packages/rrweb/src/record/mutation.ts @@ -425,7 +425,13 @@ export default class MutationBuffer { } break; } -...

> Ensure the performance of emit even if addedSet is not in the right order: It is possible to increase the average time consumption when optimizing the performance of boundary...