-
Notifications
You must be signed in to change notification settings - Fork 121
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
Pack URL bug #37
Comments
Could you share the corresponding project/file? |
I'll make up a sample project to reproduce it. |
Here it is. Just a clean solution template + added a heavy Open chromium dev tools, about every second run, it logs an error to the console. |
Must be related to the copying of data between the streams: PackUriResourceHandler.cs |
@o2genum , I just corrected it. It was one nasty issue due to the way of ChromiumFx manage memory (using weak references) that may lead to hard to reproduce bug. |
Ok. I suspected the copying of data in PackUriResourceHandler.cs and it is coded a bit awkwardly, indeed. It only works because I corrected it according to the ChromiumFX docs (the code below), maybe you can include this fix, too. This is unrelated to the issue, though. Will you make a release for this fix?
|
Are you refering to this alteration:
? The new version should be available shortly. Could you comunicate what kind of application you are creating with Neutronium? |
This alteration, also unnecessary Ok, I'll share the app description and screenshots when I got it working (we're in process of switching to Neutronium-based UI). |
Ok Thanks. |
I updated handler based on this two references: https://bitbucket.org/chromiumfx/chromiumfx/issues/21/how-do-i-add-a-custom-schema I did not find any reference on |
Ok. I only looked at what the docs say.
|
Thanks for the link. I made another alteration to the original base on this doc. |
The new
pack:///
url feature seems to be buggy.From time to time Chromium is unable to read random packed files (I run the same executable each time, without rebuilding, and sometimes it happens). For big files it happens more frequently. Add something like 30K-line javascript to reproduce it. Unexpected end of input, unexpected token, etc., each time on a random line.
If I click
build.js:1
to go to that line, dev tools close. The affected files are missing Sources tab. It I click Application tab, dev tools close.Maybe the contributor @lhyqy5 knows what's wrong.
The text was updated successfully, but these errors were encountered: