Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367737

Summary: IE syntax error in _handleFinished
Product: [RT] RAP Reporter: juergen.panser
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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 ***