Browse Source

LibWeb: Remove outdated FIXME from ClassicScript::run()

Interpreter::run() *does* now return a Completion. :^)
Andreas Kling 3 years ago
parent
commit
a286b1a6af
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp

+ 0 - 1
Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp

@@ -72,7 +72,6 @@ JS::Value ClassicScript::run(RethrowErrors rethrow_errors)
     auto timer = Core::ElapsedTimer::start_new();
     auto timer = Core::ElapsedTimer::start_new();
 
 
     // 6. Otherwise, set evaluationStatus to ScriptEvaluation(script's record).
     // 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 interpreter = JS::Interpreter::create_with_existing_realm(m_script_record->realm());
 
 
     auto result = interpreter->run(*m_script_record);
     auto result = interpreter->run(*m_script_record);