onStopListening is not implemented in the shell.js REPL

RESOLVED FIXED

Status

defect
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: marshall, Assigned: marshall)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

When the b2g process exits, an error occurs when the REPL server socket tries to call onStopListening on the socket listener in shell.js:

> [JavaScript Error: "[Exception... "'JavaScript component does not have a method named: "onStopListening"' when calling method: [nsIServerSocketListener::onStopListening]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0"  data: no]"]

This error stops the process from exiting
Attachment #646356 - Flags: review?(21)
Comment on attachment 646356 [details] [diff] [review]
onStopListening - v1

Review of attachment 646356 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks I was wondering where it does comes from.
Attachment #646356 - Flags: review?(21) → review+
https://hg.mozilla.org/mozilla-central/rev/2ed080988987
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.