Closed
Bug 879523
Opened 12 years ago
Closed 12 years ago
Remote the SelectorSearch
Categories
(DevTools :: Inspector, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 25
People
(Reporter: dcamp, Assigned: dcamp)
References
Details
Attachments
(1 file, 2 obsolete files)
18.31 KB,
patch
|
paul
:
review+
|
Details | Diff | Splinter Review |
This WIP doesn't do autocompletion yet.
Assignee | ||
Updated•12 years ago
|
Blocks: remote-inspector
Assignee | ||
Comment 1•12 years ago
|
||
I'll file a followup to port the autocompletion.
Assignee: nobody → dcamp
Attachment #758240 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #766736 -
Flags: review?(paul)
Assignee | ||
Updated•12 years ago
|
Attachment #766736 -
Flags: feedback?(scrapmachines)
Comment 2•12 years ago
|
||
Comment on attachment 766736 [details] [diff] [review]
v1
Review of attachment 766736 [details] [diff] [review]:
-----------------------------------------------------------------
looks good. Although I am just assuming that the tests pass.
::: browser/devtools/inspector/selector-search.js
@@ +217,5 @@
> + this._lastQuery = this.walker.querySelectorAll(this.walker.rootNode, query).then(list => {
> + return list;
> + }, (err) => {
> + // Failures are ok here, just use a null item list;
> + return null;l
too much nullness
@@ +230,5 @@
>
> + // Value has changed since we started this request, we're done.
> + if (query != this.searchBox.value) {
> + return;
> + }
umm, again ?
Attachment #766736 -
Flags: feedback?(scrapmachines) → feedback+
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Girish Sharma [:Optimizer] from comment #2)
>
> @@ +230,5 @@
> >
> > + // Value has changed since we started this request, we're done.
> > + if (query != this.searchBox.value) {
> > + return;
> > + }
>
> umm, again ?
Yeah, because we do two async requests, so the searchbox might have changed in the meantime either time.
Assignee | ||
Comment 4•12 years ago
|
||
I take that back. New version.
Attachment #766736 -
Attachment is obsolete: true
Attachment #766736 -
Flags: review?(paul)
Attachment #767388 -
Flags: review?(paul)
Updated•12 years ago
|
Attachment #767388 -
Flags: review?(paul) → review+
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•