Open
Bug 707261
Opened 13 years ago
Updated 12 years ago
Error in mgmtapi.js logged into the console
Categories
(Web Apps :: Extension, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: clochix, Unassigned)
Details
(Whiteboard: devPreviewNonBlocker [testday-20111202])
Attachments
(1 file)
2.06 KB,
text/plain
|
Details |
[testday-20111202] After installing the extension in a new profile, each time I start Firefox I have the following message in the console: DOMApplicationRegistry::init() [object Window] error: An exception occurred. Traceback (most recent call last): File "/home/clochix/.mozilla/firefox/2hdhssy6.OWA/extensions/openwebapps@mozillalabs.com//resources/openwebapps/data/mgmtapi.js", line 74, in null [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: /home/clochix/.mozilla/firefox/2hdhssy6.OWA/extensions/openwebapps@mozillalabs.com//resources/openwebapps/data/mgmtapi.js :: <TOP_LEVEL> :: line 74" data: no]
Comment 1•13 years ago
|
||
what version of firefox? and I'm assuming it's on linux per that field in the bug.
Comment 2•13 years ago
|
||
FF nightly
ok, it's related to nightly. I launched my 8.0.1 on the same profile and was able to install an app. Then I closed the 8.0.1 and launched again the nightly, and got this error in the console: error: An exception occurred. Traceback (most recent call last): File "/home/clochix/.mozilla/firefox/2hdhssy6.OWA/extensions/openwebapps@mozillalabs.com//resources/openwebapps/data/mgmtapi.js", line 74, in null [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: /home/clochix/.mozilla/firefox/2hdhssy6.OWA/extensions/openwebapps@mozillalabs.com//resources/openwebapps/data/mgmtapi.js :: <TOP_LEVEL> :: line 74" data: no] error: An exception occurred. Traceback (most recent call last): File "resource://openwebapps-at-mozillalabs-dot-com/addon-kit/lib/panel.js", line 313, in _onShow this._frameLoadersSwapped = true; File "resource://openwebapps-at-mozillalabs-dot-com/addon-kit/lib/panel.js", line 95, in .swapFrameLoaders(this._viewFrame); File "resource://openwebapps-at-mozillalabs-dot-com/addon-kit/lib/panel.js", line 290, in get _viewFrame() this.__xulPanel.children[0], TypeError: this.__xulPanel is null Seems like a recent regression. I tried the extension 2 or 3 days ago with my nightly, and was able to install the only free app in the store.
Comment 4•13 years ago
|
||
Ok, I think this is related to Bug 707104. The problem is that the new APIs have landed into nightlies, and our injector is trying to inject the same APIs. I don't know if this problem is solvable in the short term (ie. before developer preview release). Nightly is Firefox 11. The current release is Fx8, and Fx9 will be released soon (end of month or early jan?). So, should we be testing on nightly, or should we be testing on fx9/10?
Comment 6•13 years ago
|
||
I highly recommend getting rid of the awful injector once Firefox 9 is released as stable and bug 641552 will be available in all released Firefox versions.
Comment 7•13 years ago
|
||
(In reply to Philipp von Weitershausen [:philikon] from comment #6) > I highly recommend getting rid of the awful injector once Firefox 9 is > released as stable and bug 641552 will be available in all released Firefox > versions. My previous comment is slightly incorrect. The injector has been rewritten as a backwards compat shim that is compatible with what is happening in fx9. The shim is only used pre-fx9. So this really has nothing to do with the injector shim. The issue is that we are injecting APIs (via the proper mechanism) that the nightlies now also inject. They are colliding and I expect that anything in owa would fail.
Updated•13 years ago
|
Whiteboard: [testday-20111202] → devPreviewNonBlocker [testday-20111202]
Comment 8•13 years ago
|
||
There is a different error in the error console related to an "injector". Will the following error be resolved by this bug or shall I file another: Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/securable-module.js -> resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/injector.js :: <TOP_LEVEL> :: line 134" data: no] Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0a1) Gecko/20111212 Firefox/11.0a1 Extension version: 0.5.1
Comment 9•12 years ago
|
||
Bump? I sorely miss fx share :(
Comment 10•12 years ago
|
||
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/24808713
Comment 11•12 years ago
|
||
Not sure if this applicable to mozilla-central or not. It might not be (as this is referring to possibly old vs. new API conflicts), but I need someone to confirm. David Clarke - Is this or not applicable to mozilla-central?
You need to log in
before you can comment on or make changes to this bug.
Description
•