Closed Bug 1898565 Opened 2 months ago Closed 2 months ago

Add missing quotes in error message for invalid header value in network.continueRequest

Categories

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

defect
Points:
1

Tracking

(firefox128 fixed)

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m11])

Attachments

(1 file)

I introduced slightly inconsistent error messages between invalid header names and values:

`Expected "header" name to be a valid HTTP token, got ${deserializedHeader[0]}`
`Expected header value to be a valid header value, got ${deserializedHeader[1]}`

We are missing " around header in the second message, it would be better to fix it since Puppeteer will use the error message in their implemenation to detect header issues.

Blocks: 1849103
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2e388b7f6f91
[bidi] Add quotes in message for invalid header value in network.continueRequest r=webdriver-reviewers,jgraham
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46472 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/03d67eccec8f
[bidi] Add quotes in message for invalid header value in network.continueRequest r=webdriver-reviewers,jgraham
Status: REOPENED → RESOLVED
Closed: 2 months ago2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Severity: -- → S3
Points: --- → 1
Priority: -- → P2
Whiteboard: [webdriver:m11]
You need to log in before you can comment on or make changes to this bug.