[Webkit-unassigned] [Bug 177230] New: Object properties are undefined in super.call() but not in this.call()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 20 07:28:06 PDT 2017


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

            Bug ID: 177230
           Summary: Object properties are undefined in super.call() but
                    not in this.call()
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mihaly.lengyel at tresorit.com

In the call method of the super class called through super ("super.call()") all properties of "this" is undefined. If the same method is called through "this" ("this.call()") the proper values are there. If the same method is renamed to log the problem disappears.

This happened in Safari 11, but I can't choose that as a version above.

Steps to reproduce:
A fiddle showing the problem: https://jsfiddle.net/pohdferq/1/
Expected:
The console log showing that the prop field is set to 'value' in every logged case
Actual:
The console log shows that the prop field is undefined in super.call but not in other cases.

Build info:
Version 11.0 (13604.1.38.1.6)

-- 
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/20170920/0981523f/attachment.html>


More information about the webkit-unassigned mailing list