Closed Bug 854514 Opened 12 years ago Closed 12 years ago

B2G mochitest test_settings_blob.html | NS_ERROR_XPC_GS_RETURNED_FAILURE at resource://gre/modules/XPCOMUtils.jsm:202

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ahal, Assigned: reuben)

References

Details

Attachments

(1 file, 2 obsolete files)

See: https://tbpl.mozilla.org/php/getParsedLog.php?id=21065228&tree=Mozilla-Inbound#error0 There is a consistent failure in B2G mochitest-3 which started with https://hg.mozilla.org/integration/mozilla-inbound/rev/5408bf5cf363 (bug 821630). Unfortunately the b2g unittests were hidden so this wasn't caught immediately. This now needs to be added to the list of bugs to be fixed before we can un-hide them again. Reuben, is this an easy fix?
This is the same failure that caused the backout in bug 821630 comment 18. I'll try to pinpoint the cause of this error.
Attached patch Remove observer test (obsolete) — Splinter Review
Importing SettingsChangeNotifier.jsm is causing that failure. At first it looked like the way we are importing it in the test was wrong, but test_settings_basics.html does the same and works fine. I think we should either disable this test on B2G emulator builds, or remove it entirely. This patch does the latter.
Assignee: nobody → reuben.bmo
Status: NEW → ASSIGNED
Attachment #729787 - Flags: review?(anygregor)
Bug 792594 seems a similar issue
Same solution used by bug 792594. Thanks Luqman.
Attachment #729787 - Attachment is obsolete: true
Attachment #729787 - Flags: review?(anygregor)
Attachment #729844 - Flags: review?(anygregor)
The permissions part shouldn't be in the if.
Attachment #729844 - Attachment is obsolete: true
Attachment #729844 - Flags: review?(anygregor)
Attachment #729863 - Flags: review?(anygregor)
Attachment #729863 - Flags: review?(anygregor) → review+
Thanks! I'm leaving this open in case we find a better solution. https://hg.mozilla.org/integration/mozilla-inbound/rev/6982242c3f0f
Whiteboard: [leave open]
Comment on attachment 729863 [details] [diff] [review] Only import SettingsChangeNotifier.jsm if the mozSettings pref is not enabled Clearing this from my "to check in" queue.
Attachment #729863 - Flags: checkin+
The better solution is coming in bug 862353.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [leave open]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: