mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
Revert "LibJS: Shrink ExecutionContext by replacing ScriptOrModule …"
… with Cell*.
This reverts commit d3495c62a7.
This commit is contained in:
committed by
Tim Ledbetter
parent
ba8d63556f
commit
36f74ba96c
Notes:
github-actions[bot]
2026-03-11 23:14:19 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/36f74ba96ce Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8374
@@ -518,7 +518,7 @@ WebIDL::CallbackType* EventTarget::get_current_value_of_event_handler(FlyString
|
||||
vm.pop_execution_context();
|
||||
|
||||
// 11. Set function.[[ScriptOrModule]] to null.
|
||||
function->set_script_or_module(nullptr);
|
||||
function->set_script_or_module({});
|
||||
|
||||
// 12. Set eventHandler's value to the result of creating a Web IDL EventHandler callback function object whose object reference is function and whose callback context is settings object.
|
||||
// FIXME: Update this comment once the ShadowRealm proposal is merged to pass realm.
|
||||
|
||||
Reference in New Issue
Block a user