Closed Bug 881601 Opened 11 years ago Closed 11 years ago

JavaScript Error: "this._marionetteServer is undefined"

Categories

(Remote Protocol :: Marionette, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla24

People

(Reporter: Dolske, Assigned: jgriffin)

References

Details

Attachments

(1 file)

My Windows build (current mozilla-central) is throwing this exception when I quit:

************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "this._marionetteServer is undefined" {file:
"file:///d:/mozilla-central/obj/dist/bin/components/marionettecomponent.js" line
: 140}]' when calling method: [nsIObserver::observe]"  nsresult: "0x80570021 (NS
_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "native frame :: <unknown
filename> :: <TOP_LEVEL> :: line 0"  data: yes]
************************************************************

Line 140 is the closeListener call:

  uninit: function mc_uninit() {
    this._marionetteServer.closeListener();
    this._loaded = false;
  },


[Aside, MXR seems busted at the moment, it's view of https://mxr.mozilla.org/mozilla-central/source/testing/marionette/components/marionettecomponent.js is months and 4 changesets out-of-date. Whuck.]
Assignee: nobody → jgriffin
Comment on attachment 762039 [details] [diff] [review]
Don't close the listener if it was never opened,

lgtm
Attachment #762039 - Flags: review?(wlachance) → review+
(In reply to Justin Dolske [:Dolske] from comment #0)

> [Aside, MXR seems busted at the moment, it's view of
> https://mxr.mozilla.org/mozilla-central/source/testing/marionette/components/
> marionettecomponent.js is months and 4 changesets out-of-date. Whuck.]

DXR seems to be up-to-date, and is faster to boot: 

http://dxr.mozilla.org

:)
https://hg.mozilla.org/mozilla-central/rev/da56c7a59b9e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: