[Webkit-unassigned] [Bug 187520] New: Accessing invalid property index on TypedArray

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 10 08:42:03 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=187520

            Bug ID: 187520
           Summary: Accessing invalid property index on TypedArray
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gfablima at gmail.com

Hi everyone,
I found an inconsistence in jsc when we try to get an invalid property in a TypedArray, 
in this case a Float32Array.

Steps to reproduce:
var a = new Float32Array([0.1, 0.2, 0.3]);
print(Object.getOwnPropertyNames(a).sort())
var c = a.hasOwnProperty(3);
if (c) throw new Error("Test failed");

Actual results:
0,1,2
Error: Test failed

Expected results:
0,1,2

V8, SpiderMonkey and Chakra works as expected.

OS: Ubuntu 16.04 x64
Version: 606.1.9.4

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180710/dc002190/attachment.html>


More information about the webkit-unassigned mailing list