Tapestry 5
  1. Tapestry 5
  2. TAP5-1887

Client-side JavaScript error if console.info/debug/... is available but not a function

    Details

      Description

      For example in IE8 there is console.debug, console.info and the like, but they are not real JS functions, so `call`ing them fails with an error, effectively aborting JS execution.

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #977 (See https://builds.apache.org/job/tapestry-trunk-freestyle/977/)
        TAP5-1887: Client-side JavaScript error if console.info/debug/... is available but not a function (Revision a9433984c06dfe48ca28978e5245cc4a25eca87b)

        Result = FAILURE
        hlship :
        Files :

        • tapestry-core/src/main/coffeescript/META-INF/modules/core/console.coffee
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #977 (See https://builds.apache.org/job/tapestry-trunk-freestyle/977/ ) TAP5-1887 : Client-side JavaScript error if console.info/debug/... is available but not a function (Revision a9433984c06dfe48ca28978e5245cc4a25eca87b) Result = FAILURE hlship : Files : tapestry-core/src/main/coffeescript/META-INF/modules/core/console.coffee
        Hide
        Jochen Kemnade added a comment -

        only use the native console function if it actually is a function

        Show
        Jochen Kemnade added a comment - only use the native console function if it actually is a function

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Jochen Kemnade
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development