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

Wrap JSONP response in try-catch block

XMLWordPrintable

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

      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

              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

                Created:
                Updated:
                Resolved:

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