Bug 225328 - Web Inspector: PromiseStatus should be "fulfilled", not "resolved"
Summary: Web Inspector: PromiseStatus should be "fulfilled", not "resolved"
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-03 13:41 PDT by bugmenot
Modified: 2023-07-14 00:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugmenot 2021-05-03 13:41:35 PDT
Seems like nobody filled an issue for Safari yet. Quoting from the now closed Chromium bug:

According to spec, and docs online, "An unresolved promise is always in the pending state. A resolved promise may be pending, fulfilled or rejected."

http://www.ecma-international.org/ecma-262/6.0/#sec-promise-objects

V8 generates internal property [[PromiseStatus]], which is pending, resolved, or rejected.  It seems more correct for 'resolved' to be renamed to 'fulfilled'.

See:
https://bugs.chromium.org/p/v8/issues/detail?id=6751
https://twitter.com/jaffathecake/status/1248179232775319559
Comment 1 Radar WebKit Bug Importer 2021-05-10 13:42:15 PDT
<rdar://problem/77781649>
Comment 2 Cheng You Bai (:cybai) 2023-07-04 08:52:07 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15544
Comment 3 EWS 2023-07-14 00:44:29 PDT
Committed 266058@main (359976cda05e): <https://commits.webkit.org/266058@main>

Reviewed commits have been landed. Closing PR #15544 and removing active labels.