Expose chrome only method to flip HttpChannel's StoreRequestObserversCalled
Categories
(Core :: Networking: HTTP, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox127 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
(Whiteboard: [webdriver:m11])
Attachments
(1 file)
For WebDriver BiDi, we need to be able to update the method and body of the request rather late in the lifecycle (see observer notification added in bug 1849686).
At that point modifying the body or the method of a request currently throws with NS_ERROR_IN_PROGRESS.
To work around this, we can expose a method in order to flip StoreRequestObserversCalled while WebDriverBiDi needs to update those properties. In the long term we probably need a better way to allow a specific part of the codebase to update those properties so that it can't be abused by eg webextensions.
| Assignee | ||
Comment 1•2 years ago
|
||
For WebDriver BiDi network interception we need to be able to modify the request as late as possible.
This changeset exposes RequestObserversCalled to JS so that we can update it from the webdriver bidi codebase.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•