undefined or null 'with' expression in empty with block should throw TypeError

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • None
    • b110
    • generic
    • generic

      jjs> (function (o){ with(o){ } })()

      TypeError expected

      jjs> (function (o){ with(o) {} })()

      TypeError expected

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

              Created:
              Updated:
              Resolved: