GNOME Bugzilla – Bug 784197
js warning: octal literals and octal es cape sequences are deprecated
Last modified: 2017-10-13 13:35:11 UTC
Login as gnome-classic session, there is JS WARNING. JS WARNING: [/usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/extension.js 361]: octal literals and octal escape sequences are deprecated
Created attachment 354471 [details] [review] Replace octal literals with parseInt
Review of attachment 354471 [details] [review]: ::: extensions/apps-menu/extension.js @@ +359,3 @@ try { let info = o.query_info_finish(res); + let mode = info.get_attribute_uint32(modeAttr) | parseInt("0100", 8); Yeah, that code got in before I learned about the weird non-deprecated syntax to write octal numbers: 0o100. We should use that.
This has been fixed in the meantime. *** This bug has been marked as a duplicate of bug 787294 ***