Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 251f880

Browse files
author
Victor Porof
committed
Bug 1561435 - Format ipc/, a=automatic-formatting
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35909 --HG-- extra : source : 2fa9743b80561bb68a7b4bf76b1b636d97d82942
1 parent d7fc678 commit 251f880

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ module.exports = {
4545
"overrides": [{
4646
"files": [
4747
"devtools/**",
48-
"ipc/**",
4948
"js/**",
5049
"layout/**",
5150
"media/**",

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ toolkit/components/telemetry/datareporting-prefs.js
4040
toolkit/components/telemetry/healthreport-prefs.js
4141

4242
# Ignore all top-level directories for now.
43-
ipc/**
4443
js/**
4544
layout/**
4645
media/**

ipc/testshell/tests/test_ipcshell.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ function run_test() {
1515

1616
sendCommand("runtime.processType;", callback);
1717

18-
[ [ "C", "D" ], [ "D", "C" ], [ "\u010C", "D" ], [ "D", "\u010C" ] ].forEach(
19-
function(pair) {
20-
do_test_pending();
21-
var cmp = pair[0].localeCompare(pair[1]);
22-
sendCommand(
23-
"'" + pair[0] + "'.localeCompare('" + pair[1] + "');",
24-
function(result) {
25-
Assert.equal(cmp, result);
26-
do_test_finished();
27-
});
18+
[["C", "D"], ["D", "C"], ["\u010C", "D"], ["D", "\u010C"]].forEach(function(
19+
pair
20+
) {
21+
do_test_pending();
22+
var cmp = pair[0].localeCompare(pair[1]);
23+
sendCommand("'" + pair[0] + "'.localeCompare('" + pair[1] + "');", function(
24+
result
25+
) {
26+
Assert.equal(cmp, result);
27+
do_test_finished();
2828
});
29+
});
2930
}

0 commit comments

Comments
 (0)