mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
committed by
Andreas Kling
parent
9e3127785e
commit
a48080f62d
@@ -94,6 +94,8 @@ protected:
|
||||
Interpreter& interpreter() { return m_console.interpreter(); }
|
||||
const Interpreter& interpreter() const { return m_console.interpreter(); }
|
||||
|
||||
Vector<String> get_trace() const;
|
||||
|
||||
Console& m_console;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user