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 783633 19e274628b12dd295c33ff87aa12b49e74c835bd
parent 783632 d4cd1293182635d341f0c91409a11966aaa33259
child 783634 437e50f72d5a9afd99cd2207867c9062cc7c4c0a
push id106746
push userbmo:gijskruitbosch+bugs@gmail.com
push dateTue, 17 Apr 2018 15:04:52 +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 {