Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367737 - IE syntax error in _handleFinished
Summary: IE syntax error in _handleFinished
Status: RESOLVED DUPLICATE of bug 367155
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 05:43 EST by juergen.panser CLA
Modified: 2012-01-03 05:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description juergen.panser CLA 2012-01-03 05:43:57 EST
Build Identifier: RAP 1.5 M4

IE states that there is a syntax error:


Syntax error in /rwt-resources/rap-client-a789aa14.js in 

_handleFinished : function( event ) {
  ...
  try {
    var text = event.getContent();
    ...
  } catch( ex ) {
    throw new Error( "Could not execute javascript: [" + text + "]", ex );
  }
  ...
}
  
text variable has a local scope and can't be used in the catch block

Reproducible: Sometimes

Steps to Reproduce:
Just start a RAP application...
Comment 1 Ivan Furnadjiev CLA 2012-01-03 05:53:18 EST
This issue has been reported and fixed in CVS HEAD (see bug 367155 and bug 367053).

*** This bug has been marked as a duplicate of bug 367155 ***