Object.isExtensible(Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get) should be false

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b86
    • generic
    • generic
    • Verified

      Object.isExtensible(Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get) should be false. But it is true on nashorn.

      ECMA Section 13.2.3 The [[ThrowTypeError]] Function Object

      11. Set the [[Extensible]] internal property of F to false.

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

              Created:
              Updated:
              Resolved: