Skip to content

Commit d21a234

Browse files
authored
Forgot to reference my PR
1 parent 10935a0 commit d21a234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rrweb-snapshot/src/snapshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function getHref(doc: Document, customHref?: string) {
218218
if (!customHref) {
219219
customHref = '';
220220
}
221-
// note: using `new URL` is slower https://jsbench.me/uqlud17rxo/1
221+
// note: using `new URL` is slower. See #1434 or https://jsbench.me/uqlud17rxo/1
222222
a.setAttribute('href', customHref);
223223
return a.href;
224224
}

0 commit comments

Comments
 (0)