Conversation
| extras += [descriptor.path, descriptor.bindingPath] | ||
| if current_name != descriptor.ifaceName: | ||
| extras += [descriptor.path, descriptor.bindingPath] |
There was a problem hiding this comment.
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! |
jdm
left a comment
There was a problem hiding this comment.
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 <me@iter.ca>
Signed-off-by: syvb <me@iter.ca>
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 |
|
@syvb, do you plan to continue hacking this, given that we revert this due to flakiness? Do you need any help at it? |
|
@sagudev I think the flakiness issue stems from the fact that I didn't implement AbortSignal for every DOM interface that accepts it. So e.g. passing an AbortSignal to I'm not very familiar with Servo's network stack and how request aborting could be integrated into that, which would be necessary to get AbortController working without any test flakes. |
This sounds like we could solve by fixing the tests, although I am not sure what would wpt feel about that.
What if we just implement dummy abort controller intefaces?
There is servo/components/script/fetch.rs Lines 55 to 60 in db4cba4 but I'm not very familiar with Servo's network stack either. cc @gterzian |
Yes that would be a place to start looking if you want to cancel fetches. |
|
Was this one reverted after the merge? |
Yes #32243 |
Adds basic support for
AbortController/AbortSignal, and implements thesignalparameter toaddEventListenerto support cancelling event listeners withAbortSignal.This PR doesn't implement
AbortSignaldependent signals or fetch cancellation../mach build -ddoes not report any errors./mach test-tidydoes not report any errors