mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 14:35:07 +00:00
![]() Not visiting the field holding SubtleCrypto in Crypto caused subtle crashes all over the Value functions, due to accessing SubtleCrypto after it was garbage collected (and potentially replaced by a new cell). This meant that the crashes were only appearing in Value::to_boolean, Value::typeof, etc. Which then held pointer to things that looked like Shapes, Environments and other non-Object Cells. To find the actual cause, all pointer used to construct Values were checked and if a pointer was none of the allowed types, the backtrace is logged. Co-authored-by: Luke Wilde <lukew@serenityos.org> |
||
---|---|---|
.. | ||
Crypto.cpp | ||
Crypto.h | ||
Crypto.idl | ||
SubtleCrypto.cpp | ||
SubtleCrypto.h | ||
SubtleCrypto.idl |