Closed Bug 1992210 Opened 3 months ago Closed 3 months ago

Support data scheme for network.getData

Categories

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

defect
Points:
2

Tracking

(firefox146 fixed)

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

(Whiteboard: [webdriver:m18], [wptsync upstream][webdriver:relnote])

Attachments

(2 files)

At the moment trying to retrieve network data for a request using the data: scheme will fail with a https://www.w3.org/TR/webdriver-bidi/#errors-no-such-network-data

This falls into the same codepath as the requests from memory cache where the DevTools network response listener is unable to collect the response content.

However data URLs are trivial to handle and we could have a special case for them to avoid friction when using the API https://github.com/w3c/webdriver-bidi/issues/1015#issuecomment-3362111199

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Severity: -- → S3
Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m18]
Pushed by jdescottes@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/455079d3374c https://hg.mozilla.org/integration/autoland/rev/5d95b81175f0 [bidi] Support network.getData for requests using the data scheme r=webdriver-reviewers,Sasha https://github.com/mozilla-firefox/firefox/commit/363a91978712 https://hg.mozilla.org/integration/autoland/rev/d9a0903fb6f0 [wdspec] Add test for network.getData with data scheme r=webdriver-reviewers,Sasha
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/55472 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m18] → [webdriver:m18], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Upstream PR merged by moz-wptsync-bot
Whiteboard: [webdriver:m18], [wptsync upstream] → [webdriver:m18], [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: