Bug 205439 - Web Inspector: TypeError: InjectedScriptHost.isPromiseRejectedWithNativeGetterTypeError first argument must be a Promise
Summary: Web Inspector: TypeError: InjectedScriptHost.isPromiseRejectedWithNativeGette...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Local Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-12-18 23:07 PST by Devin Rousso
Modified: 2019-12-20 11:33 PST (History)
12 users (show)

See Also:


Attachments
Patch (2.08 KB, patch)
2019-12-19 00:08 PST, Devin Rousso
no flags Details | Formatted Diff | Diff
Patch (2.76 KB, patch)
2019-12-19 15:09 PST, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-12-18 23:07:15 PST
# STEPS TO REPRODUCE:
1. turn on Web Animations
2. inspect any page
3. evaluate `document.body.animate([])`
4. expand the result `Animation`
 => both `finished` and `ready` show "TypeError: InjectedScriptHost.isPromiseRejectedWithNativeGetterTypeError first argument must be a Promise" instead of a `Promise`
Comment 1 Devin Rousso 2019-12-19 00:08:05 PST
Created attachment 386078 [details]
Patch
Comment 2 BJ Burg 2019-12-19 09:35:54 PST
Comment on attachment 386078 [details]
Patch

r=me, please add more infos to changelog per our conversation.
Comment 3 Devin Rousso 2019-12-19 15:09:49 PST
Created attachment 386152 [details]
Patch
Comment 4 WebKit Commit Bot 2019-12-19 16:47:06 PST
Comment on attachment 386152 [details]
Patch

Clearing flags on attachment: 386152

Committed r253801: <https://trac.webkit.org/changeset/253801>
Comment 5 WebKit Commit Bot 2019-12-19 16:47:08 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2019-12-19 16:48:20 PST
<rdar://problem/58096544>
Comment 7 Joseph Pecoraro 2019-12-20 11:33:58 PST
Nice!