Open
Bug 354950
Opened 18 years ago
Updated 3 years ago
OpenSearch support doesn't honour 'pageOffset' and 'indexOffset' attributes of description
Categories
(Firefox :: Search, enhancement, P5)
Firefox
Search
Tracking
()
NEW
People
(Reporter: evan, Unassigned)
References
()
Details
(Whiteboard: [fxsearch])
Attachments
(1 file)
10.40 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1b2) Gecko/20060601 BonEcho/2.0b2 (Ubuntu-edgy) Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1b2) Gecko/20060601 BonEcho/2.0b2 (Ubuntu-edgy) For OpenSearch, it's possible to define a search engine whose first search result is numbered "0", and first page of search results is numbered "0", too. This is done using the "indexOffset" and "pageOffset" parameters on the Url element of the OpenSearchDescription document. The default for each is "1". Even when the attribute is set in the OpenSearch description, Firefox requests the first search results with startIndex = 1. Reproducible: Always Steps to Reproduce: 1. Create an OpenSearch description with indexOffset = 0. 2. Add the description to Firefox. 3. Do a search. Actual Results: The startIndex parameter is set to 1. Expected Results: The startIndex parameter should be unset or set to 0. Leaving out the startIndex parameter template from the OpenSearch description gives normal functionality. Since Firefox doesn't do paged or indexed searches, it's a moot point, but IWBNI the software would follow the standard.
Updated•18 years ago
|
Comment 1•18 years ago
|
||
Yeah, we don't support indexOffset or pageOffset, because when I was implementing the OpenSearch support that parameter wasn't yet finalized.
Updated•18 years ago
|
Assignee: nobody → gavin.sharp
OS: Linux → All
Priority: -- → P3
Hardware: PC → All
Target Milestone: --- → Firefox 3 alpha1
Version: unspecified → Trunk
Updated•18 years ago
|
Status: NEW → ASSIGNED
Updated•17 years ago
|
Target Milestone: Firefox 3 alpha1 → ---
Updated•17 years ago
|
Assignee: gavin.sharp → nobody
Status: ASSIGNED → NEW
Priority: P3 → --
In the renewal MDC, Search engine( http://developer.mozilla.org/@gui/opensearch/description ) have indexOffset attribute set to "0". Then if use this search engine, Search results don't show 1st hit page always.
Comment 4•15 years ago
|
||
had this lying around in a tree...
Updated•9 years ago
|
Priority: -- → P5
Whiteboard: [fxsearch]
Updated•9 years ago
|
Rank: 59
Comment 5•3 years ago
|
||
Not totally sure we need this, since it hasn't been requested by search engines. This could possibly be removed from the spec, though it would be interesting to know if other browser support this as well or not.
Severity: minor → N/A
Type: defect → enhancement
Rank: 59
You need to log in
before you can comment on or make changes to this bug.
Description
•