David Cramer
046936b3e8
Add observers for stylesheet mutations ( #177 )
...
* hack together stylesheet observer
* Add test coverage for insertRule/deleteRule on stylesheets
* Add new observers
* update patch based on changes to master
* Functioning event recording
* Remove print statements
* Fix ID usage and mark add vs remove
* Correct type
Co-authored-by: Jon Perl <perl.jonathan@gmail.com >
2020-02-22 12:59:55 +08:00
Yanzhen Yu
4426881f1f
fix types in replayer unit test
2019-10-12 17:03:22 +08:00
Yanzhen Yu
ff34fb069e
fix unit test types
2019-10-12 16:58:35 +08:00
Yanzhen Yu
3beb57273e
Revert "temp revert #81 "
...
This reverts commit 835161c737 .
2019-08-12 21:26:35 +08:00
Yanzhen Yu
c00c4ad646
update mask option test snapshot
2019-08-12 21:24:47 +08:00
Yanzhen Yu
835161c737
temp revert #81
...
This patch introduce a breaking change in rrweb-record's API, so
we will revert it in 0.7.x and release it in 0.8.
2019-08-12 21:21:53 +08:00
Yanzhen Yu
f78070a824
impl #81 custom event
...
This is the record side impl of custom event, according to the
issue, we may also add first-class support for the custom event
tag like display color labels in the replayer-ui.
2019-07-24 22:32:11 +08:00
Yanzhen Yu
a51313d973
tweak some code for mask input option
2019-06-15 14:38:03 +08:00
Sebastian Jakob
189df87b9d
Option to mask inputs ( #80 )
...
* Option to mask inputs
Added option 'maskAllInputs' to replace all user inputs with an Asterisk.
* Update types.d.ts
2019-06-15 12:52:08 +08:00
Yanzhen Yu
6d3b9c2345
Upgrade the DOM mutation observer
...
This is an important patch contains some crtical bug fixes for
the DOM mutation observer.
Previously the observer did not handle complex DOM movement very
well. So in this patch we optimized this by distinguishing moved
node better and added a resolving queue to avoid the error caused
by ordering.
2019-06-05 16:39:29 +08:00
Yanzhen Yu
dcc7b925fe
fix character data test snapshot with latest puppeteer
2019-04-05 14:20:01 +08:00
Yanzhen Yu
faebeb08eb
update typescript and fix test cases
2019-04-02 21:38:52 +08:00
Yanzhen Yu
406e7a8d39
update mutation observer handler
...
1. deep delete from adds set when node was dropped
2. remove node from dropped set when node was added again
2019-02-03 23:07:35 +08:00
yz-yu
128deca040
update dependencies and generate typings ( #44 )
2019-01-21 19:54:21 +08:00
yz-yu
3daedfa284
fix remove node observer and check on the result of getNode ( #43 )
...
* check removed node and its parent before collect
* add more more checks on the result of getNode
2019-01-21 19:18:51 +08:00
yz-yu
cedc87c69e
add checkout config to recorder ( #36 )
...
* add checkout config to recorder
* add test cases for checkout feature and extract assertSnapshot method
2019-01-11 10:52:04 +08:00
Yanzhen Yu
8f24cb78b3
fix block strategy
...
If an element was blocked, its child nodes should also be blocked.
The interactions and mutations on the element and its child nodes
also need to be blocked.
2018-12-30 21:46:23 +08:00
Yanzhen Yu
6e41bc3bfa
add some unit tests to replayer
2018-12-14 13:35:10 +08:00
Yanzhen Yu
af44982a79
update puppeteer to use setContent with wait and housekeeping the declaration files
2018-12-03 13:10:06 +08:00
Yanzhen Yu
2c9db926c0
resolve #1 add ignore and block strategy for privacy purpose
2018-12-02 23:23:21 +08:00
Yanzhen Yu
7343ce4719
refactor the repl tool to support multipage apps and better dev
2018-11-23 16:01:55 +08:00
Yanzhen Yu
2bf412c446
add bundle watch
2018-11-16 16:09:55 +08:00
Yanzhen Yu
40e030eda1
ignore href in integration test to avoid fail when code changed
2018-11-14 14:25:11 +08:00
Yanzhen Yu
8b4eb5caf0
fix repl rollup config
2018-11-14 13:15:37 +08:00
Yanzhen Yu
4a7e1e70c6
update test command
2018-11-13 16:26:11 +08:00
Yanzhen Yu
c91a3a3af6
add a repl mode for quick test
2018-11-06 14:23:30 +08:00
Yanzhen Yu
4709c720cd
also resolve missing previous node
2018-11-05 13:20:42 +08:00
Yanzhen Yu
8ed1c999cf
temp hack the integration test cases
2018-11-01 17:47:11 +08:00
Yanzhen Yu
86ad633080
add travis build
2018-11-01 14:58:37 +08:00
Yanzhen Yu
77dcfd8360
add select2.html snapshot test
2018-10-31 16:58:08 +08:00
Yanzhen Yu
7b9e57bd6c
filter text and attributes mutations which target tot a removed node
2018-10-23 11:48:48 +08:00
Yanzhen Yu
68949a08c3
check added nodes from removed nodes and dropped nodes
2018-10-23 11:28:15 +08:00
Yanzhen Yu
d827fdc947
impl dynamic config and pause. Bump 0.3.0
2018-10-16 15:31:56 +08:00
Yanzhen Yu
4ae4222bc3
add test infra and a basic record integration test
2018-10-15 17:21:14 +08:00