Open Bug 1731743 Opened 3 years ago Updated 3 years ago

Use a global state for "acceptInsecureCerts" and "proxy" capabilities

Categories

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

task

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

The current per WebDriver session state for the capabilities acceptInsecureCerts and proxy has to be moved to a global state.

That means only the first created WebDriver session will evaluate these capabilities, and can install the certificate override or sets the proxy settings. For WebDriver sessions as created at a later time (while the first session is still active) the capabilities will be ignored during capability matching.

Depends on: 1731730
No longer blocks: 1720707

Note that we don't actually want to ignore the capabilities, we want to check that they match the existing state if it's already set. Presumably the state is already global, so we maybe just need to compare to that state (and maybe differentiating an "unset" state) rather than setting it unconditionally.

Points: --- → 2
Priority: -- → P3
Priority: P3 → --
Whiteboard: [bidi-m2-mvp] → [bidi-m3-mvp]

Lets actually remove it from M3 because it's not related to navigation. We will come back to it once we have requirements for allowing WebDriver BiDi clients to directly connect.

Blocks: 1693830
Depends on: 1720707
Whiteboard: [bidi-m3-mvp]
Points: 2 → ---
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.