Bug 1447341 - include blob, moz-extension and page-icon in list of known schemes, r=nwgh
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 17 Apr 2018 15:41:40 +0100
changeset 414274 8b951bb045214b011120d5d6f3a20991dc99d021
parent 414273 388d0887f62b561b10608a2e7ffb8581e6077a15
child 414275 5d965c4d39f512e6ec78df74938d1ef2ef1a0030
push id33862
push userdluca@mozilla.com
push dateWed, 18 Apr 2018 16:55:46 +0000
treeherdermozilla-central@697d0f7076eb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnwgh
bugs1447341
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1447341 - include blob, moz-extension and page-icon in list of known schemes, r=nwgh 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 {