linux-man / gnome-shell-extension-printers

Gnome extension - Manage Jobs and Printers
GNU General Public License v3.0
14 stars 13 forks source link

Added fix for issue when appending to ByteArray #10

Closed ArtyomZorin closed 5 years ago

ArtyomZorin commented 5 years ago

Fix for the this error message in Gnome Shell 3.30: 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).

linux-man commented 5 years ago

Thank you. So I guess that this change is only needed for 3.30 and later. I'll update the extension ASAP.