Skip to content

Commit 7e5f362

Browse files
committed
On win32, it's \r\n for xpcshell.ini line ending.
1 parent 45c5568 commit 7e5f362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/browser/parse_tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function loadTestData(callback) {
33
var xhrreq = new XMLHttpRequest();
44
xhrreq.onreadystatechange = function () {
55
if (xhrreq.readyState == 4) {
6-
var lines = xhrreq.responseText.split("\n").filter(function (line) {
6+
var lines = xhrreq.responseText.split("\r\n").filter(function (line) {
77
return line[0] == '[' && line != "[DEFAULT]";
88
}).map(function (line) {
99
return line.slice(1, -1);

0 commit comments

Comments
 (0)