WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
181168
Assertion used to determine if something is an async generator is wrong
https://bugs.webkit.org/show_bug.cgi?id=181168
Summary
Assertion used to determine if something is an async generator is wrong
Saam Barati
Reported
2017-12-26 19:15:17 PST
....
Attachments
patch
(4.21 KB, patch)
2017-12-26 19:51 PST
,
Saam Barati
ysuzuki
: review+
Details
Formatted Diff
Diff
patch for landing
(4.24 KB, patch)
2017-12-27 20:19 PST
,
Saam Barati
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Saam Barati
Comment 1
2017-12-26 19:50:54 PST
<
rdar://problem/35640560
>
Saam Barati
Comment 2
2017-12-26 19:51:52 PST
Created
attachment 330207
[details]
patch
Yusuke Suzuki
Comment 3
2017-12-27 02:06:15 PST
Comment on
attachment 330207
[details]
patch r=me
GSkachkov
Comment 4
2017-12-27 03:59:49 PST
Comment on
attachment 330207
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=330207&action=review
> JSTests/stress/async-generator-assertion.js:35 > +assert(error instanceof TypeError);
Could we check exact error message? Currently without patch in STP 46, I'm receiving also TypeError: undefined is not a function (near '...x of p2...')
> Source/JavaScriptCore/ChangeLog:17 > + (globalPrivate.asyncGeneratorResolve):
Nit: asyncGeneratorResumeNext is missed
Saam Barati
Comment 5
2017-12-27 20:15:30 PST
Comment on
attachment 330207
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=330207&action=review
>> JSTests/stress/async-generator-assertion.js:35 >> +assert(error instanceof TypeError); > > Could we check exact error message? Currently without patch in STP 46, I'm receiving also TypeError: undefined is not a function (near '...x of p2...')
Sure. On a side note: our error messages are so bad for for...of loops.
>> Source/JavaScriptCore/ChangeLog:17 >> + (globalPrivate.asyncGeneratorResolve): > > Nit: asyncGeneratorResumeNext is missed
looks like prepare changelog just missed it. I'll manually add it.
Saam Barati
Comment 6
2017-12-27 20:19:36 PST
Created
attachment 330227
[details]
patch for landing
WebKit Commit Bot
Comment 7
2017-12-28 10:13:19 PST
Comment on
attachment 330227
[details]
patch for landing Clearing flags on attachment: 330227 Committed
r226305
: <
https://trac.webkit.org/changeset/226305
>
WebKit Commit Bot
Comment 8
2017-12-28 10:13:20 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug