summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Scripting
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-02-07 14:52:27 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-07 14:58:18 +0100
commita286b1a6afe7da0567b390c0f90eec14821aaafe (patch)
treeaa41789eb1510e3f3cbcf82d3c9d98be00716b3c /Userland/Libraries/LibWeb/HTML/Scripting
parent11eedc309a548227ca70039189153f371b7bd0a7 (diff)
downloadserenity-a286b1a6afe7da0567b390c0f90eec14821aaafe.zip
LibWeb: Remove outdated FIXME from ClassicScript::run()
Interpreter::run() *does* now return a Completion. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Scripting')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp b/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp
index 585ab89ec2..62965847aa 100644
--- a/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp
+++ b/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp
@@ -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);