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

Constructor property map always contains conditionally assigned properties

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Fixed
    • 8
    • 8
    • core-libs
    • None

    Description

      Loading and running jquery 1.8.3 on top of env.js throws the following exception for an undefined function:

          jquery-1.8.3.js:2952 TypeError: Cannot call undefined

      This is because of a conditionally assigned property in the jQuery.Event constructor (line 3241). Even though the constructed object does not always contain the "isDefaultPrevented" property the property map of the created object always contains it.

      Attachments

        1. 8006195.zip
          244 kB
        2. mintest.js
          0.2 kB

        Activity

          People

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: