If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

places search doesn't return javascript scheme urls when searching by url

RESOLVED INCOMPLETE

Status

Add-on SDK
General
P2
normal
RESOLVED INCOMPLETE
3 years ago
8 days ago

People

(Reporter: dietrich, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Example code:

var query = { url: 'javascript:' }
 
bookmarks.search(query).on('end', function (results) {
  console.log('results', results.length)
})

Zero results.

Execute the same code with this query:

var query = { query: 'javascript:' }

Returns all bookmarks with 'javascript:' in the url (or title or whatever else the 'query' property covers).
OS: Mac OS X → All
Priority: -- → P2
Hardware: x86 → All
Blocks: 888483
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Last Resolved: 8 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.