Bug 1557244 - Inherit controllers in parent-intercept mode r=asuth

Differential Revision: https://phabricator.services.mozilla.com/D38686

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Perry Jiang 2019-07-26 18:40:05 +00:00
Родитель 5cfd14bcfe
Коммит bdba1dc9d2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -141,7 +141,7 @@ IPCResult ClientSourceParent::RecvInheritController(
// In parent-side intercept mode we must tell the parent-side SWM about
// this controller inheritence. In legacy client-side mode this is done
// from the ClientSource instead.
if (!ServiceWorkerParentInterceptEnabled()) {
if (ServiceWorkerParentInterceptEnabled()) {
nsCOMPtr<nsIRunnable> r = NS_NewRunnableFunction(
"ClientSourceParent::RecvInheritController",
[clientInfo = mClientInfo, controller = mController.ref()]() {