| Summary: | [Browser] Browser component loses ExternalInterface-registered methods from flash. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dawid Weiss <dawid.weiss> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | Grant Gayed <grant_gayed> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bernard.farrell, chrriis, k_kjr, Silenio_Quarti, sravankumarl, sundeepr | ||||||
| Version: | 3.5 | Keywords: | triaged | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | stalebug | ||||||||
| Attachments: |
|
||||||||
I have observed that this happens only on computer running the latest version of Internet explorer 8. Also if i query the browser version using javascript. It is reported as IE7. Created attachment 192076 [details]
Updated test/bug snippet
This seems to be fixed with SWT 3.6.2, I can't reproduce the problem. Great! Closing report. Hi, I use richfaces, <rich:fileupload> component in my application. The same problem still exists even though if swt 3.6.2 is been use. reopening Can you provide a code snippet that shows that this bug is still present? Maybe it's something else that looks similar? I couldn't reproduce it on 3.6.2. Hi,
As below.
Currently encountering one problem, i using the richfaces fileupload, setting the allowFlash="true" which allow batch upload.
Notice that a fileuploadComponent.swf.jsf_[1].swf will be cache to the temporary internet files when the page is loaded. Everything works fine for the first time, the subsequent time, the "Add" button is disabled.
If i delete the fileuploadComponent.swf.jsf_[1].swf and refresh the page again, the add button will be enabled and the fileuploadComponent.swf.jsf_[1].swf will be created again.
Note that if i run my application using a browser(e.g. IE or firefox) without using SWT's Browser, it work fine.
Codes for richfaces.
<rich:fileUpload id="upload" fileUploadListener="#{fileBean.listener}"
maxFilesQuantity="20" immediateUpload="false" acceptedTypes="gif" allowFlash="true" noDuplicate="true" validator="#{fileBean.validateUpload}">
Thanks and Regards
This problem is reproducible with windows 7 and ie 11 This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Created attachment 142635 [details] A snippet demonstrating the bug. Short introduction: We use SWT's Browser component with embedded Flash. Bidirectional communication between Java and Flash is possible by registering ExternalInterface methods from Flash (JavaScript) and invoking these methods from Java using Browser's execute or evaluate methods. The problem: Everything works fine for the first instance of the Browser component. Subsequent instances load Flash fine, but the registered methods are no longer present in JavaScript (or in the browser's DOM model for that matter). Applicable to: Internet Explorer ONLY (using SWT.MOZILLA with embedded XULRunner works fine). Attachment: I attach a simple snippet demonstrating the problem. It connects to our server to download the flash application and jquery -- it would inflate the example greatly to run an embedded HTTP server from it, so I hope it's o.k.