Closed Bug 1092384 Opened 10 years ago Closed 10 years ago

[Settings] JS warning: SettingsRequestManager.jsm, line 891: ReferenceError: reference to undefined property msg.windowID

Categories

(Core :: DOM: Device Interfaces, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: gwagner, Assigned: gerard-majax)

References

Details

(Keywords: regression, Whiteboard: [systemsfe])

Attachments

(1 file)

On current b-i with debug gecko build during startup
Assignee: nobody → lissyx+mozillians
That's probably because Settings:CreateLock from SettingsService has no windowID.
When fixing bug 1082001, I added a windowID propety to the object we pass with the "Settings:CreateLock" message, but forgot to do the change for SettingsService.js.
Depends on: 1082001
Keywords: regression
Service locks for settings are locks created from chrome code and not
attached to any window. Since the windowID is used in other cases for
the Settings:CreateLock message, we should at least pass an undefined
value to avoid unneccessary JS warning.
Comment on attachment 8516708 [details] [diff] [review]
Use undefined windowID for service locks r=bent

Ben, would you mind reviewing this?
Attachment #8516708 - Flags: review?(bent.mozilla)
Attachment #8516708 - Flags: review?(bent.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/b93e840f3ebb
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Whiteboard: [systemsfe]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: