Closed
Bug 843094
Opened 12 years ago
Closed 12 years ago
Remove the Property Panel
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: msucan, Assigned: bbenvie)
References
Details
Attachments
(1 file, 4 obsolete files)
43.28 KB,
patch
|
Details | Diff | Splinter Review |
Once bug 808370 and bug 808369 are both fixed we need to remove all of the Property Panel code from the Web Console and PropertyPanel.jsm.
Reporter | ||
Comment 1•12 years ago
|
||
Also note that WebConsoleUtils.jsm needs to be cleaned-up here.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → bbenvie
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•12 years ago
|
||
First stab at this.
Assignee | ||
Comment 3•12 years ago
|
||
Reporter | ||
Comment 4•12 years ago
|
||
Yay, thank you! When this patch is ready please ask for review.
Assignee | ||
Comment 5•12 years ago
|
||
I think those failures were something not related to my patch, but we'll see. Let's try again. https://tbpl.mozilla.org/?tree=Try&rev=70434821b1c3
Attachment #743282 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Priority: -- → P3
Assignee | ||
Comment 6•12 years ago
|
||
I think I fixed it. https://tbpl.mozilla.org/?tree=Try&rev=62638fb84602
Attachment #743718 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #743799 -
Flags: review?(mihai.sucan)
Reporter | ||
Comment 7•12 years ago
|
||
Comment on attachment 743799 [details] [diff] [review]
WIP3
This is a much welcome clean up. Giving it r+ but I think it's not complete.
In WebConsoleUtils.jsm there are a bunch of methods you can now remove: getObjectGrip, formatResult, formatResultString, getResultType, getObjectClassName, isObjectInspectable, getFunctionName, getFunctionArguments, createValueGrip, inspectObject, inspectObjectProperty, propertiesSort, objectActorGripToString. I hope I didn't miss anything. Please remove these as well and do another try push, all systems, enable all tests - just to make sure there's no other code that uses these methods.
Thank you!
Attachment #743799 -
Flags: review?(mihai.sucan) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Removed from WebConsuleUtils.jsm:
* getObjectGrip
* formatResult
* formatResultString
* getResultType
* objectActorGripToString
* getPropertyPanelValue
* getFunctionArguments
Not removed:
* getObjectClassName (used in VariablesView)
* isObjectInspectable (used in a test)
* getFunctionName (used in getObjectClassName)
* inspectObject (used in a test)
* inspectObjectProperty (used in inspectObject)
https://tbpl.mozilla.org/?tree=Try&rev=0a04c70fe735
Attachment #743799 -
Attachment is obsolete: true
Reporter | ||
Comment 9•12 years ago
|
||
(In reply to Brandon Benvie [:bbenvie] from comment #8)
> Created attachment 744711 [details] [diff] [review]
> WIP4
> [...]
> Not removed:
>
> * isObjectInspectable (used in a test)
Please remove the check that calls isObjectInspectable() - that was intended to check things which no longer apply to how the web console works. That test is browser_webconsole_bug_632347_iterators_generators.js.
> * inspectObject (used in a test)
> * inspectObjectProperty (used in inspectObject)
In browser_webconsole_bug_651501_document_body_autocomplete.js you can remove the call to inspectObject() and only check that, say, more than 14 properties are displayed. The purpose of the test is to check that document.body autocomplete works twice, it doesn't matter how many properties are displayed in the popup (as long as the number is greater than 0).
Thank you!
Assignee | ||
Comment 10•12 years ago
|
||
* remove isObjectInspectable and update test that used it
* remove inspectObject and update test that used it
* remove inspectObjectProperty
* remove sandbox.inspect (front for inspectObject)
Attachment #744711 -
Attachment is obsolete: true
Assignee | ||
Comment 11•12 years ago
|
||
Assignee | ||
Comment 12•12 years ago
|
||
Let's try that again. https://tbpl.mozilla.org/?tree=Try&rev=5a53b7b15433
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Comment 13•12 years ago
|
||
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 14•12 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•