mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
HackStudio: Implement custom JS -> C++ "proxy" objects
This patch adds a custom JS Object type that will convert written properties to their C++ equivalents, reflecting JS writes back to the debugging session. This is better than a simple proxy because printing this custom object works as expected because properties still exist on the object as existing handlers expect.
This commit is contained in:
parent
60d329a186
commit
4f2c0e9968
Notes:
sideshowbarker
2024-07-18 19:06:09 +09:00
Author: https://github.com/FalseHonesty
Commit: 4f2c0e9968
Pull-request: https://github.com/SerenityOS/serenity/pull/6285
Reviewed-by: https://github.com/itamar8910 ✅
Reviewed-by: https://github.com/linusg
5 changed files with 111 additions and 36 deletions
|
@ -10,7 +10,8 @@ set(SOURCES
|
|||
Debugger/BacktraceModel.cpp
|
||||
Debugger/DebugInfoWidget.cpp
|
||||
Debugger/Debugger.cpp
|
||||
Debugger/DebuggerGlobalJSObject.cpp
|
||||
Debugger/DebuggerGlobalJSObject.cpp
|
||||
Debugger/DebuggerVariableJSObject.cpp
|
||||
Debugger/DisassemblyModel.cpp
|
||||
Debugger/DisassemblyWidget.cpp
|
||||
Debugger/EvaluateExpressionDialog.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue