Closed
Bug 816596
Opened 13 years ago
Closed 13 years ago
Hide the variables filter box while there are no variables to filter
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: vporof, Assigned: vporof)
References
Details
Attachments
(1 file, 2 obsolete files)
19.50 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P3
Assignee | ||
Comment 1•13 years ago
|
||
..and, while we're at it, it should also have a fixed position while scrolling.
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #686680 -
Flags: review?(past)
Assignee | ||
Comment 3•13 years ago
|
||
Whoops, forgot to qfold tests.
Attachment #686680 -
Attachment is obsolete: true
Attachment #686680 -
Flags: review?(past)
Attachment #686690 -
Flags: review?(past)
Assignee | ||
Comment 4•13 years ago
|
||
Rebased.
Attachment #686690 -
Attachment is obsolete: true
Attachment #686690 -
Flags: review?(past)
Attachment #688231 -
Flags: review?(past)
Comment 5•13 years ago
|
||
Comment on attachment 688231 [details] [diff] [review]
v1.2
Review of attachment 688231 [details] [diff] [review]:
-----------------------------------------------------------------
Like, RT, +1.
::: browser/devtools/debugger/test/browser_dbg_propertyview-filter-01.js
@@ +41,5 @@
> gDebugger.DebuggerView.Variables.enableSearch();
> ok(gDebugger.DebuggerView.Variables._searchboxNode,
> "There should be a searchbox available after enabling.");
> + ok(gDebugger.DebuggerView.Variables._searchboxContainer.hidden,
> + "The searchbox container should be hidden at this point.")
No trailing semicolon! ASI alert! ASI alert!
@@ +56,5 @@
> gDebugger.DebuggerView.Variables.enableSearch();
> ok(gDebugger.DebuggerView.Variables._searchboxNode,
> "There should be a searchbox available after enabling.");
> + ok(gDebugger.DebuggerView.Variables._searchboxContainer.hidden,
> + "The searchbox container should be hidden at this point.")
ASI alert! Halp!
@@ +77,5 @@
> gDebugger.DebuggerView.Variables.enableSearch();
> ok(gDebugger.DebuggerView.Variables._searchboxNode,
> "There should be a searchbox available after enabling again.");
> + ok(gDebugger.DebuggerView.Variables._searchboxContainer.hidden,
> + "The searchbox container should be hidden at this point.")
OMG!
@@ +95,5 @@
> gDebugger.DebuggerView.Variables.searchEnabled = true;
> ok(gDebugger.DebuggerView.Variables._searchboxNode,
> "There should be a searchbox available after enabling again.");
> + ok(gDebugger.DebuggerView.Variables._searchboxContainer.hidden,
> + "The searchbox container should be hidden at this point.")
WE ARE DOOMED!
@@ +106,5 @@
>
> function testVariablesFiltering()
> {
> + ok(!gDebugger.DebuggerView.Variables._searchboxContainer.hidden,
> + "The searchbox container should not be hidden at this point.")
WHY GOD, WHY?!?
::: browser/devtools/debugger/test/browser_dbg_propertyview-filter-02.js
@@ +43,5 @@
> "There should be a searchbox available after enabling.");
> + ok(gDebugger.DebuggerView.Variables._parent.parentNode.querySelector(".variables-searchinput.devtools-searchinput"),
> + "The searchbox element should be found.");
> + ok(gDebugger.DebuggerView.Variables._searchboxContainer.hidden,
> + "The searchbox container should be hidden at this point.")
ASI alert!, ASI ale...*smack*
@@ +49,5 @@
>
> function testVariablesFiltering()
> {
> + ok(!gDebugger.DebuggerView.Variables._searchboxContainer.hidden,
> + "The searchbox container should not be hidden at this point.")
*sobs*
Attachment #688231 -
Flags: review?(past) → review+
Assignee | ||
Comment 6•13 years ago
|
||
I REGRET NOTHING
Assignee | ||
Comment 7•13 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Comment 9•12 years ago
|
||
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•