File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ //-------------------------------------------------------------------------------------------------------
2
+ // Copyright (C) Microsoft. All rights reserved.
3
+ // Copyright (c) ChakraCore Project Contributors. All rights reserved.
4
+ // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
5
+ //-------------------------------------------------------------------------------------------------------
6
+
7
+ WScript . LoadScriptFile ( "..\\UnitTestFramework\\UnitTestFramework.js" ) ;
8
+
9
+ const uint32Max = 4294967295 ;
10
+ const tests = [
11
+ {
12
+ name : "Issue #6770 (Assertion failure in copyWithin)" ,
13
+ body ( ) {
14
+ const array = [ ] ;
15
+ array . length = uint32Max ;
16
+ array . copyWithin ( ) ;
17
+ }
18
+ }
19
+ ] ;
20
+ testRunner . runTests ( tests , { verbose : WScript . Arguments [ 0 ] != "summary" } ) ;
Original file line number Diff line number Diff line change 508
508
<compile-flags >-ES6ObjectLiterals -args summary -endargs</compile-flags >
509
509
</default >
510
510
</test >
511
+ <test >
512
+ <default >
513
+ <files >ES6ArrayAPI_slow.js</files >
514
+ <compile-flags >-ES6ObjectLiterals -args summary -endargs</compile-flags >
515
+ <tags >Slow</tags >
516
+ </default >
517
+ </test >
511
518
<test >
512
519
<default >
513
520
<files >ES6ArrayUseConstructor.js</files >
You can’t perform that action at this time.
0 commit comments