зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1735683 - Intermittent dom/security/test/https-only/browser_hsts_host.js | No header set. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D134941
This commit is contained in:
Родитель
990e9d9558
Коммит
e6f780ebd5
|
@ -75,6 +75,11 @@ function observer(subject, topic, state) {
|
|||
|
||||
function onExamineResponse(subject) {
|
||||
let channel = subject.QueryInterface(Ci.nsIHttpChannel);
|
||||
// If message was already read or is not related to "example.com",
|
||||
// don't examine it.
|
||||
if (!channel.URI.spec.includes("example.com") || readMessage) {
|
||||
return;
|
||||
}
|
||||
info("onExamineResponse with " + channel.URI.spec);
|
||||
if (channel.URI.spec.includes("reset")) {
|
||||
try {
|
||||
|
|
Загрузка…
Ссылка в новой задаче