| Index: test/inspector/runtime/protocol-works-with-different-locale.js
|
| diff --git a/test/inspector/runtime/protocol-works-with-different-locale.js b/test/inspector/runtime/protocol-works-with-different-locale.js
|
| index 27be5ed9053fb23f4025db9c681a6e9720f3037d..950bfdbf6b0965e51f50ed2a4b99443548900d6c 100644
|
| --- a/test/inspector/runtime/protocol-works-with-different-locale.js
|
| +++ b/test/inspector/runtime/protocol-works-with-different-locale.js
|
| @@ -13,27 +13,27 @@ InspectorTest.runTestSuite([
|
|
|
| function consoleTimeWithCommaAsSeparator(next) {
|
| InspectorTest.log("set locale to fr_CA.UTF-8 (has comma as separator)");
|
| - setlocale("fr_CA.UTF-8");
|
| - setCurrentTimeMSForTest(0.0);
|
| + utils.setlocale("fr_CA.UTF-8");
|
| + utils.setCurrentTimeMSForTest(0.0);
|
| Protocol.Runtime.evaluate({ expression: "console.time(\"a\");"})
|
| - .then(() => setCurrentTimeMSForTest(0.001))
|
| + .then(() => utils.setCurrentTimeMSForTest(0.001))
|
| .then(() => Protocol.Runtime.evaluate({ expression: "console.timeEnd(\"a\");"}))
|
| .then(next);
|
| },
|
|
|
| function consoleLogWithCommaAsSeparator(next) {
|
| InspectorTest.log("set locale to fr_CA.UTF-8 (has comma as separator)");
|
| - setlocale("fr_CA.UTF-8");
|
| + utils.setlocale("fr_CA.UTF-8");
|
| Protocol.Runtime.evaluate({ expression: "console.log(239) "}).then(next);
|
| },
|
|
|
| function consoleTimeWithCommaAfterConsoleLog(next) {
|
| InspectorTest.log("set locale to fr_CA.UTF-8 (has comma as separator)");
|
| - setlocale("fr_CA.UTF-8");
|
| + utils.setlocale("fr_CA.UTF-8");
|
| Protocol.Runtime.evaluate({ expression: "console.log(239) "})
|
| - .then(() => setCurrentTimeMSForTest(0.0))
|
| + .then(() => utils.setCurrentTimeMSForTest(0.0))
|
| .then(() => Protocol.Runtime.evaluate({ expression: "console.time(\"a\");"}))
|
| - .then(() => setCurrentTimeMSForTest(0.001))
|
| + .then(() => utils.setCurrentTimeMSForTest(0.001))
|
| .then(() => Protocol.Runtime.evaluate({ expression: "console.timeEnd(\"a\");"}))
|
| .then(next);
|
| }
|
|
|