Exception in jetpack sdk causes firefox to grab mouse

UNCONFIRMED
Unassigned

Status

Mozilla Labs
Jetpack SDK
UNCONFIRMED
6 years ago
6 years ago

People

(Reporter: Anand Kumria, Unassigned)

Tracking

Details

(Reporter)

Description

6 years ago
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
You need to log in before you can comment on or make changes to this bug.