WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
198864
Optimize `resolve` method lookup in Promise static methods
https://bugs.webkit.org/show_bug.cgi?id=198864
Summary
Optimize `resolve` method lookup in Promise static methods
Alexey Shvayka
Reported
2019-06-14 13:18:09 PDT
ECMA262:
https://github.com/tc39/ecma262/pull/1506
Test262: # Promise.all
https://test262.report/browse/built-ins/Promise/all/invoke-resolve-get-error-close.js
https://test262.report/browse/built-ins/Promise/all/invoke-resolve-get-once-multiple-calls.js
https://test262.report/browse/built-ins/Promise/all/invoke-resolve-get-once-no-calls.js
# Promise.allSettled
https://test262.report/browse/built-ins/Promise/allSettled/invoke-resolve-get-error-close.js
https://test262.report/browse/built-ins/Promise/allSettled/invoke-resolve-get-once-multiple-calls.js
https://test262.report/browse/built-ins/Promise/allSettled/invoke-resolve-get-once-no-calls.js
# Promise.race
https://test262.report/browse/built-ins/Promise/race/invoke-resolve-get-error-close.js
https://test262.report/browse/built-ins/Promise/race/invoke-resolve-get-once-multiple-calls.js
https://test262.report/browse/built-ins/Promise/race/invoke-resolve-get-once-no-calls.js
Attachments
Patch
(7.69 KB, patch)
2019-06-14 13:23 PDT
,
Alexey Shvayka
no flags
Details
Formatted Diff
Diff
Patch
(7.57 KB, patch)
2019-06-19 15:45 PDT
,
Alexey Shvayka
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Shvayka
Comment 1
2019-06-14 13:23:37 PDT
Created
attachment 372138
[details]
Patch
Yusuke Suzuki
Comment 2
2019-06-19 13:01:51 PDT
Comment on
attachment 372138
[details]
Patch r=me
WebKit Commit Bot
Comment 3
2019-06-19 13:03:57 PDT
Comment on
attachment 372138
[details]
Patch Rejecting
attachment 372138
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 372138, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Logging in as
commit-queue@webkit.org
... Fetching:
https://bugs.webkit.org/attachment.cgi?id=372138&action=edit
Fetching:
https://bugs.webkit.org/show_bug.cgi?id=198864
&ctype=xml&excludefield=attachmentdata Processing 1 patch from 1 bug. Processing patch 372138 from
bug 198864
. Fetching:
https://bugs.webkit.org/attachment.cgi?id=372138
Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Yusuke Suzuki']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 4 diffs from patch file(s). patching file JSTests/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file JSTests/test262/expectations.yaml Hunk #1 FAILED at 1080. Hunk #2 succeeded at 1110 (offset 18 lines). 1 out of 2 hunks FAILED -- saving rejects to file JSTests/test262/expectations.yaml.rej patching file Source/JavaScriptCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/JavaScriptCore/builtins/PromiseConstructor.js Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Yusuke Suzuki']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output:
https://webkit-queues.webkit.org/results/12523463
Alexey Shvayka
Comment 4
2019-06-19 15:45:13 PDT
Created
attachment 372496
[details]
Patch Fix merge conflicts.
Joseph Pecoraro
Comment 5
2019-06-19 16:17:51 PDT
Nice!
Yusuke Suzuki
Comment 6
2019-06-19 16:55:09 PDT
Comment on
attachment 372496
[details]
Patch r=me
WebKit Commit Bot
Comment 7
2019-06-19 17:38:25 PDT
Comment on
attachment 372496
[details]
Patch Clearing flags on attachment: 372496 Committed
r246620
: <
https://trac.webkit.org/changeset/246620
>
WebKit Commit Bot
Comment 8
2019-06-19 17:38:27 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2019-06-19 17:39:20 PDT
<
rdar://problem/51922037
>
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