[gjs] dbus: Use hex in string literals instead of deprecated octal syntax



commit 734c82571e879a16b4600319dcbb793261cd5980
Author: Colin Walters <walters verbum org>
Date:   Mon Sep 20 16:24:25 2010 -0400

    dbus: Use hex in string literals instead of deprecated octal syntax
    
    Octal appears to be deprecated in XULRunner 1.9.3.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630416

 test/js/testDbus.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/js/testDbus.js b/test/js/testDbus.js
index a426126..8f503ea 100644
--- a/test/js/testDbus.js
+++ b/test/js/testDbus.js
@@ -757,7 +757,7 @@ function testGetMessageContextAsync() {
 }
 
 function testByteArrays() {
-    let someString = "Hello\0world!\0\0\1\2\3";
+    let someString = "Hello\x00world!\x00\x00\x01\x02\x03";
     let theResult, theExcp;
     Mainloop.idle_add(function() {
                           let proxy = new Malarky();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]