Skip to content
Permalink
Browse files

Bug 1041339 - ServiceWorkers: Update implementation based on clarific…

…ation of force-refresh. r=nsm
  • Loading branch information...
rmottola committed Aug 3, 2019
1 parent 14b0a15 commit 484675660bf0e0a14a65c9f155ecffdd0ba9f9c3
Showing with 0 additions and 1 deletion.
  1. +0 −1 dom/base/nsDocument.cpp
@@ -4767,7 +4767,6 @@ nsDocument::SetScriptGlobalObject(nsIScriptGlobalObject *aScriptGlobalObject)
nsLoadFlags loadFlags = 0;
channel->GetLoadFlags(&loadFlags);
// If we are shift-reloaded, don't associate with a ServiceWorker.
// FIXME(nsm): Bug 1041339.
if (loadFlags & nsIRequest::LOAD_BYPASS_CACHE) {
NS_WARNING("Page was shift reloaded, skipping ServiceWorker control");
return;

0 comments on commit 4846756

Please sign in to comment.
You can’t perform that action at this time.