Open Bug 2054110 Opened 1 day ago Updated 1 day ago

[IPC Urlbar] Route speculative connect over the actor message path

Categories

(Firefox :: Address Bar, task)

task

Tracking

()

ASSIGNED

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng][mcab-hnt])

Attachments

(1 file)

Broken out from Bug 2051959.

Route the urlbar's speculative connection over the actor message path, resolving the window parent-side from the actor, so it works when the controller runs across the boundary.

UrlbarChildController.speculativeConnect (from the view on mousedown, and for
the heuristic result when the first results arrive) forwarded to
this.#parent.speculativeConnect, which the message-path proxy didn't
implement, so it threw over the wire. Add a SpeculativeConnect C->P message and
the matching proxy method, serializing the result and context like the other
query messages.

The recording needs the chrome window, which the parent resolves from the actor,
so the guard keys on browserWindow rather than input (null on the message
path).

The heuristic ("resultsadded") request now fires content-side from
UrlbarChildController when the first results arrive, rather than parent-side
from receiveResults, so it runs identically on both paths (the parent has
already let the input react to the first result before notifying).

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Attachment #9606671 - Attachment description: Bug 2051959 - [IPC Urlbar] Phase 6: Route speculative connect over the actor message path. r?mbeier! → Bug 2054110 - [IPC Urlbar] Route speculative connect over the actor message path. r?mbeier!
Whiteboard: [sng][mcab-hnt]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: