Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
deps: update ChakraCore to chakra-core/ChakraCore@91ec1ef92c
Browse files Browse the repository at this point in the history
[1.8>1.9] [MERGE #4646 @obastemur] typedarray: new builtin_from test

Merge pull request #4646 from obastemur:new_arr_test

Moving a test case from release brach. Original test credit goes to @curtisman

Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
  • Loading branch information
obastemur authored and chakrabot committed Feb 8, 2018
1 parent 1a2c13c commit 8c30a84
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deps/chakrashim/core/test/typedarray/builtin_from.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------

var a = "yy?x¼$w 5?åoê?»'i?ºE-N¼ë6_»\\ d";
if (Uint8Array.from(a, c=>c.charCodeAt(0)) + "" == "121,121,63,120,253,36,119,32,32,32,32,53,63,253,111,253,63,253,39,105,63,253,69,45,78,253,253,54,95,253,92,32,100")
{
print("pass");
}
6 changes: 6 additions & 0 deletions deps/chakrashim/core/test/typedarray/rlexe.xml
Original file line number Diff line number Diff line change
Expand Up @@ -382,4 +382,10 @@ Below test fails with difference in space. Investigate the cause and re-enable t
<files>CrossSiteVirtual.js</files>
</default>
</test>
<test>
<default>
<files>builtin_from.js</files>
<tags>typedarray</tags>
</default>
</test>
</regress-exe>

0 comments on commit 8c30a84

Please sign in to comment.