Sayafdine Said

Results 36 comments of Sayafdine Said

Hi! After many researches, I found a way to access to the preferences, which is to use the XPCOM API. ```python def get_pref(self, pref, default_branch=False, value_type="unspecified"): pref_value = self.execute_script(""" Components.utils.import("resource://gre/modules/Preferences.jsm");...

Isn't it risky though to use an environment variable to get the library path? An attacker would just have to override the variable to point to a script which would...

> > Isn't it risky though to use an environment variable to get the library path? An attacker would just have to override the variable to point to a script...

Hmm, you're right then, uses of the module at user level can just be dismissed. The module is effectively mostly ran at root level for authentication, e.g. with sudo, GDM,...

It will be pulled as a subproject only if it wasn't found already on the system. Since I added `libinih-dev` to the build dependencies, it will no longer require downloading...

That wouldn't be too hard to implement as an argument, it's just a matter of parsing the argument and changing the return codes.

Hi! Author here, glad to see that my project helps someone! If you have any insights to improve it, I would like a lot to hear it! And off-topic, but...

> Bonjour! I assume you saw the GSoC proposal at https://wiki.freebsd.org/SummerOfCodeIdeas#PJDFSTest_rewrite ? Yes, it was this one that I saw! > And I too love Rust! I don't think it...

So, I did some research on how we could implement test collection ourselves, and cumbersome is a euphemism… It is impossible to do it just with an attribute-like macro, as...

AFAIK, the tests are collected directly by the compiler, so definitely not one of those techniques.