Closed Bug 1150264 Opened 10 years ago Closed 10 years ago

[e10s] Loading module sdk/ui causes an error in console

Categories

(Add-on SDK Graveyard :: General, defect, P1)

x86_64
Linux
defect

Tracking

(e10s?)

RESOLVED INCOMPLETE
Tracking Status
e10s ? ---

People

(Reporter: michel.gutierrez, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20150321175551 Steps to reproduce: - create an addon with this only line in main.js: require("sdk/ui"); - run this addon with e10s enabled - load any page Actual results: - the console shows this error: console.error: bug-e10s-console-error: Message: TypeError: target.QueryInterface is not a function Stack: getFrameElement@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/window/utils.js:443:4 getFrame@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/input/frame.js:32:39 lift/</<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/utils.js:163:28 emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:104:9 receive@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/utils.js:115:5 InputPort.prototype.observe@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/input/system.js:100:5 ObserverParent.notify@resource://gre/modules/RemoteAddonsParent.jsm:343:9 ObserverParent.receiveMessage@resource://gre/modules/RemoteAddonsParent.jsm:333:9 Expected results: error message should not be displayed
note you do not get the error message is e10s is disabled.
Version: 36 Branch → 40 Branch
Blocks: e10s-addons
tracking-e10s: --- → ?
Component: Untriaged → General
Flags: needinfo?(dtownsend)
Product: Firefox → Add-on SDK
Version: 40 Branch → unspecified
Blocks: e10s-sdk
Priority: -- → P1
Your first comment claims you are running Firefox 36, is that actually what you're testing against? I can't reproduce this in current nightlies. Can you test again and let me know if you still see this?
Flags: needinfo?(dtownsend) → needinfo?(michel.gutierrez)
No response from reporter on testing with latest Nightly.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(michel.gutierrez)
Resolution: --- → INCOMPLETE
sorry i missed Dave's update to this bug. just checked with a nightly from 4 days ago and i don't see the error message anymore in the console. i get a couple of messages though: JavaScript warning: chrome://browser/content/pocket/pktApi.js, line 325: SyntaxError: unreachable code after return statement JavaScript warning: chrome://browser/content/pocket/main.js, line 379: SyntaxError: unreachable code after return statement but this looks unrelated
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: