You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If CSP contains style-src and inline-style is disabled, there will be an error "Refused to apply inline style because it violates the following Content Security Policy directive: style-src '*'".
178
+
// And the function insertStyleRules in rrweb replayer will throw an error "Uncaught TypeError: Cannot read property 'insertRule' of null".
179
+
node.setAttribute('csp-content',value);
180
+
continue;
172
181
}else{
173
182
node.setAttribute(name,value);
174
183
}
@@ -255,7 +264,7 @@ export function buildNodeWithSN(
255
264
}
256
265
if(n.rootId){
257
266
console.assert(
258
-
((map[n.rootId]asunknown)asDocument)===doc,
267
+
(map[n.rootId]asunknownasDocument)===doc,
259
268
'Target document should has the same root id.',
260
269
);
261
270
}
@@ -318,7 +327,7 @@ function handleScroll(node: INode) {
0 commit comments