mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
LibWeb: Remove outdated FIXME from ClassicScript::run()
Interpreter::run() *does* now return a Completion. :^)
This commit is contained in:
parent
11eedc309a
commit
a286b1a6af
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a286b1a6afe
@ -72,7 +72,6 @@ JS::Value ClassicScript::run(RethrowErrors rethrow_errors)
|
||||
auto timer = Core::ElapsedTimer::start_new();
|
||||
|
||||
// 6. Otherwise, set evaluationStatus to ScriptEvaluation(script's record).
|
||||
// FIXME: Interpreter::run doesn't currently return a JS::Completion.
|
||||
auto interpreter = JS::Interpreter::create_with_existing_realm(m_script_record->realm());
|
||||
|
||||
auto result = interpreter->run(*m_script_record);
|
||||
|
Loading…
Reference in New Issue
Block a user