-
Notifications
You must be signed in to change notification settings - Fork 193
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
Compatibility issue with Waterfox 56.0.4 #819
Comments
I noticed this also. The Waterfox Changelog lists only:
On perusing the contents of these security patches, the one that concerns me most is 2018-05, "Arbitrary code execution through unsanitized browser UI" (bugzilla 1432966). I worry that Vimperator is doing something which falls foul of some recently added sanitisation. However, I haven't yet looked into it in any real detail. |
Okay, I had a quick look at this. The patch seems to only affect values set via So it's either some other API that indirectly sets |
Thanks for your quick answer @devkev ;-) ! So actually, the only workaround is to revert BrowserWorks/Waterfox@d7f689c, then compile Waterfox. As you, I've tried to change I've posted an issue on the Waterfox project. See BrowserWorks/Waterfox#428. |
But the problem is that 2018-05 is marked as critical ! But it says that « This issue did not affect Firefox for Android or Firefox 52 ESR. ». Do you know if it impacts Firefox 56 ? |
Thanks for going to the effort of bisecting to confirm that this is the problem! One thing I just noticed is that I incorrectly used If so, then this means that the problem is that I also notice that the patch makes reference to an
My guess is that either FF56 has the affected code, or else it impacts Waterfox because Waterfox has backported the affected code from FF57/58. Either way, it would be extremely good to find a solution that doesn't involve reverting this critical patch. I think the next step is to try to understand and isolate the code in Vimperator which is being affected by this sanitisation. |
Bisecting was long ! 100 % CPU used during more than one hour for each compilation ! But I believe it could be possible to use incremental compilation to save lot of times ;-). I would like to make a script to automatically bisect during the night, but Waterfox doesn't print Vimperator errors on the console, contrary to previous versions of Firefox. I don't know why, it's annoying. I've checked. I've tested again. And I confirm than I've replaced innerHTML by unsafeSetInnerHTML() ;-). After this I've performed a new test according to your last comment @devkev :
I don't know how to debug a XUL plugin. We can't use |
I've tried also with In my custom version of Waterfox with BrowserWorks/Waterfox@d7f689c reverted, now I use only |
I've tested to replace So as you said @devkev « If so, then this means that the problem is that innerHTML is being called/used somewhere else (indirectly) by Vimperator. I have no idea where that might be. » ! But where and how ;-) ? It should have others DOM API who are linked to innerHTML ? But how and where ? And why they are not mentionning in bugzilla 1432966 ? Or there is a innerHTML is in a dependencie of Vimperator (but Vimperator hasn't dependencies ?) ? |
I've come across this issue as well. As a temporary workaround I've downloaded the latest ESR version of Firefox, being 52.6.0. Vimperator 3.16.0 works flawlessly with this version. Sadly, I can't help with the reason behind this observation. |
Warning… Firefox ESR 52 will die soon ! Maybe, like Vimperator ? Have you an idea to adapt Vimperator to BrowserWorks/Waterfox#428 (comment) ? Thanks a lot in advance ! |
@devkev, @u1z Have you an idea if somebody can help us ? Thanks in advance :-) |
Same here (waterfox 56.2.5 on linux)...I have tested the following and it seems to work fine:
(Hope any other better way) |
@mumuxme thanks a lot ^^ ! I love you ! ;-) ! Maybe a new release of this could be added in https://github.com/vimperator/vimperator-labs/releases ? And a comment could be added in https://github.com/vimperator/vimperator-labs/blob/master/README.md ? As it, we could still install and use the lovely Vimperator very easly ;-) ! Thanks a lot ! |
Issue type:
Version:
With Waterfox 56.0.4 (no problems with Waterfox 56.0.3)
Description:
When Vimperator is first started, in the command line we have the error message with red background
TypeError: this._divNodes.noCompletions is undefined
.I notice than we can't « follow hint ». Hint doesn't appear. Completion doesn't work too.
I've tested with the command
$ waterfox -no-remote -P <fresh profile> -vimperator "+u NONE"
Expected behavior:
Steps to reproduce:
TypeError: this._divNodes.noCompletions is undefined
Notes
I noticed than Vimperator team no supports officially Waterfox. But as you said on the README Vimperator could be installed on Waterfox, so maybe could you check quickly and correct this if it's simple ? Please could you do that ? If you believe it's a Waterfox bug, I could post an issue on https://github.com/MrAlex94/Waterfox/issues
Temporally, I've deleted line 1865 in the file comment/content/commandline.js (
https://github.com/vimperator/vimperator-labs/blob/ff56-fixes/common/content/commandline.js
. It resolves the problem with the hints, but sometimes there are some others bugs (I can't add spaces in the command line, and sometimes the scroll with keys bug), but it's lesser evil.Please do not close this issue immediately. If it's complicated to fix this issue, maybe I could try to remove some features ? Maybe the completion ?
Thanks a lot in advance for your answer !
The text was updated successfully, but these errors were encountered: