Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331048 - [Browser] BrowserFunction called in "execute" crashes browser
Summary: [Browser] BrowserFunction called in "execute" crashes browser
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 330806
  Show dependency tree
 
Reported: 2010-11-24 12:34 EST by Tim Buschtoens CLA
Modified: 2010-11-26 04:55 EST (History)
1 user (show)

See Also:


Attachments
snippet (1.61 KB, text/x-java)
2010-11-24 12:34 EST, Tim Buschtoens CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.