forked from mirrors/gecko-dev
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:
parent
d7fc678482
commit
251f88082d
3 changed files with 11 additions and 12 deletions
|
|
@ -45,7 +45,6 @@ module.exports = {
|
||||||
"overrides": [{
|
"overrides": [{
|
||||||
"files": [
|
"files": [
|
||||||
"devtools/**",
|
"devtools/**",
|
||||||
"ipc/**",
|
|
||||||
"js/**",
|
"js/**",
|
||||||
"layout/**",
|
"layout/**",
|
||||||
"media/**",
|
"media/**",
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@ toolkit/components/telemetry/datareporting-prefs.js
|
||||||
toolkit/components/telemetry/healthreport-prefs.js
|
toolkit/components/telemetry/healthreport-prefs.js
|
||||||
|
|
||||||
# Ignore all top-level directories for now.
|
# Ignore all top-level directories for now.
|
||||||
ipc/**
|
|
||||||
js/**
|
js/**
|
||||||
layout/**
|
layout/**
|
||||||
media/**
|
media/**
|
||||||
|
|
|
||||||
|
|
@ -15,13 +15,14 @@ function run_test() {
|
||||||
|
|
||||||
sendCommand("runtime.processType;", callback);
|
sendCommand("runtime.processType;", callback);
|
||||||
|
|
||||||
[ [ "C", "D" ], [ "D", "C" ], [ "\u010C", "D" ], [ "D", "\u010C" ] ].forEach(
|
[["C", "D"], ["D", "C"], ["\u010C", "D"], ["D", "\u010C"]].forEach(function(
|
||||||
function(pair) {
|
pair
|
||||||
|
) {
|
||||||
do_test_pending();
|
do_test_pending();
|
||||||
var cmp = pair[0].localeCompare(pair[1]);
|
var cmp = pair[0].localeCompare(pair[1]);
|
||||||
sendCommand(
|
sendCommand("'" + pair[0] + "'.localeCompare('" + pair[1] + "');", function(
|
||||||
"'" + pair[0] + "'.localeCompare('" + pair[1] + "');",
|
result
|
||||||
function(result) {
|
) {
|
||||||
Assert.equal(cmp, result);
|
Assert.equal(cmp, result);
|
||||||
do_test_finished();
|
do_test_finished();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue