Closed Bug 1899711 Opened 3 months ago Closed 1 month ago

After each authentication attempt the number of authRequired events received increases

Categories

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

defect
Points:
3

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: jdescottes, Assigned: Sasha)

Details

(Whiteboard: [webdriver:m12][wptsync upstream][webdriver:relnote])

Attachments

(2 files)

STRs:

  • subscribe to network.authRequired
  • perform a request to a URL using http auth
  • submit wrong credentials
  • (repeat that step a few times)

ER: For each attempt, we should get a single authRequired event
AR: After each attempt the number of events received increases by 1

We never "remove" the AuthListener we setup on the original request, and when the network event for the authentication attempt request is created, we setup another AuthListener here. When we perform the next authentication attempt, both listeners will be triggered.

Points: --- → 3
Priority: -- → P3
Whiteboard: [webdriver:backlog]
Whiteboard: [webdriver:backlog] → [webdriver:m12]

The severity field is not set for this bug.
:whimboo, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(hskupin)
Severity: -- → S3
Flags: needinfo?(hskupin)
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2f8b064fac6c
Set only one NetworkAuthListener per channel. r=devtools-reviewers,jdescottes
https://hg.mozilla.org/integration/autoland/rev/822828ed7732
[wdspec] Add a test for the correct amount of "network.authRequired" events in case of wrong credentials. r=webdriver-reviewers,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47386 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m12] → [webdriver:m12], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
Whiteboard: [webdriver:m12], [wptsync upstream] → [webdriver:m12][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: