-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] Using HTMLLoader cause application crash with some websites #337
Comments
Can you be clearer, how is it crashing exactly? does it crash the AIR app, or is it just the web site not loading and crashing HTMLLoader it self ?
you have to use
|
@zwetan, AIR application crashes, not just
For other cases I can use |
OK, do you use both if so in StageWebView
I don't know your app but the crash you're experimenting is maybe because of that, the concurrent use of StageWebView and HTMLLoader. now you already mentioned
all the the page you mention also create errors in Chrome but there it still display the page so there are 2 short way to work around all that
if you go using https://github.com/tuarua/WebViewANE, I would say about the same, do not use
Depending on what you do, you can replace the |
No. Other approaches cannot achieve goal that described in issue. There are some limitations about web page interactivity or application performance. At least yet. |
With latest AIR versions |
Problem Description
Using
HTMLLoader
cause application crash with some websites. Just after website loaded application silently crashes and you can see crash log via Windows Event Viewer.I know that
HTMLLoader
outdated but there is no other way right now with AIR to use HTML content inDisplayList
. Our users could provide any URL and there is no way to modify external websites.It has been tested with AIR 32.0.0.89 and latest AIR 33.1.1.98 with many different Windows 10 32/64-bit devices.
Same problem in all cases with some websites.
Handling and preventing
HTMLUncaughtScriptExceptionEvent
doesn't help.Using
new StageWebView(false)
cause the same crash.There is no such crash with macOS.
Related issue (not the same):
#183
Steps to Reproduce
Launch code below with any Windows device. It just try to load
https://www.cherryblossomcakes.co.nz/
viaHTMLLoader
.Application example with sources attached.
htmlloader_crash.zip
Actual Result:
It traces you will see:
Then application silently crash. Via Windows Event Viewer you can find crash log:
Expected Result:
Application should not crash.
Known Workarounds
none
The text was updated successfully, but these errors were encountered: