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)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(1 file, 2 obsolete files)

No description provided.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P3
..and, while we're at it, it should also have a fixed position while scrolling.
Attached patch v1 (obsolete) — Splinter Review
Attachment #686680 - Flags: review?(past)
Attached patch v1.1 (obsolete) — Splinter Review
Whoops, forgot to qfold tests.
Attachment #686680 - Attachment is obsolete: true
Attachment #686680 - Flags: review?(past)
Attachment #686690 - Flags: review?(past)
Attached patch v1.2Splinter Review
Rebased.
Attachment #686690 - Attachment is obsolete: true
Attachment #686690 - Flags: review?(past)
Attachment #688231 - Flags: review?(past)
Blocks: 816440
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+
I REGRET NOTHING
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: