-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
script: implement AbortController #31361
Conversation
extras += [descriptor.path, descriptor.bindingPath] | ||
if current_name != descriptor.ifaceName: | ||
extras += [descriptor.path, descriptor.bindingPath] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes a bug in binding generation - AbortSignal
both implements EventTarget
and is part of AddEventListenerOptions
in EventTarget
. This resulted in the binding generation trying to make EventTarget
import itself.
Sorry about the delay here. I've started reviewing these changes and I'll try to finish it up later today! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got sick in the meantime, so apologies for the additional delay. This looks good!
859a637
to
6fba319
Compare
It looks like this has modified the behavior of some tests that use the BFCache? |
658d888
to
e734047
Compare
🔨 Triggering try run (#8530709733) for Linux WPT |
I just updated the expectations so that the tests should pass now. bors try try run in my repo, since I can't run try here: https://github.com/syvb/servo/actions/runs/8531001484 |
Test results for linux-wpt-layout-2020 from try job (#8530709733): Flaky unexpected result (16)
Stable unexpected results that are known to be intermittent (15)
Stable unexpected results (2)
|
|
Signed-off-by: syvb <[email protected]>
Signed-off-by: syvb <[email protected]>
721a792
to
ab46078
Compare
I rebased the PR on |
🔨 Triggering try run (#8906780806) for Linux WPT |
Test results for linux-wpt-layout-2020 from try job (#8906780806): Flaky unexpected result (19)
Stable unexpected results that are known to be intermittent (17)
Stable unexpected results (1)
|
|
That failure is flakey, I created an issue for it: #32213 |
Adds basic support for
AbortController
/AbortSignal
, and implements thesignal
parameter toaddEventListener
to support cancelling event listeners withAbortSignal
.This PR doesn't implement
AbortSignal
dependent signals or fetch cancellation../mach build -d
does not report any errors./mach test-tidy
does not report any errors