Closed Bug 2016847 Opened 6 months ago Closed 5 months ago

Add full actor-chain integration test for push-based URL security validation

Categories

(Core :: Machine Learning: General, task)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: rconcepcion, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai])

The current URL security browser test seeds the SecurityOrchestrator directly from chrome and manually pushes trustedUrls to ai-chat-content, bypassing the actor chain. This was necessary because the @mention event dispatch did not reach ai-window's handler in the test harness due to process boundary constraints with SpecialPowers.spawn.

We need a full integration test that exercises the complete flow:

  • @mention selection
  • ai-window handler
  • Seed the @mentioned URL
  • Ledger change event triggered
  • Trusted URL ledger is pushed to child
  • Child receives updated trusted URL ledger
  • Links render as clickable

Acceptance Criteria:

  • Integration test exercises the full actor-chain push flow from @mention selection through to link validation in the child process

I'm going to re-specify this work as part of the fast-follows in Bug 2029713.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.