Closed Bug 513336 Opened 15 years ago Closed 15 years ago

Not enough arguments [nsISocketTransport.close] error at http://3liz.org/geolocation/ after page loads

Categories

(Core :: DOM: Geolocation, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 513567

People

(Reporter: u88484, Unassigned)

References

()

Details

Not enough arguments [nsISocketTransport.close] error at http://3liz.org/geolocation/ after page loads

STR:
1) Go to http://3liz.org/geolocation/
2) Click the 'Share Location' button on the geolocation notification bar
3) Once page laods, the following error appears in the error console

Error: Not enough arguments [nsISocketTransport.close] = NS_ERROR_XPC_NOT_ENOUGH_ARGS
Source file: file:///C:/Junk/firefox/components/GPSDGeolocationProvider.js
Line: 180
need to pass an error code, i think.
I can't seem to reproduce this today but I did get the following once (not that it is related to this bug):

Error: this.element.scrolls is null
Source file: http://3liz.org/geolocation/OpenLayers.js
Line: 466
(In reply to comment #1)
> need to pass an error code, i think.

Yea, I missed that. Might explain why it wasn't working as expected.(transport.close() should close the sockets too)

NS_OK alright to pass back here? Saying as the close is expected?
yes, passing NS_OK should be fine in this case.  we do something very similar in the http socket code.
Duplicate of bug 513567. Fix has been landed.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.