[gjs/wip/xulrunner-1.9.3-rebase4: 15/16] dbus: Use hex in string literals instead of deprecated octal syntax



commit ff54ecf9f74b2c96a6e8f0da13f4b08c738bd6f9
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.

 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]