зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1421398 - Enable test262 tests. r=anba
This commit is contained in:
Родитель
6d6ed783bc
Коммит
1f2f07d75c
|
@ -49,6 +49,9 @@ skip-if(!this.hasOwnProperty("SharedArrayBuffer")) script test262/built-ins/Arra
|
|||
skip-if(!this.hasOwnProperty("SharedArrayBuffer")) script test262/built-ins/ArrayBuffer/prototype/slice/this-is-sharedarraybuffer.js
|
||||
skip-if(!this.hasOwnProperty("SharedArrayBuffer")) script test262/built-ins/TypedArrays/internals/Get/indexed-value-sab.js
|
||||
|
||||
# flatMap and flatten are Nightly-only
|
||||
skip-if(!Array.prototype.flatMap) include test262/built-ins/Array/prototype/flatMap/jstests.list
|
||||
skip-if(!Array.prototype.flatten) include test262/built-ins/Array/prototype/flatten/jstests.list
|
||||
|
||||
#####################################
|
||||
# Test262 tests disabled on browser #
|
||||
|
|
|
@ -20,8 +20,6 @@ from itertools import chain, imap
|
|||
# Skip all tests which use features not supported in SpiderMonkey.
|
||||
UNSUPPORTED_FEATURES = set([
|
||||
"tail-call-optimization",
|
||||
"Array.prototype.flatMap",
|
||||
"Array.prototype.flatten",
|
||||
"BigInt",
|
||||
"class-fields-public",
|
||||
"class-fields-private",
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatMap is not supported
|
||||
'use strict';
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// |reftest| skip -- Array.prototype.flatten is not supported
|
||||
// Copyright (C) 2018 Shilpi Jain and Michael Ficarra. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
|
|
Загрузка…
Ссылка в новой задаче