impl #309 observe font face set changes

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 6c6f9c14da
commit 8b198b338e
7 changed files with 121 additions and 4 deletions

View File

@@ -95,7 +95,8 @@ function getCode(): string {
window.__IS_RECORDING__ = true
rrweb.record({
emit: event => window._replLog(event),
recordCanvas: true
recordCanvas: true,
collectFonts: true
});
`);
page.on('framenavigated', async () => {
@@ -105,7 +106,8 @@ function getCode(): string {
window.__IS_RECORDING__ = true
rrweb.record({
emit: event => window._replLog(event),
recordCanvas: true
recordCanvas: true,
collectFonts: true
});
`);
}