Closed Bug 1620194 Opened 5 years ago Closed 5 years ago

Stop registering devtools test actor dynamically

Categories

(DevTools :: Framework, task, P3)

task

Tracking

(firefox76 fixed)

RESOLVED FIXED
Firefox 76
Tracking Status
firefox76 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(3 files)

Support for actors loaded dynamically such as the test-actor make it very hard to simplify the tab-descriptor <-> target interaction.

Most descriptor/targets couple can rely on a very simple caching handled on the client side, but because of the test actor (which is only used for tests debugging tabs...) we can't follow the same pattern.

I suggest we register the actor regularly, simply putting it behind flag.testing to avoid errors when we are not running tests.

Depends on D65564

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b9f4dc32ef43 Stop registering test actor dynamically r=ochameau https://hg.mozilla.org/integration/autoland/rev/0bbcb1d56f62 Remove actor-registry actor r=ochameau https://hg.mozilla.org/integration/autoland/rev/7236deddd85a Remove test-actor-registry and expose simplified helpers in shared-head.js r=ochameau
Pushed by malexandru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34cc90f6bbaf Fix eslint violation in browser_connectToFrame.js
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: