Uncaught exceptions in OnProcessCrashed
Categories
(Testing :: Reftest, defect)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(1 file)
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 | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
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
Comment 3•5 years ago
|
||
bugherder |
Description
•