Closed Bug 1980137 Opened 5 months ago Closed 4 months ago

Basic auth credentials are stripped from the URL in the navigationCommitted event

Categories

(Remote Protocol :: WebDriver BiDi, defect, P3)

defect

Tracking

(firefox143 fixed)

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: hbenl, Assigned: hbenl)

References

Details

(Whiteboard: [webdriver:m17], [webdriver:external], [wptsync upstream], [webdriver:relnote])

Attachments

(2 files)

When navigating to a URL with basic auth credentials (e.g. https://foo:bar@example.org/), those are stripped from the URL in the browsingContext.navigationCommitted event but they appear in browsingContext.navigationStarted, network.beforeRequestSent, network.responseStarted, network.responseCompleted, browsingContext.domContentLoaded and browsingContext.load events so I guess they should also be present on the browsingContext.navigationCommitted event.

Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m17]
Assignee: nobody → hbenl
Status: NEW → ASSIGNED
Attachment #9505170 - Attachment description: WIP: Bug 1980137 - [bidi] Use document.URL in the browsingContext.navigationCommitted event. → Bug 1980137 - [bidi] Use document.URL in the browsingContext.navigationCommitted event.
Pushed by hbenl@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4b96e6c92459 https://hg.mozilla.org/integration/autoland/rev/97bfcfefaacc [bidi] Use document.URL in the browsingContext.navigationCommitted event. r=webdriver-reviewers,jdescottes https://github.com/mozilla-firefox/firefox/commit/536e82b2f123 https://hg.mozilla.org/integration/autoland/rev/de2c0b22ba64 [wdspec] Add test for the "browsingContext.navigationCommitted" event to contain basic auth credentials in the URL. r=jdescottes,webdriver-reviewers
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/54173 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m17] → [webdriver:m17], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
Points: 2 → ---
Whiteboard: [webdriver:m17], [wptsync upstream] → [webdriver:m17], [webdriver:external], [wptsync upstream]
Whiteboard: [webdriver:m17], [webdriver:external], [wptsync upstream] → [webdriver:m17], [webdriver:external], [wptsync upstream], [webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: