WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
162066
Web Inspector: make Object.awaitEvent synchronously add an event listener
https://bugs.webkit.org/show_bug.cgi?id=162066
Summary
Web Inspector: make Object.awaitEvent synchronously add an event listener
Devin Rousso
Reported
2016-09-16 10:40:06 PDT
From
http://webkit.org/b/161634
:
> Currently, Object.awaitEvent adds a listener inside the promise constructor > function argument, which is evaluated on the next tick. This means that if > two awaitEvents are chained together, and the event we expect is dispatched > synchronously, then the second event will likely be dispatched before the > Promise is evaluated and adds its singleFireEventListener.
Attachments
Patch
(2.40 KB, patch)
2016-09-16 10:46 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-09-16 10:40:26 PDT
<
rdar://problem/28339804
>
Devin Rousso
Comment 2
2016-09-16 10:46:01 PDT
Created
attachment 289074
[details]
Patch
Blaze Burg
Comment 3
2016-09-16 13:29:10 PDT
Comment on
attachment 289074
[details]
Patch r=me
WebKit Commit Bot
Comment 4
2016-09-16 13:51:26 PDT
Comment on
attachment 289074
[details]
Patch Clearing flags on attachment: 289074 Committed
r206046
: <
http://trac.webkit.org/changeset/206046
>
WebKit Commit Bot
Comment 5
2016-09-16 13:51:29 PDT
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