Closed
Bug 883311
Opened 12 years ago
Closed 12 years ago
Add Tab List implementation for the remote debugger
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 24.0
People
(Reporter: Fallen, Assigned: Fallen)
References
Details
Attachments
(1 file)
6.54 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
Aside from the main process, the remote debugger supports "tabs", which in Firefox are the real window tabs. I think the closest we can get to this is to provide access to the content windows inside <browser> elements.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #762839 -
Flags: review?(mconley)
Comment 2•12 years ago
|
||
Comment on attachment 762839 [details] [diff] [review]
Fix - v1
Review of attachment 762839 [details] [diff] [review]:
-----------------------------------------------------------------
This is really straight-forward. Thanks Philipp.
Just some formatting nits, and maybe use a Set checkedWindows instead of an Array.
::: mail/components/debugger/content/dbg-mail-actors.js
@@ +61,5 @@
> + _mustNotify: false,
> + _listeningToMediator: false,
> +
> + // These windows should be checked for browser elements
> + checkedWindows: ["mail:3pane", "mail:messageWindow"],
If we're going to store _actorByBrowser as a Map, we might as well go the full nine yards and store checkedWindows as a Set. Then use checkedWindows.has() instead of indexOf > -1.
@@ +64,5 @@
> + // These windows should be checked for browser elements
> + checkedWindows: ["mail:3pane", "mail:messageWindow"],
> +
> + get onListChanged() {
> + return this._onListChanged;
2 space indentation please
@@ +76,5 @@
> + this._checkListening();
> + },
> +
> + _checkListening: function() {
> + let shouldListenToMediator =
2 space indentation
Attachment #762839 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Pushed to comm-central changeset a17d8582694a
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•12 years ago
|
||
All comments taken care of, I went with the Set.
Target Milestone: --- → Thunderbird 24.0
You need to log in
before you can comment on or make changes to this bug.
Description
•