Closed
Bug 822609
Opened 12 years ago
Closed 12 years ago
developer tools should not use target.isChrome [toolbox]
Categories
(DevTools :: Framework, defect)
DevTools
Framework
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 20
People
(Reporter: jwalker, Assigned: jwalker)
Details
(Whiteboard: [fixed-in-fxteam])
Attachments
(1 file, 1 obsolete file)
2.99 KB,
patch
|
paul
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
target.isChrome is always false, so it's easy to remove.
Assignee | ||
Comment 2•12 years ago
|
||
This is a quick 'before I forget'
Comment 3•12 years ago
|
||
Comment on attachment 693319 [details] [diff] [review] v1 In these 2 cases, what we want to use is `this._target.isLocalTab`. Also, while you're at it, in `_getHostTab`, if it's not a tab target, we should not return the selected tab, but throw an exception (this should never happen. window and remote tab can't have HostTab).
Attachment #693319 -
Flags: review?(paul) → review-
Assignee | ||
Comment 4•12 years ago
|
||
I know we have batted this around a lot, but I'm not sure that isLocalTab is right yet. Is the question that we want to ask really - "Is this something that a typical web user might want to debug?" Isn't this is a concept that we're missing from remote connections? I'm not going to fix it here, but maybe we need isSystem or similar to reflect the concept of 'not for typical users'.
Assignee | ||
Comment 5•12 years ago
|
||
So I went further and removed _getHostTab. Also I added the profiler to the list of things that needed updating.
Attachment #693319 -
Attachment is obsolete: true
Attachment #693851 -
Flags: review?(paul)
Assignee | ||
Comment 6•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=c8964d4d1a96
Updated•12 years ago
|
Attachment #693851 -
Flags: review?(paul) → review+
Updated•12 years ago
|
Component: Developer Tools → Developer Tools: Framework
Assignee | ||
Updated•12 years ago
|
Whiteboard: [fixed-in-fxteam]
Assignee | ||
Comment 7•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Fx-Team&rev=a2754cd8e66b https://hg.mozilla.org/integration/fx-team/rev/2767d63a3b15
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2767d63a3b15
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•