Closed
Bug 810041
Opened 13 years ago
Closed 13 years ago
[B2G] SpecialPowers.pushPrefEnv throws in mochitest
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(blocking-kilimanjaro:?, firefox18 fixed, firefox19 fixed)
People
(Reporter: dchanm+bugzilla, Assigned: ahal)
References
Details
Attachments
(2 files)
|
865 bytes,
text/plain
|
Details | |
|
1.36 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
I recently updated to the latest b2g with ./repo sync and now pushPrefEnv is throwing for me.
logcat gives the following output
E/GeckoConsole( 539): [JavaScript Error: "uncaught exception: Error getting pref"]
E/GeckoConsole( 501): [JavaScript Error: "uncaught exception: Error getting pref"]
which is thrown at
http://mxr.mozilla.org/mozilla-central/source/testing/specialpowers/content/specialpowersAPI.js#739
pushPrefEnv worked for me last week. I don't have an exact revision though.
B2G Gecko commit
9380327863b9093b485ac72fdc4bf80229fba60e
I didn't get an error when testing on Nightly
4e87d83555011362aac89a0943722a0287b2bd2b
Comment 1•13 years ago
|
||
I wonder if this is a side-effect of bug 798580?
| Assignee | ||
Comment 2•13 years ago
|
||
So I never initialized a listener for 'SPPrefService': http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/runtestsb2g.py#401
Not sure how I missed that, it's right here: http://mxr.mozilla.org/mozilla-central/source/testing/specialpowers/components/SpecialPowersObserver.js#55
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•13 years ago
|
||
Attachment #679855 -
Flags: review?(jgriffin)
Updated•13 years ago
|
Attachment #679855 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Whiteboard: [automation-needed-in-aurora]
| Assignee | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Comment 6•13 years ago
|
||
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Whiteboard: [automation-needed-in-aurora]
You need to log in
before you can comment on or make changes to this bug.
Description
•