Commit Graph

887 Commits

Author SHA1 Message Date
Yanzhen Yu
e7b24d6091 Release 0.7.22 2026-04-01 12:00:00 +08:00
Yanzhen Yu
cc174c79a3 update dependencies 2026-04-01 12:00:00 +08:00
Yanzhen Yu
64b1c44b3a upgrade rrweb-snapshot to 1.0.7 2026-04-01 12:00:00 +08:00
Filip Slatinac
44eddcc900 added cssText check (#23)
* added cssText check

* added testing
2026-04-01 12:00:00 +08:00
Yanzhen Yu
c3ef323093 Release 0.3.3 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ab819bf338 start impl rrdom 2026-04-01 12:00:00 +08:00
Filip Slatinac
5c23514fca replacing invalid tag names by div (#22) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3de1a2a950 update rrweb dependency 2026-04-01 12:00:00 +08:00
Moji Izadmehr
2906b0cb22 Add prettier as a dependency (#487) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
0682251ec2 Release 0.7.21 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3ab8236587 Release 0.3.2 2026-04-01 12:00:00 +08:00
Eoghan Murray
27bc40ac03 remove debugging warning (#486)
I can't see a reason for the warning here so believe it's a debugging statement that crept in?
2026-04-01 12:00:00 +08:00
Yanzhen Yu
af7f8d9404 export the transform attribute method 2026-04-01 12:00:00 +08:00
Yanzhen Yu
bfe50c60f3 update rrweb and impl click progress to play at any time offset 2026-04-01 12:00:00 +08:00
yz-yu
33f0ac5cfe Impl record iframe (#481)
* Impl record iframe

* iframe observe

* temp: add bundle file to git

* update bundle

* update with pick

* update bundle

* fix fragment map remove

* feat: add an option to determine whether to pause CSS animation when playback is paused (#428)

set pauseAnimation to true by default

* fix: elements would lose some states like scroll position because of "virtual parent" optimization (#427)

* fix: elements would lose some state like scroll position because of "virtual parent" optimization

* refactor: the bugfix code

bug: elements would lose some state like scroll position because of "virtual parent" optimization

* fix: an error occured at applyMutation(remove nodes part)

error message:
Uncaught (in promise) DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node

* pick fixes

* revert ignore file

* re-impl iframe record

* re-impl iframe replay

* code housekeeping

* move multi layer dimension calculation to replay side

* update test cases

* teardown test server

* upgrade rrweb-snapshot with iframe load timeout

Co-authored-by: Lucky Feng <yun.feng@smartx.com>
2026-04-01 12:00:00 +08:00
Yanzhen Yu
927f754a9d format code 2026-04-01 12:00:00 +08:00
Yanzhen Yu
af856a64fa add events js to repo for develop usage 2026-04-01 12:00:00 +08:00
Karl-Aksel Puulmann
b99e843e2a Fix RangeError: Maximum call stack size exceeded (#479)
Saw this line cause issues in production, causing the following error:

```
RangeError Maximum call stack size exceeded
```

I believe this is caused by javascript engine max argument length - see note from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply#using_apply_and_built-in_functions

> The consequences of applying a function with too many arguments (that is, more than tens of thousands of arguments) varies across engines. (The JavaScriptCore engine has hard-coded argument limit of 65536.
2026-04-01 12:00:00 +08:00
吴泽康
94d64e3424 Add canvas image content support (#20)
* Add canvas image content support

* use rr_dataURL as the key so we know its a rrweb-added attribute.

* fix canvas rr_dataURL rebuild
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7b855694e5 Release 0.3.1 2026-04-01 12:00:00 +08:00
zzq0826
b98f054eaa update guide (#483) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
5c214f42b8 add picture tag test 2026-04-01 12:00:00 +08:00
Yanzhen Yu
272fc2adbb add release-it config file and publish to npm 2026-04-01 12:00:00 +08:00
Yanzhen Yu
25d23bdc35 read __rrMutationObserver from window 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3a08be5594 Release 0.7.20 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3f1794b880 fix autoplay check 2026-04-01 12:00:00 +08:00
Eoghan Murray
168382f5fe Don't remove the style attributes altogether from tests; they are an important part of the mutations (#468)
These were removed in 8ed1c999cf in order to smooth over differences in test environments
so have maintained that by converting pixel values to 'Npx' (could also try rounding, but didn't attempt that)
2026-04-01 12:00:00 +08:00
Filip Slatinac
1467f97f43 Added srcset support (#18)
* added src set as a parsed attribute

* added tests

* changed to /a

* added multiple attribute handling

* added better comment

* made snapshot ignore invalid input as if it is invalid input in the original DOM, it should stay invalid in the recreated DOM

* added extra absolute test case

* code style

* addressed comments
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7e3e13ffbf fix auto play 2026-04-01 12:00:00 +08:00
Eoghan Murray
9f3f4d15f2 Discovered that the common case of mouse movement or scrolling happening during takeFullSnapshot was causing mutations to be immediately emitted, contrary to the goal of https://github.com/rrweb-io/rrweb/pull/385 (#470) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
26e1e8748b Release 0.7.19 2026-04-01 12:00:00 +08:00
Yanzhen Yu
91e91fe5e8 update rreb and refactor toggle 2026-04-01 12:00:00 +08:00
Yanzhen Yu
faa2ec79fa fix #469 try to get original MutationObserver
We found Angular's zone module will patch MutationObserver which
make the browser hang in some scenarios.
Reference: angular/angular#26948
2026-04-01 12:00:00 +08:00
Yanzhen Yu
a860cf9ed5 export add hover class method 2026-04-01 12:00:00 +08:00
Yanzhen Yu
6c0b1b96bc add rollup postcss plugin and import style from rrweb 2026-04-01 12:00:00 +08:00
Eoghan Murray
a8ad8d1c58 Tweaks to timings to get tests passing on my dev laptop (#466)
* Tweaks to timings to get tests passing on my dev laptop - hopefully this makes tests more deterministic

* Okay understand what's going on now that the test has run in the travis environment
2026-04-01 12:00:00 +08:00
Yanzhen Yu
5ad3936953 Release 0.7.18 2026-04-01 12:00:00 +08:00
Yanzhen Yu
322328d4db improve style of the player 2026-04-01 12:00:00 +08:00
Yanzhen Yu
bbae1dc397 Release 0.9.14 2026-04-01 12:00:00 +08:00
Yanzhen Yu
1fc66ffcc5 fix data url regexp 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ffdddbac02 update rrweb and use the resume method with better performance 2026-04-01 12:00:00 +08:00
Yanzhen Yu
af699bad4b upgrade 0.9.14 2026-04-01 12:00:00 +08:00
Yanzhen Yu
f981bacbd2 Release 0.7.17 2026-04-01 12:00:00 +08:00
Yanzhen Yu
0e4f6649e4 bundle player as an component 2026-04-01 12:00:00 +08:00
Yanzhen Yu
57f15ddc02 fix #460 ignore added node that are not in document anymore 2026-04-01 12:00:00 +08:00
yz-yu
cbe23963a0 add the HACK_CSS flag to bypass css parsing (#16) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
6da7175741 add speed setter and option for display controller or not 2026-04-01 12:00:00 +08:00
Yanzhen Yu
bc6e6101d3 clean addList when meet a corner case 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e4063e82b7 Release 0.7.16 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e1a66810f2 impl controller play, pause and speed 2026-04-01 12:00:00 +08:00