Closed Bug 1183895 Opened 5 years ago Closed 5 years ago

[promise-dbg] Add a new pane for the promise debugger

Categories

(DevTools :: Inspector, defect)

defect
Not set

Tracking

(firefox42 fixed)

RESOLVED FIXED
Firefox 42
Tracking Status
firefox42 --- fixed

People

(Reporter: gl, Assigned: gl)

References

Details

Attachments

(2 files, 1 obsolete file)

No description provided.
Assignee: nobody → gabriel.luong
Status: NEW → ASSIGNED
Summary: [promise-dbg] Add a toolbar button for toggling the promise debugger → [promise-dbg] Add a new pane for the promise debugger
Attachment #8636341 - Flags: review?(nfitzgerald)
Attachment #8636347 - Flags: review?(nfitzgerald)
Comment on attachment 8636341 [details] [diff] [review]
Part 1: Add a new pane for the promise debugger

Review of attachment 8636341 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/devtools/debugger/debugger-view.js
@@ -599,5 @@
>    /**
>     * Switches the debugger widgets to a horizontal layout.
>     */
>    _enterVerticalLayout: function() {
> -    let normContainer = document.getElementById("debugger-widgets");

This change seems unrelated? Was this unused?

@@ -618,5 @@
>     * Switches the debugger widgets to a vertical layout.
>     */
>    _enterHorizontalLayout: function() {
>      let normContainer = document.getElementById("debugger-widgets");
> -    let vertContainer = document.getElementById("vertical-layout-panes-container");

Was this unused as well?
Attachment #8636341 - Flags: review?(nfitzgerald) → review+
Comment on attachment 8636347 [details] [diff] [review]
Part 2: Add a toolbar button for toggling the promise debugger

Review of attachment 8636347 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/themes/shared/devtools/debugger.inc.css
@@ +120,5 @@
>      list-style-image: url(debugger-pause-uncaught-exceptions@2x.png);
>    }
>  }
> +#toggle-promise-debugger {
> +  /* TODO: Add a toggle promise debugger image */

Add a bug number with the TODO comment.
Attachment #8636347 - Flags: review?(nfitzgerald) → review+
Comment on attachment 8636341 [details] [diff] [review]
Part 1: Add a new pane for the promise debugger

Review of attachment 8636341 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/devtools/debugger/debugger-view.js
@@ -599,5 @@
>    /**
>     * Switches the debugger widgets to a horizontal layout.
>     */
>    _enterVerticalLayout: function() {
> -    let normContainer = document.getElementById("debugger-widgets");

Yes, this change was to remove an unused variable.

@@ -618,5 @@
>     * Switches the debugger widgets to a vertical layout.
>     */
>    _enterHorizontalLayout: function() {
>      let normContainer = document.getElementById("debugger-widgets");
> -    let vertContainer = document.getElementById("vertical-layout-panes-container");

This was also unused.
Blocks: 1186119
Blocks: 1183863
No longer blocks: 1186119
Blocks: 1186119
https://hg.mozilla.org/mozilla-central/rev/53e21aef23f6
https://hg.mozilla.org/mozilla-central/rev/f51edb65dfa4
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.