Closed
Bug 384563
Opened 19 years ago
Closed 18 years ago
[snav] SpatialNavigation contracts are a mess
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: WeirdAl)
References
()
Details
Attachments
(1 file)
|
2.35 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
SpatialNavigation_ContractID
If you can't find what you're looking for, you can always search for it.
Defined as a preprocessor macro in:
* extensions/spatialnavigation/src/nsSpatialNavigationService.cpp (View change log or Blame annotations)
o line 239
Referenced in:
This page was automatically generated by MXR-test.
Note that there are two contracts, the former (with proper ; style) is unused:
239 #define SpatialNavigation_ContractID "@mozilla.org/spatialNavigation/service;1"
the latter (without ; style, but with all lowercase contracting) is used:
245 #define SpatialNavigationService_ContractID "@mozilla.org/spatialnavigation/service"
I'm basically porting the entire codebase to js to test an alternate implementation. I've found all sorts of things I don't like in the C++ impl, some of which I think I've already correct in some lost tree. I'm just noting this one here. I may or may not do something about it. I expect to replace the implementation with a reported c++ version once I'm done.
Anyone is free to fix this, there should be one contract, and it should be:
"@mozilla.org/spatialnavigation/service;1"
unused defines are bad.
| Assignee | ||
Comment 1•18 years ago
|
||
This patch also fixes a bug with service registration via app-startup... seems spatial nav wasn't registered as a service.
| Assignee | ||
Updated•18 years ago
|
Attachment #272721 -
Flags: review? → review?(dougt)
Comment 2•18 years ago
|
||
timeless, where is the js version?
Comment 3•18 years ago
|
||
Comment on attachment 272721 [details] [diff] [review]
patch, v1
ajvincent. looks fine.
version: 1.11
Attachment #272721 -
Flags: review?(dougt) → review+
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•