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
(Blocks 1 open bug)
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•1 month 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•1 month ago
|
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/473cfde59352 Expose RequestObserversCalled attribute in nsIHttpChannel r=valentin,necko-reviewers
Comment 3•1 month ago
|
||
bugherder |
Assignee | ||
Updated•29 days ago
|
Updated•22 days ago
|
Description
•