mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1395141 - RequestInit dictionary must have AbortSignal as optional, r=bkelly
This commit is contained in:
parent
4c5ae9e764
commit
1df07a3979
@ -449,7 +449,7 @@ Request::Constructor(const GlobalObject& aGlobal,
|
||||
}
|
||||
|
||||
if (aInit.mSignal.WasPassed()) {
|
||||
signal = &aInit.mSignal.Value();
|
||||
signal = aInit.mSignal.Value();
|
||||
}
|
||||
|
||||
if (NS_IsMainThread()) {
|
||||
|
@ -53,7 +53,7 @@ dictionary RequestInit {
|
||||
DOMString integrity;
|
||||
|
||||
[Func="AbortController::IsEnabledInFetch"]
|
||||
AbortSignal signal;
|
||||
AbortSignal? signal;
|
||||
|
||||
[Func="FetchObserver::IsEnabled"]
|
||||
ObserverCallback observe;
|
||||
|
@ -1,8 +1,5 @@
|
||||
[general-serviceworker.https.html]
|
||||
type: testharness
|
||||
[ServiceWorkerGlobalScope: Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[ServiceWorkerGlobalScope: Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1,27 +1,18 @@
|
||||
[general.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Window: Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[Window: Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
|
||||
[Window: Readable stream synchronously cancels with AbortError if aborted before reading]
|
||||
expected: FAIL
|
||||
|
||||
[DedicatedWorkerGlobalScope: Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[DedicatedWorkerGlobalScope: Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
|
||||
[DedicatedWorkerGlobalScope: Readable stream synchronously cancels with AbortError if aborted before reading]
|
||||
expected: FAIL
|
||||
|
||||
[SharedWorkerGlobalScope: Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[SharedWorkerGlobalScope: Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user