[meta] Only use the testActor for retrieving highlighter data
Categories
(DevTools :: Inspector, task)
Tracking
(Not tracked)
People
(Reporter: jdescottes, Unassigned)
References
Details
(Keywords: meta)
The test actor https://searchfox.org/mozilla-central/source/devtools/client/shared/test/test-actor.js is used to interact with the content page in DevTools mochitests.
However this is a target scoped actor, which means it gets destroyed when a target switch occurs.
It can usually be replaced with calls to SpecialPowers.spawn.
Comment 1•3 years ago
|
||
we probably won't be able to completely get rid of this actor as we still need to be able to test highlighter, but once we trimmed the actor from all the non-highlighter related methods, we could probably rename it to HighlighterTestActor
(or CanvasFrameAnonymousContentHelperActor
as it's also used for things that might not be seen as highlighters, e.g. eyedropper, paused debugger overlay, …)
Updated•3 years ago
|
Comment 2•3 years ago
|
||
All the blockers have been fixed, we can close this meta now
Description
•