summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2023-01-08 10:42:26 -0700
committerLinus Groh <mail@linusgroh.de>2023-02-21 10:57:44 +0100
commitf40094d0144a37ac20eb13abaf61e11735451053 (patch)
tree8365ac90da246839ab2c1f44b6cad7331093a35b /Ports
parent0ea697ace57fbc1de834402077d6f0bde1b82f43 (diff)
downloadserenity-f40094d0144a37ac20eb13abaf61e11735451053.zip
LibWeb+LibJS: Format Console arguments with JS::Print
Instead of just calling JS::Value::to_string_without_side_effects() when printing values to the console, have all the console clients use the same JS::Print that the REPL does to print values. This method leaves some things to be desired as far as OOM hardening goes, however. We should be able to create a String in a way that doesn't OOM on failure so hard.
Diffstat (limited to 'Ports')
0 files changed, 0 insertions, 0 deletions