ladybird/Userland/Libraries/LibTest
davidot 9264f9d24e LibJS+Everywhere: Remove VM::exception() and most related functions
This commit removes all exception related code:
Remove VM::exception(), VM::throw_exception() etc. Any leftover
throw_exception calls are moved to throw_completion.
The one method left is clear_exception() which is now a no-op. Most of
these calls are just to clear whatever exception might have been thrown
when handling a Completion. So to have a cleaner commit this will be
removed in a next commit.

It also removes the actual Exception and TemporaryClearException classes
since these are no longer used.

In any spot where the exception was actually used an attempt was made to
preserve that behavior. However since it is no longer tracked by the VM
we cannot access exceptions which were thrown in previous calls.
There are two such cases which might have different behavior:
- In Web::DOM::Document::interpreter() the on_call_stack_emptied hook
  used to print any uncaught exception but this is now no longer
  possible as the VM does not store uncaught exceptions.
- In js the code used to be interruptable by throwing an exception on
  the VM. This is no longer possible but was already somewhat fragile
  before as you could happen to throw an exception just before a VERIFY.
2022-02-08 09:12:42 +00:00
..
CMakeLists.txt Meta/LibTest: Build object libraries for test main files 2021-07-29 21:46:25 +01:00
CrashTest.cpp LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
CrashTest.h LibTest: Add EXPECT_CRASH_WITH_SIGNAL 2021-12-19 14:22:06 -08:00
JavaScriptTestRunner.h LibJS+Everywhere: Remove VM::exception() and most related functions 2022-02-08 09:12:42 +00:00
JavaScriptTestRunnerMain.cpp LibJS: Remove the JS_TRACK_ZOMBIE_CELLS option 2022-02-05 11:52:51 +01:00
Macros.h LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
Results.h Base+Utilities: Add run-tests program to run system tests with LibTest 2021-06-30 08:18:28 +04:30
TestCase.h LibTest: Add TEST_SETUP macro that runs before all test cases 2021-08-31 16:53:51 +02:00
TestMain.cpp AK+Userland: Move AK/TestSuite.h into LibTest and rework Tests' CMake 2021-04-25 09:36:49 +02:00
TestRunner.h LibTest: Decorate cleanup_and_exit() with [[noreturn]] 2021-09-14 21:41:51 +02:00
TestSuite.cpp LibTest: Add TEST_SETUP macro that runs before all test cases 2021-08-31 16:53:51 +02:00
TestSuite.h LibTest: Add TEST_SETUP macro that runs before all test cases 2021-08-31 16:53:51 +02:00