Closed Bug 1590829 Opened 5 years ago Closed 2 years ago

RemoteAgent.listen() should accept nsIURI instead of AString

Categories

(Remote Protocol :: Agent, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ato, Unassigned)

References

Details

Bug 1543115 introduced nsIRemoteAgent.listen(AString address),
but we probably want to pass in a nsIURI instead.

Depends on: 1543115

Nika helpfully provided some hints how this can be done in D50289:

In general modern xpcom APIs are not designed with rust in mind,
and may not support being called from Rust code. I haven't had any
chances to work on the rust-xpcom bindings since 2 years ago, so I
wouldn't be surprised if they have limited functionality.

That being said, I believe the following should work:

Using these APIs might be a bit inconvenient from rust code, though,
due to how these methods are translated into rust code.

Priority: -- → P3

With the work on bug 1717899 the listen() method will no longer be available. As such this bug is no longer needed.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
See Also: → 1717899
You need to log in before you can comment on or make changes to this bug.