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:
adamk 2015-10-15 10:39:33 -07:00 committed by Commit bot
parent b3334087ec
commit e5db1d58e5
6 changed files with 0 additions and 11 deletions

View File

@ -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);
})();

View File

@ -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), []);

View File

@ -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];

View File

@ -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];

View File

@ -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);

View File

@ -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.