Inlined CSS from <link>
does not work due to CORS
#14598
Labels
Package: replay
Issues related to the Sentry Replay SDK
<link>
does not work due to CORS
#14598
We have a customer that is loading CSS via:
When we record, what happens is:
<link>
element, (stylesheet is not loaded in document yet, so this code does not run)serializeElementNode
is called again, this time there is css that is written to_cssText
attribute (rel
andhref
attrs are deleted)link
elementDuring playback:
<link>
is added to DOM with origin attributes_cssText
_cssText
are not loaded into DOMThis results in a replay without any CSS loaded.
The text was updated successfully, but these errors were encountered: