mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-27 11:24:16 +00:00
parent
4a5863bcdb
commit
9dbeecb73d
Notes:
github-actions[bot]
2025-04-10 09:18:08 +00:00
Author: https://github.com/AtkinsSJ
Commit: 9dbeecb73d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4296
11 changed files with 23 additions and 22 deletions
|
|
@ -80,7 +80,7 @@ JS::Completion ClassicScript::run(RethrowErrors rethrow_errors, GC::Ptr<JS::Envi
|
|||
// 1. Let realm be the realm of script.
|
||||
auto& realm = this->realm();
|
||||
|
||||
// 2. Check if we can run script with realm. If this returns "do not run" then return NormalCompletion(empty).
|
||||
// 2. Check if we can run script with realm. If this returns "do not run", then return NormalCompletion(empty).
|
||||
if (can_run_script(realm) == RunScriptDecision::DoNotRun)
|
||||
return JS::normal_completion(JS::js_undefined());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue