mirror of
https://github.com/RGBCube/serenity
synced 2025-07-05 18:17:36 +00:00
LibJS: Convert Promise::create() to NonnullGCPtr
This commit is contained in:
parent
ddc6e139a6
commit
a4d85cd522
16 changed files with 26 additions and 26 deletions
|
@ -315,7 +315,7 @@ ExecuteScriptResultSerialized execute_async_script(Web::Page& page, DeprecatedSt
|
|||
auto start = Time::now_monotonic();
|
||||
|
||||
// 4. Let promise be a new Promise.
|
||||
auto* promise = JS::Promise::create(realm);
|
||||
auto promise = JS::Promise::create(realm);
|
||||
|
||||
// FIXME: 5 Run the following substeps in parallel:
|
||||
auto result = [&] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue