nsIUDPSocket doesn't work for IPv6 in JS

UNCONFIRMED
Unassigned

Status

()

Core
Networking
P3
normal
UNCONFIRMED
3 years ago
4 months ago

People

(Reporter: Ben Schwartz, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [necko-backlog])

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2431.0 Safari/537.36

Steps to reproduce:

I read nsIUDPSocket.idl
https://dxr.mozilla.org/comm-central/source/mozilla/netwerk/base/nsIUDPSocket.idl#124


Actual results:

The init() method doesn't take an address, or even an address family, so javascript has no way to choose the address family.


Expected results:

initWithAddress should be exposed to javascript, so that it can choose the address family (and the address!) to bind.

Updated

3 years ago
Component: Untriaged → Networking
Product: Firefox → Core
Whiteboard: [necko-backlog]
You need to log in before you can comment on or make changes to this bug.