Bug 1963915 Comment 5 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The component for this UI is at https://searchfox.org/mozilla-central/source/devtools/client/framework/components/DebugTargetInfo.js#23 and we hit the target actor (content process if page is in content) for [navigating to a URL, going forward or backward](https://searchfox.org/mozilla-central/rev/25a38ac3b851b63e7d85a850940c354609e8126d/devtools/server/actors/targets/window-global.js#1259-1336).

The only exception is for the "reload" actions, which uses the [target descriptor](https://searchfox.org/mozilla-central/rev/25a38ac3b851b63e7d85a850940c354609e8126d/devtools/server/actors/descriptors/tab.js#241-251) (parent process). 

One option is to just reuse this pattern for the other navigation actions.
The component for this UI is at https://searchfox.org/mozilla-central/source/devtools/client/framework/components/DebugTargetInfo.js#23 and we hit the target actor (content process if page is in content) for [navigating to a URL, going forward or backward](https://searchfox.org/mozilla-central/rev/25a38ac3b851b63e7d85a850940c354609e8126d/devtools/server/actors/targets/window-global.js#1259-1336).

The only exception is for the "reload" actions, which uses the [target descriptor](https://searchfox.org/mozilla-central/rev/25a38ac3b851b63e7d85a850940c354609e8126d/devtools/server/actors/descriptors/tab.js#241-251) (parent process). 

One option is to just reuse this pattern for the other navigation actions.

(also checked, and this component is the only one using target's `goBack`, `goForward` and `navigateTo` helpers, so we shouldn't have the same issue in other parts of the UI)

Back to Bug 1963915 Comment 5