mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibJS: Implement (no-op) debugger statement
This commit is contained in:
parent
ea839861e5
commit
43c1fa9965
Notes:
sideshowbarker
2024-07-19 07:07:45 +09:00
Author: https://github.com/linusg
Commit: 43c1fa9965
Pull-request: https://github.com/SerenityOS/serenity/pull/2033
9 changed files with 41 additions and 1 deletions
|
@ -1396,6 +1396,12 @@ Value SequenceExpression::execute(Interpreter& interpreter) const
|
|||
return last_value;
|
||||
}
|
||||
|
||||
Value DebuggerStatement::execute(Interpreter&) const
|
||||
{
|
||||
dbg() << "Sorry, no JavaScript debugger available (yet)!";
|
||||
return js_undefined();
|
||||
}
|
||||
|
||||
void ScopeNode::add_variables(NonnullRefPtrVector<VariableDeclaration> variables)
|
||||
{
|
||||
m_variables.append(move(variables));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue