User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36 Steps to reproduce: I just updated to v38.0.1 & now when my extension calls: fields.otherRandomHeaders = HdrType; I get the error: NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a WrappedNative This extension has been running fine for years up until this latest build. Actual results: Code crashes & doesn't run any further. Expected results: String value should be set in Other Header field.
Yes, otherRandomHeaders has been removed in bug 998191. Instead, use gMsgCompose.compFields.setHeader("Foo", "bar").
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID
Thank you for the reply. I was using: fields.otherRandomHeaders = HdrType; params2.composeFields = fields; msgComposeService.OpenComposeWindowWithParams(null, params2); As part of my code to construct a new Compose Window, so gMsgCompose doens't exist yet. Is there another option?
You need to log in before you can comment on or make changes to this bug.