Closed Bug 1722489 Opened 4 years ago Closed 4 years ago

Evaluate HSTS before https-only in NS_ShouldSecureUpgrade

Categories

(Core :: Networking, task, P1)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: t.yavor, Assigned: t.yavor)

References

Details

Attachments

(3 obsolete files)

We need to swap some lines to proccess hsts request correctly in case https-only mode is enabled. So that bug is to build the basis for an upcoming patch of https-only mode.

Summary: Rearrange `NS_ShouldSecureUpgrade` for hsts requests → Rearrange NS_ShouldSecureUpgrade for hsts requests
Severity: -- → S4
Component: DOM: Security → Networking
Priority: -- → P1
Summary: Rearrange NS_ShouldSecureUpgrade for hsts requests → Evaluate HSTS before https-only in NS_ShouldSecureUpgrade
Depends on: 1722895
Attachment #9233460 - Attachment is obsolete: true
Depends on: 1723996
Attachment #9242285 - Attachment is obsolete: true
Pushed by mozilla@christophkerschbaumer.com: https://hg.mozilla.org/integration/autoland/rev/dbffee5cbf0d Evaluate HSTS before https-only in NS_ShouldSecureUpgrade. r=ckerschb,necko-reviewers,kershaw

Backed out for causing failures on browser_iframe_test.js

[task 2021-10-05T21:16:38.076Z] 21:16:38     INFO - Console message: [JavaScript Error: "Blocked loading mixed active content http://example.com/browser/dom/security/test/https-only/file_iframe_test.sjs?com-test1.1" {file: "https://example.com/browser/dom/security/test/https-only/file_iframe_test.sjs?test1.1" line: 0}]
[task 2021-10-05T21:16:38.077Z] 21:16:38     INFO - Console message: [JavaScript Error: "Blocked loading mixed active content http://example.org/browser/dom/security/test/https-only/file_iframe_test.sjs?org-test1.1" {file: "https://example.com/browser/dom/security/test/https-only/file_iframe_test.sjs?test1.1" line: 0}]
[task 2021-10-05T21:16:38.077Z] 21:16:38     INFO - Buffered messages logged at 21:15:15
[task 2021-10-05T21:16:38.078Z] 21:16:38     INFO - Console message: [JavaScript Warning: "telemetry.state_file_read_errors - Unknown scalar."]
[task 2021-10-05T21:16:38.078Z] 21:16:38     INFO - Console message: [JavaScript Warning: "telemetry.generated_new_client_id - Unknown scalar."]
[task 2021-10-05T21:16:38.078Z] 21:16:38     INFO - Buffered messages finished
[task 2021-10-05T21:16:38.079Z] 21:16:38     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/https-only/browser_iframe_test.js | Test timed out - 
[task 2021-10-05T21:16:38.079Z] 21:16:38     INFO - GECKO(688) | MEMORY STAT | vsize 2104199MB | vsizeMaxContiguous 65449867MB | residentFast 257MB | heapAllocated 85MB
[task 2021-10-05T21:16:38.080Z] 21:16:38     INFO - TEST-OK | dom/security/test/https-only/browser_iframe_test.js | took 90033ms
[task 2021-10-05T21:16:38.080Z] 21:16:38     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-05T21:16:38.081Z] 21:16:38     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/https-only/browser_iframe_test.js | Found a tab after previous test timed out: https://example.com/browser/dom/security/test/https-only/file_iframe_test.sjs?test1.1 - 
[task 2021-10-05T21:16:38.082Z] 21:16:38     INFO - GECKO(688) | [Child 8444: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 2127f447400 == 2 [pid = 8444] [id = 5] [url = about:blank]
[task 2021-10-05T21:16:38.082Z] 21:16:38     INFO - GECKO(688) | [Child 8444: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 2127f448c00 == 1 [pid = 8444] [id = 6] [url = about:blank]
[task 2021-10-05T21:16:38.082Z] 21:16:38     INFO - GECKO(688) | [Child 6540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1fe04eb2c00 == 1 [pid = 6540] [id = 1]
[task 2021-10-05T21:16:38.083Z] 21:16:38     INFO - GECKO(688) | [Child 6540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1fe04ec23c0) [pid = 6540] [serial = 5] [outer = 0]
[task 2021-10-05T21:16:38.084Z] 21:16:38     INFO - GECKO(688) | [Child 6540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1fe04eb8c00) [pid = 6540] [serial = 6] [outer = 1fe04ec23c0]
[task 2021-10-05T21:16:38.091Z] 21:16:38     INFO - checking window state
Flags: needinfo?(lyavor)

I will fix it

Flags: needinfo?(lyavor)
Pushed by mozilla@christophkerschbaumer.com: https://hg.mozilla.org/integration/autoland/rev/c01c20b5f176 Evaluate HSTS before https-only in NS_ShouldSecureUpgrade. r=ckerschb,necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Regressions: 1756588
Attachment #9242286 - Attachment is obsolete: true
See Also: → 1906590
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: