mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibJS: Move Interpreter::get_trace() to ConsoleClient
Having it globally on the interpreter is confusing as the last call frame is skipped, which is specific to console.trace().
This commit is contained in:
parent
9e3127785e
commit
a48080f62d
Notes:
sideshowbarker
2024-07-19 05:53:19 +09:00
Author: https://github.com/linusg
Commit: a48080f62d
Pull-request: https://github.com/SerenityOS/serenity/pull/2481
Reviewed-by: https://github.com/awesomekling
6 changed files with 14 additions and 12 deletions
|
@ -181,7 +181,6 @@ public:
|
|||
const Console& console() const { return m_console; }
|
||||
|
||||
String join_arguments() const;
|
||||
Vector<String> get_trace() const;
|
||||
|
||||
private:
|
||||
Interpreter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue