diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-07-18 08:24:24 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-07-18 08:24:24 +0200 |
commit | fc61780b35af913801d72086456f493f63197da6 (patch) | |
tree | f85891288a7bd988da9f0f15ae64e5c63f00d493 /dom/notification/Notification.cpp | |
parent | 69f7f9e5f1475891ce11cc4f431692f965b0cd30 (diff) | |
parent | 50d3e596bbe89c95615f96eb71f6bc5be737a1db (diff) | |
download | UXP-2018.07.18.tar UXP-2018.07.18.tar.gz UXP-2018.07.18.tar.lz UXP-2018.07.18.tar.xz UXP-2018.07.18.zip |
Merge commit '50d3e596bbe89c95615f96eb71f6bc5be737a1db' into Basilisk-releasev2018.07.18
# Conflicts:
# browser/app/profile/firefox.js
# browser/components/preferences/jar.mn
Diffstat (limited to 'dom/notification/Notification.cpp')
-rw-r--r-- | dom/notification/Notification.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/notification/Notification.cpp b/dom/notification/Notification.cpp index 9c0ce2f18..1dd5724e4 100644 --- a/dom/notification/Notification.cpp +++ b/dom/notification/Notification.cpp @@ -1881,7 +1881,7 @@ Notification::GetPermission(nsIGlobalObject* aGlobal, ErrorResult& aRv) MOZ_ASSERT(worker); RefPtr<GetPermissionRunnable> r = new GetPermissionRunnable(worker); - r->Dispatch(aRv); + r->Dispatch(Terminating, aRv); if (aRv.Failed()) { return NotificationPermission::Denied; } @@ -2484,7 +2484,7 @@ NotificationWorkerHolder::Notify(Status aStatus) RefPtr<CloseNotificationRunnable> r = new CloseNotificationRunnable(kungFuDeathGrip); ErrorResult rv; - r->Dispatch(rv); + r->Dispatch(Killing, rv); // XXXbz I'm told throwing and returning false from here is pointless (and // also that doing sync stuff from here is really weird), so I guess we just // suppress the exception on rv, if any. @@ -2627,7 +2627,7 @@ Notification::ShowPersistentNotification(JSContext* aCx, worker->AssertIsOnWorkerThread(); RefPtr<CheckLoadRunnable> loadChecker = new CheckLoadRunnable(worker, NS_ConvertUTF16toUTF8(aScope)); - loadChecker->Dispatch(aRv); + loadChecker->Dispatch(Terminating, aRv); if (aRv.Failed()) { return nullptr; } |