summaryrefslogtreecommitdiffstats
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
UXP-6b9f2095a314fcdef1651fa91ce02161b90131e4.tar.gz
UXP-6b9f2095a314fcdef1651fa91ce02161b90131e4.tar.lz
UXP-6b9f2095a314fcdef1651fa91ce02161b90131e4.tar.xz
UXP-6b9f2095a314fcdef1651fa91ce02161b90131e4.zip
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 69f0bd237..16fbf8cf7 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 d8049b94f..48254582e 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 02f5c953c..ce3ba68c3 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 20eaa6cda..aa0452eaa 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 d3c498d6d..2d2a96adc 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 ce5a828d5..dcc0400bd 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 9a83b053d..51be29d10 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 176a44a58..bfd5b46b7 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 6fa44d9cc..e83f2b06a 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 164afd151..c5845cc0a 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 197650e9b..ff063ea84 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 2b4389b2a..628384bca 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 c1fcc00e9..ec122e145 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 462b411ad..3c963ec54 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 65ad561ec..5ac583a9d 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 d3bafac62..c6f44bfe7 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 541c39981..38b4be787 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 c766407ab..899b9c6bc 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 61fa7283a..f751f397b 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 e59a06614..f6044941d 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 3ca01cb36..05ddcf144 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 d29bf75f9..714cb27d8 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 7acc3b01e..1e3877c09 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 51ea7c0a1..e0fef9b5b 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 8bb4627fa..a8b8e15f3 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 c63d36bf2..3c77224db 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 369aa2c6f..495c3c9db 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 0301048bf..b350a8832 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 773aae249..f6057d1b5 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 2bb97fbe6..c4e7cb243 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 43f8efb0f..2315802ca 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 ed8fc7c9a..b8537c286 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 01b42bd6b..35c371de8 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 f202513d5..a6305942e 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 33e38dd3f..ede491e16 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 89e943b69..e41a47814 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 1cbe064d3..13e27c29e 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;