Bug 1561435 - Format ipc/, a=automatic-formatting

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35909

--HG--
extra : source : 2fa9743b80561bb68a7b4bf76b1b636d97d82942
This commit is contained in:
Victor Porof 2019-07-05 10:48:16 +02:00
Родитель d7fc678482
Коммит 251f88082d
3 изменённых файлов: 11 добавлений и 12 удалений

Просмотреть файл

@ -45,7 +45,6 @@ module.exports = {
"overrides": [{
"files": [
"devtools/**",
"ipc/**",
"js/**",
"layout/**",
"media/**",

Просмотреть файл

@ -40,7 +40,6 @@ toolkit/components/telemetry/datareporting-prefs.js
toolkit/components/telemetry/healthreport-prefs.js
# Ignore all top-level directories for now.
ipc/**
js/**
layout/**
media/**

Просмотреть файл

@ -15,15 +15,16 @@ function run_test() {
sendCommand("runtime.processType;", callback);
[ [ "C", "D" ], [ "D", "C" ], [ "\u010C", "D" ], [ "D", "\u010C" ] ].forEach(
function(pair) {
do_test_pending();
var cmp = pair[0].localeCompare(pair[1]);
sendCommand(
"'" + pair[0] + "'.localeCompare('" + pair[1] + "');",
function(result) {
Assert.equal(cmp, result);
do_test_finished();
});
[["C", "D"], ["D", "C"], ["\u010C", "D"], ["D", "\u010C"]].forEach(function(
pair
) {
do_test_pending();
var cmp = pair[0].localeCompare(pair[1]);
sendCommand("'" + pair[0] + "'.localeCompare('" + pair[1] + "');", function(
result
) {
Assert.equal(cmp, result);
do_test_finished();
});
});
}