So this is probably because: http://mxr.mozilla.org/mozilla-central/source/testing/specialpowers/content/specialpowersAPI.js#513 is iterating over the array that gets passed in, and it's probably hitting "remove" in there and failing. That devicestorage_common.js bit should probably use Object.createProperty and make it a non-enumerable property.
Created attachment 750177 [details] [diff] [review] patch Ok, this seems to work. It doesn't cause any js errors with the testcase and the devicestorage tests also pass with this code.
Attachment #750177 - Flags: review?(ted)
Attachment #750177 - Flags: review?(ted) → review+
Created attachment 750356 [details] [diff] [review] patch for checkin
Attachment #750177 - Attachment is obsolete: true
Assignee: nobody → martijn.martijn
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.