Remove stale references to --harmony-arrays flag in mjsunit tests
Also move those tests from mjsunit/harmony to mjsunit/es6. R=littledan@chromium.org Review URL: https://codereview.chromium.org/1403633007 Cr-Commit-Position: refs/heads/master@{#31314}
This commit is contained in:
parent
b3334087ec
commit
e5db1d58e5
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flags: --harmony-arrays
|
||||
|
||||
(function copyWithinArity() {
|
||||
assertEquals(Array.prototype.copyWithin.length, 2);
|
||||
})();
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flags: --harmony-arrays
|
||||
|
||||
assertEquals(1, Array.prototype.fill.length);
|
||||
|
||||
assertArrayEquals([].fill(8), []);
|
@ -25,8 +25,6 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Flags: --harmony-arrays
|
||||
|
||||
assertEquals(1, Array.prototype.find.length);
|
||||
|
||||
var a = [21, 22, 23, 24];
|
@ -25,8 +25,6 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Flags: --harmony-arrays
|
||||
|
||||
assertEquals(1, Array.prototype.findIndex.length);
|
||||
|
||||
var a = [21, 22, 23, 24];
|
@ -2,7 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flags: --harmony-arrays
|
||||
(function() {
|
||||
|
||||
assertEquals(1, Array.from.length);
|
@ -4,8 +4,6 @@
|
||||
|
||||
// Based on Mozilla Array.of() tests at http://dxr.mozilla.org/mozilla-central/source/js/src/jit-test/tests/collections
|
||||
|
||||
// Flags: --harmony-arrays
|
||||
|
||||
|
||||
|
||||
// Array.of makes real arrays.
|
Loading…
Reference in New Issue
Block a user