summaryrefslogtreecommitdiff
path: root/js
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
commit6b9f2095a314fcdef1651fa91ce02161b90131e4 (patch)
treee71f1c25eda55ba5418dc6e69f43a36c4445a84e /js
parent4a42352e6418b69e600422fc516ad1e74c708fa9 (diff)
downloaduxp-6b9f2095a314fcdef1651fa91ce02161b90131e4.tar.gz
Issue #1656 - Part 9: Single-line-comment style.
Diffstat (limited to 'js')
-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
37 files changed, 0 insertions, 37 deletions
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;