[Webkit-unassigned] [Bug 34553] arguments.callee.caller is null in JavaScript functions defined in top and called via fn.call() or fn.apply() from an iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 5 12:55:40 PST 2010


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





--- Comment #2 from Christian Eager <ceager at gmail.com>  2010-02-05 12:55:38 PST ---
This bug also occurs when Function.caller is referenced.

In the testcase, top.A could be defined as:

    function A(string) {
        var passOrFail = A.caller != null ? "[PASS]" : "[FAIL]";
        alert(passOrFail + " Caller is " + string + ".");
    }

and the test would still fail.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list