Closed Bug 1844097 Opened 1 year ago Closed 1 year ago

Update shopping container to use Actor messaging

Categories

(Firefox :: Shopping, task, P1)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: jhirsch, Assigned: jhirsch)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [fidefe-shopping])

In bug 1843429, we added a component in the shopping page that obtained the product URL from the url query parameter in the shopping frame's URL.

After bug 1840847 lands, we will instead want to switch to using an Actor-based approach (this sequence of events is not final):

  • when the page loads, fire a "ready" event up to the child actor (by firing a CustomEvent on the document) and set a listener for an "init" event
  • the child actor will wait for the "ready" event, then respond with an "init" event sent back down to the shopping page
  • the shopping container will then get the product URL from that "init" event, rather than from its window.location.

Once this bug is closed, we'll remove the code that sets the product URL on the shopping frame.

Whiteboard: [fidefe-shopping]
Assignee: nobody → jhirsch
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P1

I think this got fixed. :-)

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.