3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/console-test.js"></script>
10 ["10% x 20%", "of the original"],
20 ["%d % %s", 1, "foo"],
24 for (var i
= 0; i
< params
.length
; ++i
)
25 InspectorTest
.addResult("String.sprintf(" + params
[i
].join(", ") + ") = \"" + String
.sprintf
.apply(String
, params
[i
]) + "\"");
26 InspectorTest
.completeTest();
31 <body onload=
"runTest()">
33 Tests that formatting processes '%' properly in case of missing formatters.