Closed
Bug 934737
Opened 11 years ago
Closed 11 years ago
[AccessFu] Error when encountering an input type="date"
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla28
Tracking | Status | |
---|---|---|
firefox26 | --- | unaffected |
firefox27 | --- | affected |
firefox28 | --- | fixed |
People
(Reporter: eeejay, Assigned: yzen)
References
Details
(Keywords: regression, Whiteboard: [qa-])
Attachments
(1 file, 2 obsolete files)
4.23 KB,
patch
|
Details | Diff | Splinter Review |
[AccessFu] ERROR Error handing accessible event:
Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]
_addType@resource://gre/modules/accessibility/OutputGenerator.jsm:224
_generateBaseOutput@resource://gre/modules/accessibility/OutputGenerator.jsm:330
defaultFunc@resource://gre/modules/accessibility/OutputGenerator.jsm:500
entry@resource://gre/modules/accessibility/OutputGenerator.jsm:365
genForObject@resource://gre/modules/accessibility/OutputGenerator.jsm:121
addOutput@resource://gre/modules/accessibility/OutputGenerator.jsm:61
genForContext@resource://gre/modules/accessibility/OutputGenerator.jsm:83
SpeechPresenter_pivotChanged@resource://gre/modules/accessibility/Presentation.jsm:456
Presentation_pivotChanged@resource://gre/modules/accessibility/Presentation.jsm:563
handleAccEvent@resource://gre/modules/accessibility/EventManager.jsm:175
observe@resource://gre/modules/accessibility/EventManager.jsm:597
moveToPoint@chrome://global/content/accessibility/content-script.js:101
Assignee | ||
Updated•11 years ago
|
QA Contact: yura.zenevich
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → yura.zenevich
QA Contact: yura.zenevich
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #827200 -
Flags: review?(eitan)
Comment 2•11 years ago
|
||
Comment on attachment 827200 [details] [diff] [review]
934737 patch v1
OK, getting this approved for Aurora might prove...interesting...But maybe not since this is a completely new ID instead of a changed one.
Updated•11 years ago
|
Keywords: regression
Updated•11 years ago
|
status-firefox26:
--- → unaffected
status-firefox27:
--- → affected
status-firefox28:
--- → affected
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 827200 [details] [diff] [review]
934737 patch v1
Review of attachment 827200 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good for this specific case. I think the get localized string line should be in a try block, maybe with a warning if an exception occurs. I am worried that other input types will keep cropping up.
Attachment #827200 -
Flags: review?(eitan) → review-
Assignee | ||
Comment 4•11 years ago
|
||
Added try/catch.
Attachment #827200 -
Attachment is obsolete: true
Attachment #827596 -
Flags: review?(eitan)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 827596 [details] [diff] [review]
934737 patch v2
Review of attachment 827596 [details] [diff] [review]:
-----------------------------------------------------------------
::: accessible/src/jsat/OutputGenerator.jsm
@@ +223,5 @@
> + try {
> + aDesc.push(gStringBundle.GetStringFromName(typeName));
> + } catch (x) {
> + Logger.logException(x, 'Failed to get a string from a bundle for ' +
> + typeName);
How about just a Logger.warning with enough info?
@@ +225,5 @@
> + } catch (x) {
> + Logger.logException(x, 'Failed to get a string from a bundle for ' +
> + typeName);
> + } finally {
> + return;
This is redundant, no?
Attachment #827596 -
Flags: review?(eitan) → review+
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Eitan Isaacson [:eeejay] from comment #5)
> Comment on attachment 827596 [details] [diff] [review]
> 934737 patch v2
>
> Review of attachment 827596 [details] [diff] [review]:
> -----------------------------------------------------------------
> @@ +225,5 @@
> > + } catch (x) {
> > + Logger.logException(x, 'Failed to get a string from a bundle for ' +
> > + typeName);
> > + } finally {
> > + return;
>
> This is redundant, no?
I think not having finally gives warnings in debug builds.
Assignee | ||
Comment 7•11 years ago
|
||
Carrying over a r+ from eeejay.
Attachment #827596 -
Attachment is obsolete: true
Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
![]() |
||
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•