Closed Bug 1938561 Opened 2 months ago Closed 2 months ago

Perma Late beta dom/security/test/https-first/browser_redirect_exemption_clearing.js | Site after redirect should be upgraded - Got "http", expected "https" - when Gecko 135 switches to Late Beta on 2025-01-17

Categories

(Core :: DOM: Security, defect)

defect

Tracking

()

VERIFIED FIXED
135 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox133 --- unaffected
firefox134 --- unaffected
firefox135 + verified

People

(Reporter: chorotan, Assigned: maltejur)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [domsecurity-active])

Attachments

(1 file)

[Tracking Requested - why for this release]:

[task 2024-12-20T12:13:34.344Z] 12:13:34     INFO - TEST-START | dom/security/test/https-first/browser_redirect_exemption_clearing.js
[task 2024-12-20T12:13:35.195Z] 12:13:35     INFO - TEST-INFO | started process screentopng
[task 2024-12-20T12:13:35.456Z] 12:13:35     INFO - TEST-INFO | screentopng: exit 0
[task 2024-12-20T12:13:35.456Z] 12:13:35     INFO - Buffered messages logged at 12:13:34
[task 2024-12-20T12:13:35.456Z] 12:13:35     INFO - Entering test bound test_redirect_exemption_clearing
[task 2024-12-20T12:13:35.456Z] 12:13:35     INFO - Buffered messages logged at 12:13:35
[task 2024-12-20T12:13:35.456Z] 12:13:35     INFO - Browser stopped loading on http://example.org/browser/dom/security/test/https-first/file_redirect_exemption_clearing.sjs
[task 2024-12-20T12:13:35.456Z] 12:13:35     INFO - Buffered messages finished
[task 2024-12-20T12:13:35.456Z] 12:13:35     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/https-first/browser_redirect_exemption_clearing.js | Site after redirect should be upgraded - Got "http", expected "https"
[task 2024-12-20T12:13:35.457Z] 12:13:35     INFO - Stack trace:
[task 2024-12-20T12:13:35.457Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:test_is:1627
[task 2024-12-20T12:13:35.457Z] 12:13:35     INFO - chrome://mochitests/content/browser/dom/security/test/https-first/browser_redirect_exemption_clearing.js:test_redirect_exemption_clearing/<:24
[task 2024-12-20T12:13:35.457Z] 12:13:35     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2024-12-20T12:13:35.458Z] 12:13:35     INFO - chrome://mochitests/content/browser/dom/security/test/https-first/browser_redirect_exemption_clearing.js:test_redirect_exemption_clearing:15
[task 2024-12-20T12:13:35.458Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2024-12-20T12:13:35.459Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-12-20T12:13:35.459Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-12-20T12:13:35.459Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-12-20T12:13:35.460Z] 12:13:35     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-12-20T12:13:35.460Z] 12:13:35     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-12-20T12:13:35.462Z] 12:13:35     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/https-first/browser_redirect_exemption_clearing.js | An automatic exception should have been added for the source site - Got +0, expected 10
[task 2024-12-20T12:13:35.462Z] 12:13:35     INFO - Stack trace:
[task 2024-12-20T12:13:35.462Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:test_is:1627
[task 2024-12-20T12:13:35.462Z] 12:13:35     INFO - chrome://mochitests/content/browser/dom/security/test/https-first/browser_redirect_exemption_clearing.js:test_redirect_exemption_clearing/<:36
[task 2024-12-20T12:13:35.462Z] 12:13:35     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2024-12-20T12:13:35.463Z] 12:13:35     INFO - chrome://mochitests/content/browser/dom/security/test/https-first/browser_redirect_exemption_clearing.js:test_redirect_exemption_clearing:15
[task 2024-12-20T12:13:35.463Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2024-12-20T12:13:35.463Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-12-20T12:13:35.463Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-12-20T12:13:35.463Z] 12:13:35     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-12-20T12:13:35.463Z] 12:13:35     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-12-20T12:13:35.463Z] 12:13:35     INFO - Leaving test bound test_redirect_exemption_clearing
[task 2024-12-20T12:13:35.794Z] 12:13:35     INFO - GECKO(5036) | MEMORY STAT | vsize 120598346MB | residentFast 1236MB
[task 2024-12-20T12:13:35.795Z] 12:13:35     INFO - TEST-OK | dom/security/test/https-first/browser_redirect_exemption_clearing.js | took 1455ms
[task 2024-12-20T12:13:35.873Z] 12:13:35     INFO - checking window state
Flags: needinfo?(maltejur)
Summary: Perma Late beta dom/security/test/https-first/browser_redirect_exemption_clearing.js | Site after redirect should be upgraded - Got "http", expected "https" - when Gecko 135 merges to beta on 2025-01-06 → Perma Late beta dom/security/test/https-first/browser_redirect_exemption_clearing.js | Site after redirect should be upgraded - Got "http", expected "https" - when Gecko 135 switches to Late Beta on 2025-01-17

Otherwise this test will fail when getting to late beta where HTTPS-First is
still disabled.

Assignee: nobody → maltejur
Status: NEW → ASSIGNED
Flags: needinfo?(maltejur)

The patch works in today's beta simulation.

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [domsecurity-active]

Malte isn't working today and neither am I. Can a sheriff land and uplift this for us?

Flags: needinfo?(chorotan)
Flags: needinfo?(chorotan)
Pushed by rvandermeulen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0bb5163fab25 Explicitly enable HTTPS-First in browser_redirect_exemption_clearing.js r=freddyb
Status: REOPENED → RESOLVED
Closed: 2 months ago2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch

Verified fixed in today's late beta simulation

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: