Closed Bug 1986025 Opened 3 months ago Closed 2 months ago

network.getData fails for empty response body

Categories

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

defect
Points:
2

Tracking

(firefox145 fixed)

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: hbenl, Assigned: jdescottes)

References

Details

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

Attachments

(2 files)

In this Playwright test (when run with this PR) the network.getData command fails with the message TypeError: can't access property Symbol.iterator, chunks is undefined.

Blocks: 1971768
Severity: -- → S3
Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:m17]
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6aad7bf8a36e https://hg.mozilla.org/integration/autoland/rev/82753ba28725 [bidi] Handle decoded responses coming from DevTools NetworkObserver r=webdriver-reviewers,whimboo https://github.com/mozilla-firefox/firefox/commit/f05229d96f61 https://hg.mozilla.org/integration/autoland/rev/cf8c3b20974b [wdspec] Add test for network.getData with empty responses r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/55009 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m17] → [webdriver:m17], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
Upstream PR merged by moz-wptsync-bot
Whiteboard: [webdriver:m17], [wptsync upstream] → [webdriver:m17][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: