1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00
serenity/Applications/Browser
Andreas Kling 6861c619c6 LibJS: Move most of Interpreter into VM
This patch moves the exception state, call stack and scope stack from
Interpreter to VM. I'm doing this to help myself discover what the
split between Interpreter and VM should be, by shuffling things around
and seeing what falls where.

With these changes, we no longer have a persistent lexical environment
for the current global object on the Interpreter's call stack. Instead,
we push/pop that environment on Interpreter::run() enter/exit.
Since it should only be used to find the global "this", and not for
variable storage (that goes directly into the global object instead!),
I had to insert some short-circuiting when walking the environment
parent chain during variable lookup.

Note that this is a "stepping stone" commit, not a final design.
2020-09-27 20:26:58 +02:00
..
BookmarksBarWidget.cpp Browser: Mark default action in context menu of bookmarks 2020-08-30 09:47:49 +02:00
BookmarksBarWidget.h Browser: Mark default action in context menu of bookmarks 2020-08-30 09:47:49 +02:00
Browser.h Browser: Avoid ninja-import of global variable 2020-08-12 20:40:59 +02:00
BrowserConsoleClient.cpp LibJS: Move most of Interpreter into VM 2020-09-27 20:26:58 +02:00
BrowserConsoleClient.h LibWeb: Rename PageView => InProcessWebView 2020-08-17 18:05:35 +02:00
BrowserWindow.json Browser: Set tab text alignment from JSON GUI 2020-09-14 19:55:17 +02:00
CMakeLists.txt Browser: Move the basic Tab UI skeleton to JSON GUI 2020-09-14 19:55:17 +02:00
ConsoleWidget.cpp LibJS: Move most of Interpreter into VM 2020-09-27 20:26:58 +02:00
ConsoleWidget.h LibWeb: Rename PageView => InProcessWebView 2020-08-17 18:05:35 +02:00
DownloadWidget.cpp Meta+Applications: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
DownloadWidget.h LibProtocol: Pass response headers in a case insensitive HashMap 2020-05-10 22:32:12 +02:00
History.cpp Browser: Simplify the History class and fix back/forward history push 2020-07-07 15:09:26 +02:00
History.h Browser: Simplify the History class and fix back/forward history push 2020-07-07 15:09:26 +02:00
InspectorWidget.cpp LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
InspectorWidget.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
main.cpp Applications+IRCClient: Use new format functions. 2020-09-23 21:45:28 +02:00
Tab.cpp Applications: Use placeholders in TextBoxes where applicable 2020-09-21 20:15:10 +02:00
Tab.h Browser: Mark default action in context menu of hyperlinks 2020-08-30 09:47:49 +02:00
Tab.json Browser: Move the basic Tab UI skeleton to JSON GUI 2020-09-14 19:55:17 +02:00
WindowActions.cpp Browser: Add missing copyright header to WindowActions.{cpp,h} 2020-05-09 23:45:16 +02:00
WindowActions.h Browser: Add missing copyright header to WindowActions.{cpp,h} 2020-05-09 23:45:16 +02:00