Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 301768 - [Wizard] Crashes client-side application in Chrome
Summary: [Wizard] Crashes client-side application in Chrome
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 1.3 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 22:02 EST by Austin Riddle CLA
Modified: 2010-02-05 10:19 EST (History)
0 users

See Also:


Attachments
Sample project illustrating problem (448.40 KB, application/x-zip-compressed)
2010-02-03 22:02 EST, Austin Riddle CLA
no flags Details
fix (2.33 KB, patch)
2010-02-04 10:58 EST, Tim Buschtoens CLA
ruediger.herrmann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Riddle CLA 2010-02-03 22:02:05 EST
Created attachment 158129 [details]
Sample project illustrating problem

RAP Version: CVS HEAD

Browsers Affected: 

Chrome 4.0.249.78 (36714) (possibly other versions as well) - application crash
FF 3.5.7 - no crash
IE 8 - no crash

Steps to reproduce:  Open a wizard and click 'next'.

Result: The client-side app crashes and reports that the session has timed out.


Using attached sample project to reproduce:

Run the application, open the 'File' menu and select 'Open Test Wizard'.
Comment 1 Tim Buschtoens CLA 2010-02-04 10:58:04 EST
Created attachment 158187 [details]
fix

This is basically the same as Bug 301236, only that the workaround used to fix it doesn't work in this case, due to yet another Chrome-bug: 

The dom-event "onload" of the image-object can (seemingly randomly) be fired too early when innerHTML is used. (On a completely different node!) However, this can be detected: Dom event-handler should have no caller, but this one has one if it is called wrongly.
Comment 2 Rüdiger Herrmann CLA 2010-02-05 10:18:59 EST
Applied patch to CVS HEAD