Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8135332

ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • b82
    • generic
    • generic

        ScriptFunction constructor checks 'arguments' and 'caller' property by findProperty set to user accessor ('poison' functions that throws TypeError). This is done for bound and strict functions only and so the constructor code should those checks.

              sundar Sundararajan Athijegannathan
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: