Bug 161204 - Web Inspector: remove unnecessary Promise wrapping of returned values inside .then() methods
Summary: Web Inspector: remove unnecessary Promise wrapping of returned values inside ...
Status: NEW
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: 2016-08-25 13:04 PDT by BJ Burg
Modified: 2016-12-13 15:40 PST (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 BJ Burg 2016-08-25 13:04:00 PDT
Return values from .then() are implicitly wrapped in resolved Promises, like Promise.resolve(returned value). I didn't know this when writing a lot of tests last year.
Comment 1 Radar WebKit Bug Importer 2016-08-25 13:04:34 PDT
<rdar://problem/28015360>