Title: [226200] trunk/Source/WebCore
Revision
226200
Author
[email protected]
Date
2017-12-20 13:51:38 -0800 (Wed, 20 Dec 2017)

Log Message

Do not search for service worker registration in case of non HTTP navigation loads
https://bugs.webkit.org/show_bug.cgi?id=180976
<rdar://problem/36157322>

Unreviewed.

Patch by Youenn Fablet <[email protected]> on 2017-12-20

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::startLoadingMainResource): Removing unneeded spaces.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (226199 => 226200)


--- trunk/Source/WebCore/ChangeLog	2017-12-20 21:38:50 UTC (rev 226199)
+++ trunk/Source/WebCore/ChangeLog	2017-12-20 21:51:38 UTC (rev 226200)
@@ -1,3 +1,14 @@
+2017-12-20  Youenn Fablet  <[email protected]>
+
+        Do not search for service worker registration in case of non HTTP navigation loads
+        https://bugs.webkit.org/show_bug.cgi?id=180976
+        <rdar://problem/36157322>
+
+        Unreviewed.
+
+        * loader/DocumentLoader.cpp:
+        (WebCore::DocumentLoader::startLoadingMainResource): Removing unneeded spaces.
+
 2017-12-20  Alex Christensen  <[email protected]>
 
         Remove some SVN files accidentally committed with r226160

Modified: trunk/Source/WebCore/loader/DocumentLoader.cpp (226199 => 226200)


--- trunk/Source/WebCore/loader/DocumentLoader.cpp	2017-12-20 21:38:50 UTC (rev 226199)
+++ trunk/Source/WebCore/loader/DocumentLoader.cpp	2017-12-20 21:51:38 UTC (rev 226200)
@@ -1570,7 +1570,7 @@
 
 #if ENABLE(SERVICE_WORKER)
         // FIXME: Implement local URL interception by getting the service worker of the parent.
-        auto tryLoadingThroughServiceWorker = !frameLoader()->isReloadingFromOrigin() && m_frame->page() && RuntimeEnabledFeatures::sharedFeatures().serviceWorkerEnabled()            && SchemeRegistry::canServiceWorkersHandleURLScheme(request.url().protocol().toStringWithoutCopying());
+        auto tryLoadingThroughServiceWorker = !frameLoader()->isReloadingFromOrigin() && m_frame->page() && RuntimeEnabledFeatures::sharedFeatures().serviceWorkerEnabled() && SchemeRegistry::canServiceWorkersHandleURLScheme(request.url().protocol().toStringWithoutCopying());
         if (tryLoadingThroughServiceWorker) {
             auto origin = (!m_frame->isMainFrame() && m_frame->document()) ? makeRef(m_frame->document()->topOrigin()) : SecurityOrigin::create(request.url());
             auto& connection = ServiceWorkerProvider::singleton().serviceWorkerConnectionForSession(m_frame->page()->sessionID());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to