WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
205195
Teach prepare-ChangeLog about JavaScript async functions
https://bugs.webkit.org/show_bug.cgi?id=205195
Summary
Teach prepare-ChangeLog about JavaScript async functions
Devin Rousso
Reported
2019-12-12 21:32:27 PST
Something like `async foo()` shows up as `(async.foo):` in a ChangeLog, when it really should be `(async foo):`. This would match `get`, `set` and `static`.
Attachments
Patch
(2.32 KB, patch)
2019-12-12 21:32 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(5.21 KB, patch)
2019-12-13 02:27 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2019-12-12 21:32:58 PST
Created
attachment 385573
[details]
Patch
Joseph Pecoraro
Comment 2
2019-12-12 23:07:38 PST
Comment on
attachment 385573
[details]
Patch Awesome! But Needs tests: Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js That way we see the ChangeLog for this patch itself in action.
Devin Rousso
Comment 3
2019-12-13 02:27:32 PST
Created
attachment 385588
[details]
Patch
Jonathan Bedard
Comment 4
2019-12-13 07:39:55 PST
Comment on
attachment 385588
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=385588&action=review
> Tools/Scripts/prepare-ChangeLog:1705 > + my $currentFunction = join('.', (@currentScopes, ($mode eq 'class' and !$staticOrContructorSeen) ? "prototype" : "", @currentIdentifiers));
This seems unrelated to the async changes, what's going on here?
Devin Rousso
Comment 5
2019-12-13 10:47:29 PST
Comment on
attachment 385588
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=385588&action=review
>> Tools/Scripts/prepare-ChangeLog:1705 >> + my $currentFunction = join('.', (@currentScopes, ($mode eq 'class' and !$staticOrContructorSeen) ? "prototype" : "", @currentIdentifiers)); > > This seems unrelated to the async changes, what's going on here?
This prevents the `static async staticAsync` member function from being shown as `AsyncFuncClass.prototype.async staticAsync`, which is not accurate since the `static` means that it's not added to the `prototype`.
WebKit Commit Bot
Comment 6
2019-12-13 11:31:24 PST
Comment on
attachment 385588
[details]
Patch Clearing flags on attachment: 385588 Committed
r253490
: <
https://trac.webkit.org/changeset/253490
>
WebKit Commit Bot
Comment 7
2019-12-13 11:31:26 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2019-12-13 11:32:22 PST
<
rdar://problem/57919141
>
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