Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Opens launchpad on reload of previously closed external tab #847

Merged
merged 1 commit into from
Feb 15, 2018
Merged

Opens launchpad on reload of previously closed external tab #847

merged 1 commit into from
Feb 15, 2018

Conversation

lukaszsobek
Copy link

Associated Issue: #846

Summary of Changes

  • added check if debugged target exists
  • if not we default to launchpad

Test Plan

  • tested on running debugger

Screenshots/Videos

reload


await updateConfig();
return { tab, connTarget, tabConnection };
if (debuggedTarget) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we want to show something if debuggedTarget is falsy ?

Copy link
Author

@lukaszsobek lukaszsobek Dec 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was thinking we could log an information to console that the tab has been closed as a result of the debugged source having been closed.

@nchevobbe
Copy link
Member

Looks good, thanks @lukaszsobek

@nchevobbe nchevobbe merged commit ec90a83 into firefox-devtools:master Feb 15, 2018
@lukaszsobek lukaszsobek deleted the blank-screen-846 branch February 26, 2018 20:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants