mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1189675 - Make all ServiceWorker events non cancelable. r=catalinb
Update web-platform-tests expected data
This commit is contained in:
parent
9cb602ff2d
commit
c394603e48
@ -1903,7 +1903,7 @@ LifecycleEventWorkerRunnable::DispatchLifecycleEvent(JSContext* aCx, WorkerPriva
|
||||
// FIXME(nsm): Bug 982787 pass previous active worker.
|
||||
ExtendableEventInit init;
|
||||
init.mBubbles = false;
|
||||
init.mCancelable = true;
|
||||
init.mCancelable = false;
|
||||
event = ExtendableEvent::Constructor(target, mEventName, init);
|
||||
} else {
|
||||
MOZ_CRASH("Unexpected lifecycle event");
|
||||
@ -2304,7 +2304,7 @@ public:
|
||||
// FIXME(nsm): Bug 1149195.
|
||||
// pei.mData.Construct(mData);
|
||||
pei.mBubbles = false;
|
||||
pei.mCancelable = true;
|
||||
pei.mCancelable = false;
|
||||
|
||||
ErrorResult result;
|
||||
nsRefPtr<PushEvent> event =
|
||||
@ -2503,7 +2503,7 @@ public:
|
||||
NotificationEventInit nei;
|
||||
nei.mNotification = notification;
|
||||
nei.mBubbles = false;
|
||||
nei.mCancelable = true;
|
||||
nei.mCancelable = false;
|
||||
|
||||
nsRefPtr<NotificationEvent> event =
|
||||
NotificationEvent::Constructor(target, NS_LITERAL_STRING("notificationclick"), nei, result);
|
||||
@ -3818,7 +3818,7 @@ private:
|
||||
init.mRequest.Construct();
|
||||
init.mRequest.Value() = request;
|
||||
init.mBubbles = false;
|
||||
init.mCancelable = true;
|
||||
init.mCancelable = false;
|
||||
init.mIsReload.Construct(mIsReload);
|
||||
nsRefPtr<FetchEvent> event =
|
||||
FetchEvent::Constructor(globalObj, NS_LITERAL_STRING("fetch"), init, result);
|
||||
|
@ -1,6 +0,0 @@
|
||||
[install-event-type.https.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[install event type]
|
||||
expected: FAIL
|
||||
|
Loading…
Reference in New Issue
Block a user