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

Details

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

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: