summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-05-07 00:20:22 +0100
committerLinus Groh <mail@linusgroh.de>2022-05-07 01:22:09 +0200
commit05748ed607bfd14301a45bb34bb62e14e0b51d28 (patch)
treee4dada0dc5fcc20656d7e9114716ee5ed3065516 /AK
parentf04911e777ced0f1910b548983af3f4a972fa05c (diff)
downloadserenity-05748ed607bfd14301a45bb34bb62e14e0b51d28.zip
LibJS: Convert Console to use MarkedVector<Value>
Using a Vector<Value> is unsafe as GC cannot see the stored values. This is then vended to outside users of ConsoleClient, e.g. LibWeb and WebContent, which is then outside of LibJS's control. An example issue is if the client stores it for later use and forgets to visit the stored values, meaning they can be destroyed at any time. We can save the client from this by vending a MarkedVector<Value> to them.
Diffstat (limited to 'AK')
0 files changed, 0 insertions, 0 deletions