Closed Bug 1318204 Opened 8 years ago Closed 8 years ago

"ReferenceError: Intl is not defined" in about:crashes on Android

Categories

(Toolkit :: General, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: jchen, Assigned: jfkthame)

References

Details

Attachments

(1 file)

about:crashes is currently broken in Fennec after bug 1301655 landed. There is a "ReferenceError: Intl is not defined" error in the console. Aside from fixing bug 1215247, I think we should have a shorter term fix.
Flags: needinfo?(jfkthame)
Ah, drat - I missed that this was used on Android. OK, we need a fallback for now; something like this should be OK, I think. It may not give exactly the same format as we used to have through nsIScriptableDateFormat, but should be usable.
Attachment #8811628 - Flags: review?(gandalf)
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Comment on attachment 8811628 [details] [diff] [review]
Provide fallback date/time formatting in about:crashes for Android, where Intl API is not available

lgtm
Attachment #8811628 - Flags: review?(gandalf) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/f0f88a94e698007fa2cecf579e2077447aae0e0d
Bug 1318204 - Provide fallback date/time formatting in about:crashes for Android, where Intl API is not available. r=gandalf
https://hg.mozilla.org/mozilla-central/rev/f0f88a94e698
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Flags: needinfo?(jfkthame)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: