Closed
Bug 747245
Opened 12 years ago
Closed 12 years ago
ASSERTION: "Oops! You're asking for a weak reference to an object that doesn't support that." when using BugzillaJS add-on
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: cpeterson, Assigned: khuey)
Details
Attachments
(1 file)
1.03 KB,
patch
|
bent.mozilla
:
review+
mfinkle
:
approval-mozilla-central+
|
Details | Diff | Splinter Review |
I am testing BugzillaJS 2.0.3 with a Debug build of Nightly 14.0a1 (2012-04-19). STR: 1. Install BugzillaJS 2.0.3 add-on: https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/ 2. Using a Debug build, watch the firefox log then load any Bugzilla page, such as https://bugzilla.mozilla.org ER: No assertion failures. AR: Dozens of "You're asking for a weak reference to an object that doesn't support that" assertion failures. ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 warning: The global `postMessage()` function in content scripts is deprecated in favor of the `self.postMessage()` function, which works the same. Replace calls to `postMessage()` with calls to `self.postMessage()`.For more info on `self.on`, see <https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/addon-development/web-content.html>. ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 warning: The global `postMessage()` function in content scripts is deprecated in favor of the `self.postMessage()` function, which works the same. Replace calls to `postMessage()` with calls to `self.postMessage()`.For more info on `self.on`, see <https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/addon-development/web-content.html>. ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 warning: The global `postMessage()` function in content scripts is deprecated in favor of the `self.postMessage()` function, which works the same. Replace calls to `postMessage()` with calls to `self.postMessage()`.For more info on `self.on`, see <https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/addon-development/web-content.html>. ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111 ###!!! ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr', file nsWeakReference.cpp, line 111
Reporter | ||
Comment 1•12 years ago
|
||
Toggling BugzillaJS on and off makes these assertion failures go away.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → khuey
Component: General → XPConnect
OS: Mac OS X → All
QA Contact: general → xpconnect
Hardware: x86 → All
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #617629 -
Flags: review?(bent.mozilla)
Updated•12 years ago
|
Attachment #617629 -
Flags: review?(bent.mozilla) → review+
Updated•12 years ago
|
Attachment #617629 -
Flags: approval-mozilla-central+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/142fe408f5b4
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in
before you can comment on or make changes to this bug.
Description
•