Closed
Bug 335691
Opened 18 years ago
Closed 18 years ago
Need better support for OpenSearch parameters
Categories
(Firefox :: Search, defect, P1)
Tracking
()
RESOLVED
FIXED
Firefox 2 beta1
People
(Reporter: Gavin, Assigned: Gavin)
References
Details
(Keywords: fixed1.8.1, Whiteboard: 181b1+)
Attachments
(1 file, 4 obsolete files)
17.78 KB,
patch
|
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
See http://opensearch.a9.com/spec/1.1/querysyntax/#parameter-syntax and http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/components/search/nsSearchService.js&rev=1.17#109 This currently prevents the search service from loading a lot of the commonly distributed OpenSearch description files.
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → gavin.sharp
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → Firefox 2 beta1
Assignee | ||
Comment 1•18 years ago
|
||
Fix global constant naming to be consistently ALL_CAPS, add some namespaces to support common OpenSearch plugins, and make "method" optional, default to "GET" (per http://opensearch.a9.com/spec/1.1/querysyntax/#urltag).
Attachment #220124 -
Flags: review?(mconnor)
Assignee | ||
Updated•18 years ago
|
Whiteboard: [patch-r?]
Assignee | ||
Comment 2•18 years ago
|
||
Comment on attachment 220124 [details] [diff] [review] step #1 grr, this was bitrotted by bug 335691.
Attachment #220124 -
Attachment is obsolete: true
Attachment #220124 -
Flags: review?(mconnor)
Assignee | ||
Updated•18 years ago
|
Whiteboard: [patch-r?]
Assignee | ||
Comment 3•18 years ago
|
||
er, I mean bug 335443.
Assignee | ||
Comment 4•18 years ago
|
||
Fixes global constants to be consistent, and a few other minor changes.
Attachment #221059 -
Flags: review?(pamg.bugs)
Comment 5•18 years ago
|
||
Comment on attachment 221059 [details] [diff] [review] fix nits (checked in, branch and trunk) Looks good. Sorry for trampling the earlier patch.
Attachment #221059 -
Flags: review?(pamg.bugs) → review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed]
Assignee | ||
Comment 6•18 years ago
|
||
mozilla/browser/components/search/nsSearchService.js 1.23
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed] → [checkin needed (1.8 branch)]
Assignee | ||
Comment 7•18 years ago
|
||
More to do here...
Status: RESOLVED → REOPENED
Priority: P2 → P1
Resolution: FIXED → ---
Assignee | ||
Updated•18 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 8•18 years ago
|
||
mozilla/browser/components/search/nsSearchService.js 1.1.2.19
Whiteboard: [checkin needed (1.8 branch)]
Assignee | ||
Updated•18 years ago
|
Attachment #221059 -
Attachment description: fix nits → fix nits (checked in, branch and trunk)
Assignee | ||
Updated•18 years ago
|
Flags: blocking-firefox2?
Whiteboard: [swag: 1d]
Updated•18 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Assignee | ||
Comment 9•18 years ago
|
||
Pam, do you mind taking a look at this? I implemented this based on the docs at http://opensearch.a9.com/spec/1.1/querysyntax/#parameter-syntax .
Attachment #221059 -
Attachment is obsolete: true
Attachment #226100 -
Flags: superreview?(mconnor)
Attachment #226100 -
Flags: review?(pamg.bugs)
Attachment #226100 -
Flags: approval-branch-1.8.1?(mconnor)
Updated•18 years ago
|
Attachment #226100 -
Flags: approval-branch-1.8.1?(mconnor)
Comment 10•18 years ago
|
||
Comment on attachment 226100 [details] [diff] [review] patch >+const OS_PARAM_IENC = /\{inputEncoding\??\}/g; >+const OS_PARAM_LANG = /\{language\??\}/g; >+const OS_PARAM_OENC = /\{outputEncoding\??\}/g; >+const OS_PARAM_SINDEX = /\{startIndex\??\}/g; >+const OS_PARAM_SPAGE = /\{startPage\??\}/g; Looks good. My only nits are with the constant names. "IENC" and "OENC" could be clearer, and even "SINDEX" and "SPAGE" are a little obscure. I'd rather type a little more now (perhaps OS_PARAM_OUTENC, if not OS_PARAM_OUTPUT_ENCODING) and save someone else a few minutes of confusion.
Attachment #226100 -
Flags: review?(pamg.bugs) → review+
Assignee | ||
Comment 11•18 years ago
|
||
Attachment #226100 -
Attachment is obsolete: true
Attachment #226427 -
Flags: superreview?(mconnor)
Attachment #226100 -
Flags: superreview?(mconnor)
Assignee | ||
Updated•18 years ago
|
Whiteboard: [swag: 1d] → [patch-r?]
Updated•18 years ago
|
Whiteboard: [patch-r?] → [patch-r?] 181b1+
Updated•18 years ago
|
Attachment #226427 -
Flags: superreview?(mconnor) → superreview+
Assignee | ||
Comment 12•18 years ago
|
||
mozilla/browser/components/search/nsSearchService.js 1.44
Attachment #226427 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Whiteboard: [patch-r?] 181b1+ → 181b1+
Assignee | ||
Updated•18 years ago
|
Whiteboard: 181b1+ → [need-a] 181b1+
Assignee | ||
Comment 13•18 years ago
|
||
Comment on attachment 227411 [details] [diff] [review] as checked in No known regressions (though it's only been in one nightly), and I've tested this pretty well. This is a critical piece of Firefox 2's OpenSearch support, and also blocks bug 335460.
Attachment #227411 -
Flags: approval1.8.1?
Comment 14•18 years ago
|
||
Comment on attachment 227411 [details] [diff] [review] as checked in You are cleared to land on runway 181, taxi left, contract apron control on 171.9, g'day.
Attachment #227411 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Comment 15•18 years ago
|
||
mozilla/browser/components/search/nsSearchService.js 1.1.2.39
Keywords: fixed1.8.1
Whiteboard: [need-a] 181b1+ → 181b1+
You need to log in
before you can comment on or make changes to this bug.
Description
•