Closed Bug 1555066 Opened 5 years ago Closed 5 years ago

Uncaught exceptions in OnProcessCrashed

Categories

(Testing :: Reftest, defect)

Version 3
defect
Not set
normal

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(1 file)

Seen here, for example:

09:29:53 INFO - JavaScript error: resource://reftest/reftest.jsm, line 1575: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIPropertyBag2.getPropertyAsAString]
09:29:53 INFO - !!! error running onStopped callback: TypeError: callback is not a function
09:29:53 INFO - JavaScript error: resource://reftest/reftest.jsm, line 1575: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIPropertyBag2.getPropertyAsAString]
09:29:53 INFO - JavaScript error: resource://reftest/reftest.jsm, line 1575: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIPropertyBag2.getPropertyAsAString]

I think the code has had this bug since it was added 8 years ago. Trying to get a property that isn't there is an error.

I guess the fix is to use .get() instead of .getPropertyAsAString().

Assignee: nobody → jorendorff
Pushed by jorendorff@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/257a4253848a
Fix uncaught exceptions in jsreftest test harness when a content process crashes. r=heycam
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: