Bug 1406453 fix http/ws regex r=kmag

MozReview-Commit-ID: CWPipPGV9vG

--HG--
extra : rebase_source : 08d6bf12864363fb965e6fae574a2d4059601d85
This commit is contained in:
Shane Caraveo 2017-11-15 13:48:30 -08:00
Родитель 82c5935b9b
Коммит 90fbe28861
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -20,7 +20,7 @@ XPCOMUtils.defineLazyModuleGetter(this, "WebRequestCommon",
// Websockets will get handled via httpchannel notifications same as http
// requests, treat them the same as http in ContentPolicy.
const IS_HTTP = /^https?:|wss?:/;
const IS_HTTP = /^(?:http|ws)s?:/;
var ContentPolicy = {
_classDescription: "WebRequest content policy",