Closed Bug 731879 Opened 12 years ago Closed 5 years ago

Exception in jetpack sdk causes firefox to grab mouse

Categories

(Mozilla Labs :: Jetpack SDK, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: wildfire, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0
Build ID: 20120222074758

Steps to reproduce:

Attempted to use the Collusion add-on


Actual results:

Firefox got stuck when attempting to display its console. My mouse was 'grabbed' and I could only navigate via the keyboard.

I saw a traceback:




Expected results:

The console should have been displayedTraceback (most recent call last):
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/tabs/tab.js", line 71, in _onReady
    this._emit(EVENTS.ready.name, this._public);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/events.js", line 119, in _emit
    return this._emitOnObject.apply(this, args);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/events.js", line 149, in _emitOnObject
    listener.apply(targetObj, params);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/windows/tabs.js", line 98, in _emitEvent
    tabs._emit(type, tab);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/events.js", line 119, in _emit
    return this._emitOnObject.apply(this, args);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/events.js", line 149, in _emitOnObject
    listener.apply(targetObj, params);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/collusion/lib/main.js", line 216, in null
    var domain = getDomain(ioService.newURI(tab.url, null, null).host);
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/cuddlefish.js -> resource://jid1-f9uj2thwoam5gq-at-jetpack/collusion/lib/main.js :: <TOP_LEVEL> :: line 216"  data: no]
error: An exception occurred.
Traceback (most recent call last):
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/tabs/tab.js", line 71, in _onReady
    this._emit(EVENTS.ready.name, this._public);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/events.js", line 119, in _emit
    return this._emitOnObject.apply(this, args);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/events.js", line 149, in _emitOnObject
    listener.apply(targetObj, params);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/windows/tabs.js", line 98, in _emitEvent
    tabs._emit(type, tab);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/events.js", line 119, in _emit
    return this._emitOnObject.apply(this, args);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/events.js", line 149, in _emitOnObject
    listener.apply(targetObj, params);
  File "resource://jid1-f9uj2thwoam5gq-at-jetpack/collusion/lib/main.js", line 216, in null
    var domain = getDomain(ioService.newURI(tab.url, null, null).host);
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://jid1-f9uj2thwoam5gq-at-jetpack/api-utils/lib/cuddlefish.js -> resource://jid1-f9uj2thwoam5gq-at-jetpack/collusion/lib/main.js :: <TOP_LEVEL> :: line 216"  data: no]


NOTE: I had a large number of tabs open and this was a restored session; so not every tab had been reloaded.
Component: Untriaged → Jetpack SDK
Product: Firefox → Mozilla Labs
QA Contact: untriaged → jetpack-sdk
Version: 11 Branch → unspecified
Closing all inactive bugs in Mozilla labs :: *
Please reopen if this are still relevant.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.