Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1190

Wrap JSONP response in try-catch block

    XMLWordPrintable

Details

    • Patch
    • Resolution: Done
    • Minor
    • 3.0.13.Final
    • 3.0.11.Final
    • jaxrs
    • None

    Description

      I suggest wrapping the JSONP callback in a try-catch block.
      It will prevent some browsers like MSIE to shown an error window when the specified callback function doesn't exist

      Attachments

        Activity

          People

            patriot1burke@gmail.com Bill Burke (Inactive)
            bedrin_jira Dmitry Bedrin (Inactive)
            Ronald Sigal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h