зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1406453 fix http/ws regex r=kmag
MozReview-Commit-ID: CWPipPGV9vG --HG-- extra : rebase_source : 08d6bf12864363fb965e6fae574a2d4059601d85
This commit is contained in:
Родитель
82c5935b9b
Коммит
90fbe28861
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче