Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some code called array.toString() on a Uint8Array instance #44

Closed
HarlemSquirrel opened this issue Sep 21, 2018 · 0 comments
Closed

Some code called array.toString() on a Uint8Array instance #44

HarlemSquirrel opened this issue Sep 21, 2018 · 0 comments

Comments

@HarlemSquirrel
Copy link
Contributor

HarlemSquirrel commented Sep 21, 2018

I found these messages when looking at journalctl -b -p 0..4.

Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array).
(Note that array.toString() may have been called implicitly.)
0 parseOutput() ["/home/hs/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/convenience.js":110]
1 refreshCards() ["/home/hs/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/convenience.js":104]
2 getProfiles() ["/home/hs/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/convenience.js":77]
3 _deviceAdded() ["/home/hs/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/base.js":142]
4 wrapper() ["resource:///org/gnome/gjs/modules/_legacy.js":82]
5 _onControlStateChanged() ["/home/hs/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/base.js":92]
6 wrapper() ["resource:///org/gnome/gjs/modules/_legacy.js":82]
7 wrapper() ["self-hosted":979]
HarlemSquirrel added a commit to HarlemSquirrel/gse-sound-output-device-chooser that referenced this issue Sep 21, 2018
mdmower pushed a commit to mdmower/gse-sound-output-device-chooser that referenced this issue Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant