Bug 1447341 - include blob, moz-extension and page-icon in list of known schemes, r?hurley draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 17 Apr 2018 15:41:40 +0100
changeset 784348 a2b76e9b7c1ac1195a1977ff928b66aa6955cab9
parent 784347 71a7b72165b939ee7a3e386e3e27c7dc2c9161ef
child 784349 3e207bbdc9d0ed8d6aa9606a89616fa1e76ea755
push id106899
push userbmo:gijskruitbosch+bugs@gmail.com
push dateWed, 18 Apr 2018 12:35:51 +0000
reviewershurley
bugs1447341
milestone61.0a1
Bug 1447341 - include blob, moz-extension and page-icon in list of known schemes, r?hurley MozReview-Commit-ID: HYiBCJ868nC
netwerk/base/nsIOService.h
--- a/netwerk/base/nsIOService.h
+++ b/netwerk/base/nsIOService.h
@@ -27,17 +27,18 @@
 
 // We don't want to expose this observer topic.
 // Intended internal use only for remoting offline/inline events.
 // See Bug 552829
 #define NS_IPC_IOSERVICE_SET_OFFLINE_TOPIC "ipc:network:set-offline"
 #define NS_IPC_IOSERVICE_SET_CONNECTIVITY_TOPIC "ipc:network:set-connectivity"
 
 static const char gScheme[][sizeof("moz-safe-about")] =
-    {"chrome", "file", "http", "https", "jar", "data", "about", "moz-safe-about", "resource"};
+    {"chrome", "file", "http", "https", "jar", "data", "about", "moz-safe-about", "resource",
+     "moz-extension", "page-icon", "blob"};
 
 class nsINetworkLinkService;
 class nsIPrefBranch;
 class nsIProtocolProxyService2;
 class nsIProxyInfo;
 class nsPISocketTransportService;
 
 namespace mozilla {