[Webkit-unassigned] [Bug 161204] New: Web Inspector: remove unnecessary Promise wrapping of returned values inside .then() methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 25 13:04:00 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161204

            Bug ID: 161204
           Summary: Web Inspector: remove unnecessary Promise wrapping of
                    returned values inside .then() methods
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com
                CC: bburg at apple.com, joepeck at webkit.org,
                    mattbaker at apple.com, nvasilyev at apple.com,
                    timothy at apple.com, webkit-bug-importer at group.apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160825/cb9e18ca/attachment.html>


More information about the webkit-unassigned mailing list