[Bug 20505] merge getInput, getOutput -> getPort() or getPortById()

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20505

--- Comment #8 from Jussi Kalliokoski <jussi.kalliokoski@gmail.com> ---
(In reply to comment #7)
> I don't believe the system would ever confuse an input and an output
> fingerprint.  In my shim implementation, I'll simply prepend "i" or "o" to
> identify.  The confusion potential with fingerprints is across sessions,
> when you have multiple ports with the same name in the system, when the
> indices change (e.g. when a device is added or removed from the system) -
> For example, I have two Novation Launchpads (not an uncommon thing).  If I
> add a controller that ends up (according to the OS) showing up in the list
> of interfaces before those, suddenly one of those might be at index 5
> instead of 4 - and the other one is at index 4, and looks just like the
> other one used to in terms of name, manufacturer, index... everything that
> persists.

You're probably right, it seems unlikely that the IDs would get confused.
Sounds good, I'm fine with going ahead and merging the methods.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 26 December 2012 18:12:05 UTC