[Webkit-unassigned] [Bug 184267] New: Array.prototype.concat with Proxy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 3 10:00:04 PDT 2018


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

            Bug ID: 184267
           Summary: Array.prototype.concat with Proxy
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: p.dartus at salesforce.com

**Step to reproduce:**
const proxy = new Proxy([3, 4], {});
const res = [1, 2].concat(proxy);

console.log(res[0]);
console.log(res[1]);
console.log(res[2]);
console.log(res[3]);

**Expected output:**
1
2
3
4

**Actual output:**
1
2
Proxy {0: 3, 1: 4}
undefined

**Observation:**
Works in Chrome 65 and Firefox 58

-- 
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/20180403/1e98de3e/attachment-0002.html>


More information about the webkit-unassigned mailing list