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

Bug 331048

Summary: [Browser] BrowserFunction called in "execute" crashes browser
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.4   
Target Milestone: 1.4 M4   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 330806    
Attachments:
Description Flags
snippet none

Description Tim Buschtoens CLA 2010-11-24 12:34:32 EST
Created attachment 183785 [details]
snippet

Calling a browser-function from within an "execute" method causes some kind of infinity-loop and crashes the browser. See attached snippet to reproduce.

Note: This doesn't work trouble-free in SWT/Win7 either, but it doesn't crash. I think it might be a valid usecase when execute is used to call a javascript function that in turn (indirectly) calls the browser-function.

Might be related to Bug 330811.
Comment 1 Ivan Furnadjiev CLA 2010-11-26 04:55:58 EST
The fix is to prevent rendering of execution script (BrowserLCA) if another (or same) script is already pending. Attached snippet works fine now. Changes are in CVS HEAD.