Open Bug 1557250 Opened 1 year ago

Remove extra getDeviceDescription call in new about:debugging sw push

Categories

(DevTools :: about:debugging, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

Follow up to Bug 1552945.

See https://phabricator.services.mozilla.com/D31906#inline-201759

We already get the device description once when we connect to the remote browser in the new about:debugging, so in theory we should be able to avoid this call.

But as long as tests are passing I'm fine with keeping as is here. I will file a follow up to remove this.

For reference the description is already retrieved at:
https://searchfox.org/mozilla-central/rev/153172de0c5bfca31ef861bd8fc0995f44cada6a/devtools/client/aboutdebugging-new/src/actions/runtimes.js#118-161

You need to log in before you can comment on or make changes to this bug.