Closed Bug 777939 Opened 8 years ago Closed 8 years ago

onStopListening is not implemented in the shell.js REPL

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marshall, Assigned: marshall)

References

Details

Attachments

(1 file)

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