summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-24 08:56:05 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-24 08:56:05 +0000
commit1beb83d5a3b5e816c816de8a80acef6226e7d874 (patch)
treee71f1c25eda55ba5418dc6e69f43a36c4445a84e
parentc8d64358e06bd7ff416b521147c267872fd30cb8 (diff)
downloaduxp-1beb83d5a3b5e816c816de8a80acef6226e7d874.tar.gz
Issue mcp-graveyard/UXP#1656 - Part 9: Single-line-comment style.
-rw-r--r--dom/imptests/idlharness.js1
-rw-r--r--dom/imptests/testharness.js1
-rw-r--r--intl/uconv/nsTextToSubURI.h1
-rw-r--r--js/src/jit-test/tests/basic/bug592927.js1
-rw-r--r--js/src/jit-test/tests/basic/bug606083.js1
-rw-r--r--js/src/jit-test/tests/basic/bug616762.js1
-rw-r--r--js/src/jit-test/tests/basic/bug633409-1.js1
-rw-r--r--js/src/jit-test/tests/basic/bug633409-2.js1
-rw-r--r--js/src/jit-test/tests/ion/bug674664-3.js1
-rw-r--r--js/src/jit-test/tests/ion/bug684362.js1
-rw-r--r--js/src/jit-test/tests/ion/bug747271.js1
-rw-r--r--js/src/jit-test/tests/ion/bug750588.js1
-rw-r--r--js/src/jit-test/tests/ion/bug772901.js1
-rw-r--r--js/src/jit-test/tests/ion/testPos.js1
-rw-r--r--js/src/jit-test/tests/ion/testSubtract.js1
-rw-r--r--js/src/jit-test/tests/ion/testVAndBranch.js1
-rw-r--r--js/src/jit-test/tests/ion/truncateToInt32.js1
-rw-r--r--js/src/jit-test/tests/ion/valueToInt32.js1
-rw-r--r--js/src/jit-test/tests/jaeger/bug592973-1.js1
-rw-r--r--js/src/jit-test/tests/jaeger/bug592973-3.js1
-rw-r--r--js/src/jit-test/tests/jaeger/bug597378.js1
-rw-r--r--js/src/jit-test/tests/jaeger/bug600139.js1
-rw-r--r--js/src/jit-test/tests/jaeger/bug600424.js1
-rw-r--r--js/src/jit-test/tests/jaeger/bug604381.js1
-rw-r--r--js/src/jit-test/tests/jaeger/bug616508.js1
-rw-r--r--js/src/jit-test/tests/jaeger/bug627486.js1
-rw-r--r--js/src/jit-test/tests/jaeger/floatTypedArrays.js1
-rw-r--r--js/src/jit-test/tests/jaeger/normalIntTypedArrays.js1
-rw-r--r--js/src/jit-test/tests/jaeger/smallIntTypedArrays.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testCallElemAfterGC.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testDenseCallElem.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testForOps.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testPropCallElem.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testPropCallElem2.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testSetElem-Easy.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testSetElem-Indexed.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testSetElem-NewProto.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testSetTypedFloatArray.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testSetTypedIntArray.js1
-rw-r--r--js/src/jit-test/tests/jaeger/testShiftSameBacking.js1
-rw-r--r--layout/base/tests/selection-utils.js1
-rw-r--r--netwerk/test/unit/test_bug894586.js1
-rw-r--r--security/nss/gtests/util_gtest/util_utf8_unittest.cc1
-rw-r--r--testing/web-platform/tests/resources/idlharness.js1
-rw-r--r--testing/web-platform/tests/resources/testharness.js1
-rw-r--r--toolkit/modules/Finder.jsm1
-rw-r--r--toolkit/modules/RemoteFinder.jsm1
47 files changed, 0 insertions, 47 deletions
diff --git a/dom/imptests/idlharness.js b/dom/imptests/idlharness.js
index 8e41703e65..dc0d9d5661 100644
--- a/dom/imptests/idlharness.js
+++ b/dom/imptests/idlharness.js
@@ -1703,4 +1703,3 @@ function IdlTypedef(obj)
IdlTypedef.prototype = Object.create(IdlObject.prototype);
}());
-// vim: set expandtab shiftwidth=4 tabstop=4 foldmarker=@{,@} foldmethod=marker:
diff --git a/dom/imptests/testharness.js b/dom/imptests/testharness.js
index f4c66aae62..4dccb409f6 100644
--- a/dom/imptests/testharness.js
+++ b/dom/imptests/testharness.js
@@ -2654,4 +2654,3 @@ policies and contribution forms [3].
test_environment.on_tests_ready();
})();
-// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/intl/uconv/nsTextToSubURI.h b/intl/uconv/nsTextToSubURI.h
index 372f414eb9..fe6b4de271 100644
--- a/intl/uconv/nsTextToSubURI.h
+++ b/intl/uconv/nsTextToSubURI.h
@@ -1,5 +1,4 @@
// -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-// vim: set ts=2 et sw=2 tw=80:
// This Source Code is subject to the terms of the Mozilla Public License
// version 2.0 (the "License"). You can obtain a copy of the License at
// http://mozilla.org/MPL/2.0/.
diff --git a/js/src/jit-test/tests/basic/bug592927.js b/js/src/jit-test/tests/basic/bug592927.js
index 69f0bd237e..16fbf8cf7a 100644
--- a/js/src/jit-test/tests/basic/bug592927.js
+++ b/js/src/jit-test/tests/basic/bug592927.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(x, y) {
x(f);
assertEq(y, "hello");
diff --git a/js/src/jit-test/tests/basic/bug606083.js b/js/src/jit-test/tests/basic/bug606083.js
index d8049b94fa..48254582e0 100644
--- a/js/src/jit-test/tests/basic/bug606083.js
+++ b/js/src/jit-test/tests/basic/bug606083.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(L) {
do {
L: for (var i = 0; i < L; i++) {
diff --git a/js/src/jit-test/tests/basic/bug616762.js b/js/src/jit-test/tests/basic/bug616762.js
index 02f5c953cf..ce3ba68c33 100644
--- a/js/src/jit-test/tests/basic/bug616762.js
+++ b/js/src/jit-test/tests/basic/bug616762.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
document = {
ready: function (x) {
this.exec = x;
diff --git a/js/src/jit-test/tests/basic/bug633409-1.js b/js/src/jit-test/tests/basic/bug633409-1.js
index 20eaa6cda5..aa0452eaa0 100644
--- a/js/src/jit-test/tests/basic/bug633409-1.js
+++ b/js/src/jit-test/tests/basic/bug633409-1.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
x = { a: 1, b: 2, c: 3, d: 4, e: 5, f: 6 };
for (i in x)
diff --git a/js/src/jit-test/tests/basic/bug633409-2.js b/js/src/jit-test/tests/basic/bug633409-2.js
index d3c498d6d2..2d2a96adc1 100644
--- a/js/src/jit-test/tests/basic/bug633409-2.js
+++ b/js/src/jit-test/tests/basic/bug633409-2.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
var o1 = {p1: 1};
var o2 = {p1: 1, p2: 2};
diff --git a/js/src/jit-test/tests/ion/bug674664-3.js b/js/src/jit-test/tests/ion/bug674664-3.js
index ce5a828d57..dcc0400bd7 100644
--- a/js/src/jit-test/tests/ion/bug674664-3.js
+++ b/js/src/jit-test/tests/ion/bug674664-3.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f0(p0) {
var v0;
do {
diff --git a/js/src/jit-test/tests/ion/bug684362.js b/js/src/jit-test/tests/ion/bug684362.js
index 9a83b053d7..51be29d10e 100644
--- a/js/src/jit-test/tests/ion/bug684362.js
+++ b/js/src/jit-test/tests/ion/bug684362.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(a) {
var k = a;
T: for (;;) {
diff --git a/js/src/jit-test/tests/ion/bug747271.js b/js/src/jit-test/tests/ion/bug747271.js
index 176a44a583..bfd5b46b77 100644
--- a/js/src/jit-test/tests/ion/bug747271.js
+++ b/js/src/jit-test/tests/ion/bug747271.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function randomFloat () {
// note that in fuzz-testing, this can used as the size of a buffer to allocate.
// so it shouldn't return astronomic values. The maximum value 10000000 is already quite big.
diff --git a/js/src/jit-test/tests/ion/bug750588.js b/js/src/jit-test/tests/ion/bug750588.js
index 6fa44d9cce..e83f2b06a5 100644
--- a/js/src/jit-test/tests/ion/bug750588.js
+++ b/js/src/jit-test/tests/ion/bug750588.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function S() {
var t = new Float32Array(1);
diff --git a/js/src/jit-test/tests/ion/bug772901.js b/js/src/jit-test/tests/ion/bug772901.js
index 164afd1517..c5845cc0a9 100644
--- a/js/src/jit-test/tests/ion/bug772901.js
+++ b/js/src/jit-test/tests/ion/bug772901.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(x) {
delete ((x)++);
diff --git a/js/src/jit-test/tests/ion/testPos.js b/js/src/jit-test/tests/ion/testPos.js
index 197650e9b1..ff063ea841 100644
--- a/js/src/jit-test/tests/ion/testPos.js
+++ b/js/src/jit-test/tests/ion/testPos.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f_int(x) {
return +x;
}
diff --git a/js/src/jit-test/tests/ion/testSubtract.js b/js/src/jit-test/tests/ion/testSubtract.js
index 2b4389b2a8..628384bcae 100644
--- a/js/src/jit-test/tests/ion/testSubtract.js
+++ b/js/src/jit-test/tests/ion/testSubtract.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f_int(x, y) {
return x - y;
}
diff --git a/js/src/jit-test/tests/ion/testVAndBranch.js b/js/src/jit-test/tests/ion/testVAndBranch.js
index c1fcc00e96..ec122e145f 100644
--- a/js/src/jit-test/tests/ion/testVAndBranch.js
+++ b/js/src/jit-test/tests/ion/testVAndBranch.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(x) {
if (x)
return true;
diff --git a/js/src/jit-test/tests/ion/truncateToInt32.js b/js/src/jit-test/tests/ion/truncateToInt32.js
index 462b411ad1..3c963ec543 100644
--- a/js/src/jit-test/tests/ion/truncateToInt32.js
+++ b/js/src/jit-test/tests/ion/truncateToInt32.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function w(y)
{
diff --git a/js/src/jit-test/tests/ion/valueToInt32.js b/js/src/jit-test/tests/ion/valueToInt32.js
index 65ad561eca..5ac583a9d1 100644
--- a/js/src/jit-test/tests/ion/valueToInt32.js
+++ b/js/src/jit-test/tests/ion/valueToInt32.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(x, y) {
// Confuse the type analysis to not know the type of x.
diff --git a/js/src/jit-test/tests/jaeger/bug592973-1.js b/js/src/jit-test/tests/jaeger/bug592973-1.js
index d3bafac623..c6f44bfe77 100644
--- a/js/src/jit-test/tests/jaeger/bug592973-1.js
+++ b/js/src/jit-test/tests/jaeger/bug592973-1.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(x) {
if (x) {
let y;
diff --git a/js/src/jit-test/tests/jaeger/bug592973-3.js b/js/src/jit-test/tests/jaeger/bug592973-3.js
index 541c39981a..38b4be7871 100644
--- a/js/src/jit-test/tests/jaeger/bug592973-3.js
+++ b/js/src/jit-test/tests/jaeger/bug592973-3.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f([a, b, c, d]) {
a = b;
return function () { return a + b + c + d; };
diff --git a/js/src/jit-test/tests/jaeger/bug597378.js b/js/src/jit-test/tests/jaeger/bug597378.js
index c766407ab5..899b9c6bcb 100644
--- a/js/src/jit-test/tests/jaeger/bug597378.js
+++ b/js/src/jit-test/tests/jaeger/bug597378.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(a, b) {
var o = a;
var q = b;
diff --git a/js/src/jit-test/tests/jaeger/bug600139.js b/js/src/jit-test/tests/jaeger/bug600139.js
index 61fa7283a0..f751f397b5 100644
--- a/js/src/jit-test/tests/jaeger/bug600139.js
+++ b/js/src/jit-test/tests/jaeger/bug600139.js
@@ -1,5 +1,4 @@
// |jit-test| error: ReferenceError
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(a, b, c) {
if (!a.__SSi) {
throw Components.returnCode = Cr.NS_ERROR_INVALID_ARG;
diff --git a/js/src/jit-test/tests/jaeger/bug600424.js b/js/src/jit-test/tests/jaeger/bug600424.js
index e59a06614f..f6044941de 100644
--- a/js/src/jit-test/tests/jaeger/bug600424.js
+++ b/js/src/jit-test/tests/jaeger/bug600424.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(a) {
var x = {
g: function () {
diff --git a/js/src/jit-test/tests/jaeger/bug604381.js b/js/src/jit-test/tests/jaeger/bug604381.js
index 3ca01cb362..05ddcf144d 100644
--- a/js/src/jit-test/tests/jaeger/bug604381.js
+++ b/js/src/jit-test/tests/jaeger/bug604381.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function F() {
var T = { };
diff --git a/js/src/jit-test/tests/jaeger/bug616508.js b/js/src/jit-test/tests/jaeger/bug616508.js
index d29bf75f9b..714cb27d8c 100644
--- a/js/src/jit-test/tests/jaeger/bug616508.js
+++ b/js/src/jit-test/tests/jaeger/bug616508.js
@@ -1,5 +1,4 @@
// |jit-test| error: ReferenceError
-// vim: set ts=8 sts=4 et sw=4 tw=99:
// Note: modified from original test, which used Uint32Array in place of Array,
// because the behavior has changed in a way that this will throw a TypeError
diff --git a/js/src/jit-test/tests/jaeger/bug627486.js b/js/src/jit-test/tests/jaeger/bug627486.js
index 7acc3b01e9..1e3877c09d 100644
--- a/js/src/jit-test/tests/jaeger/bug627486.js
+++ b/js/src/jit-test/tests/jaeger/bug627486.js
@@ -1,5 +1,4 @@
// |jit-test| error: TypeError
-// vim: set ts=8 sts=4 et sw=4 tw=99:
g = undefined;
function L() { }
diff --git a/js/src/jit-test/tests/jaeger/floatTypedArrays.js b/js/src/jit-test/tests/jaeger/floatTypedArrays.js
index 51ea7c0a16..e0fef9b5b7 100644
--- a/js/src/jit-test/tests/jaeger/floatTypedArrays.js
+++ b/js/src/jit-test/tests/jaeger/floatTypedArrays.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function testFloat32Array(L) {
var f = new Float32Array(8);
diff --git a/js/src/jit-test/tests/jaeger/normalIntTypedArrays.js b/js/src/jit-test/tests/jaeger/normalIntTypedArrays.js
index 8bb4627fa6..a8b8e15f3e 100644
--- a/js/src/jit-test/tests/jaeger/normalIntTypedArrays.js
+++ b/js/src/jit-test/tests/jaeger/normalIntTypedArrays.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function testInt32Array(L) {
var f = new Int32Array(8);
diff --git a/js/src/jit-test/tests/jaeger/smallIntTypedArrays.js b/js/src/jit-test/tests/jaeger/smallIntTypedArrays.js
index c63d36bf2a..3c77224dbd 100644
--- a/js/src/jit-test/tests/jaeger/smallIntTypedArrays.js
+++ b/js/src/jit-test/tests/jaeger/smallIntTypedArrays.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function testInt8Array(L) {
var f = new Int8Array(8);
diff --git a/js/src/jit-test/tests/jaeger/testCallElemAfterGC.js b/js/src/jit-test/tests/jaeger/testCallElemAfterGC.js
index 369aa2c6fb..495c3c9dbf 100644
--- a/js/src/jit-test/tests/jaeger/testCallElemAfterGC.js
+++ b/js/src/jit-test/tests/jaeger/testCallElemAfterGC.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function A() {
this.x = 12;
diff --git a/js/src/jit-test/tests/jaeger/testDenseCallElem.js b/js/src/jit-test/tests/jaeger/testDenseCallElem.js
index 0301048bf3..b350a8832d 100644
--- a/js/src/jit-test/tests/jaeger/testDenseCallElem.js
+++ b/js/src/jit-test/tests/jaeger/testDenseCallElem.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function fillDense(a) {
}
diff --git a/js/src/jit-test/tests/jaeger/testForOps.js b/js/src/jit-test/tests/jaeger/testForOps.js
index 773aae2495..f6057d1b5a 100644
--- a/js/src/jit-test/tests/jaeger/testForOps.js
+++ b/js/src/jit-test/tests/jaeger/testForOps.js
@@ -1,5 +1,4 @@
// |jit-test|
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function assertObjectsEqual(obj1, obj2) {
assertEq(obj1.a, obj2.a);
diff --git a/js/src/jit-test/tests/jaeger/testPropCallElem.js b/js/src/jit-test/tests/jaeger/testPropCallElem.js
index 2bb97fbe64..c4e7cb243d 100644
--- a/js/src/jit-test/tests/jaeger/testPropCallElem.js
+++ b/js/src/jit-test/tests/jaeger/testPropCallElem.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function testUKeyUObject(a, key1, key2, key3) {
a.a = function () { return this.d; }
diff --git a/js/src/jit-test/tests/jaeger/testPropCallElem2.js b/js/src/jit-test/tests/jaeger/testPropCallElem2.js
index 43f8efb0fb..2315802cad 100644
--- a/js/src/jit-test/tests/jaeger/testPropCallElem2.js
+++ b/js/src/jit-test/tests/jaeger/testPropCallElem2.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function testUKeyUObject(a, key1, key2, key3) {
a.a = function () { return this.d; }
diff --git a/js/src/jit-test/tests/jaeger/testSetElem-Easy.js b/js/src/jit-test/tests/jaeger/testSetElem-Easy.js
index ed8fc7c9a9..b8537c286d 100644
--- a/js/src/jit-test/tests/jaeger/testSetElem-Easy.js
+++ b/js/src/jit-test/tests/jaeger/testSetElem-Easy.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function testBadSetElems(obj, key) {
obj[key] = 5;
diff --git a/js/src/jit-test/tests/jaeger/testSetElem-Indexed.js b/js/src/jit-test/tests/jaeger/testSetElem-Indexed.js
index 01b42bd6b3..35c371de81 100644
--- a/js/src/jit-test/tests/jaeger/testSetElem-Indexed.js
+++ b/js/src/jit-test/tests/jaeger/testSetElem-Indexed.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f() {
return [[], [], [], []];
diff --git a/js/src/jit-test/tests/jaeger/testSetElem-NewProto.js b/js/src/jit-test/tests/jaeger/testSetElem-NewProto.js
index f202513d53..a6305942e6 100644
--- a/js/src/jit-test/tests/jaeger/testSetElem-NewProto.js
+++ b/js/src/jit-test/tests/jaeger/testSetElem-NewProto.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f() {
return [[], [], [], []];
diff --git a/js/src/jit-test/tests/jaeger/testSetTypedFloatArray.js b/js/src/jit-test/tests/jaeger/testSetTypedFloatArray.js
index 33e38dd3fc..ede491e163 100644
--- a/js/src/jit-test/tests/jaeger/testSetTypedFloatArray.js
+++ b/js/src/jit-test/tests/jaeger/testSetTypedFloatArray.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function testSetTypedFloat32Array(k) {
var ar = new Float32Array(8);
diff --git a/js/src/jit-test/tests/jaeger/testSetTypedIntArray.js b/js/src/jit-test/tests/jaeger/testSetTypedIntArray.js
index 89e943b698..e41a478142 100644
--- a/js/src/jit-test/tests/jaeger/testSetTypedIntArray.js
+++ b/js/src/jit-test/tests/jaeger/testSetTypedIntArray.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function testSetTypedInt8Array(k) {
var ar = new Int8Array(8);
diff --git a/js/src/jit-test/tests/jaeger/testShiftSameBacking.js b/js/src/jit-test/tests/jaeger/testShiftSameBacking.js
index 1cbe064d3f..13e27c29eb 100644
--- a/js/src/jit-test/tests/jaeger/testShiftSameBacking.js
+++ b/js/src/jit-test/tests/jaeger/testShiftSameBacking.js
@@ -1,4 +1,3 @@
-// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(a) {
var x = a;
diff --git a/layout/base/tests/selection-utils.js b/layout/base/tests/selection-utils.js
index a14ff0d817..ed902e1cf1 100644
--- a/layout/base/tests/selection-utils.js
+++ b/layout/base/tests/selection-utils.js
@@ -1,5 +1,4 @@
// -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*-
-// vim: set ts=2 sw=2 et tw=78:
function clearSelection(w)
{
var sel = (w ? w : window).getSelection();
diff --git a/netwerk/test/unit/test_bug894586.js b/netwerk/test/unit/test_bug894586.js
index 97b9ee20f6..47649d12e7 100644
--- a/netwerk/test/unit/test_bug894586.js
+++ b/netwerk/test/unit/test_bug894586.js
@@ -154,5 +154,4 @@ function run_test()
}
}
-// vim: set et ts=2 :
diff --git a/security/nss/gtests/util_gtest/util_utf8_unittest.cc b/security/nss/gtests/util_gtest/util_utf8_unittest.cc
index d57f01d226..60d31543fd 100644
--- a/security/nss/gtests/util_gtest/util_utf8_unittest.cc
+++ b/security/nss/gtests/util_gtest/util_utf8_unittest.cc
@@ -1,5 +1,4 @@
// -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-// vim: set ts=2 et sw=2 tw=80:
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
diff --git a/testing/web-platform/tests/resources/idlharness.js b/testing/web-platform/tests/resources/idlharness.js
index 6089646591..314223001e 100644
--- a/testing/web-platform/tests/resources/idlharness.js
+++ b/testing/web-platform/tests/resources/idlharness.js
@@ -1850,4 +1850,3 @@ function IdlTypedef(obj)
IdlTypedef.prototype = Object.create(IdlObject.prototype);
}());
-// vim: set expandtab shiftwidth=4 tabstop=4 foldmarker=@{,@} foldmethod=marker:
diff --git a/testing/web-platform/tests/resources/testharness.js b/testing/web-platform/tests/resources/testharness.js
index 5b924b1094..921c3b1e29 100644
--- a/testing/web-platform/tests/resources/testharness.js
+++ b/testing/web-platform/tests/resources/testharness.js
@@ -2679,4 +2679,3 @@ policies and contribution forms [3].
test_environment.on_tests_ready();
})();
-// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/toolkit/modules/Finder.jsm b/toolkit/modules/Finder.jsm
index c2a9af5b15..0ad0a39c76 100644
--- a/toolkit/modules/Finder.jsm
+++ b/toolkit/modules/Finder.jsm
@@ -1,4 +1,3 @@
-// vim: set ts=2 sw=2 sts=2 tw=80:
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
diff --git a/toolkit/modules/RemoteFinder.jsm b/toolkit/modules/RemoteFinder.jsm
index ae20da4501..8615eee018 100644
--- a/toolkit/modules/RemoteFinder.jsm
+++ b/toolkit/modules/RemoteFinder.jsm
@@ -1,5 +1,4 @@
// -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
-// vim: set ts=2 sw=2 sts=2 et tw=80: */
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.