On 22.04.2015 21:20, [email protected] wrote:
> Hi Freddy, Thank you for the reply. We think the file you said
> (PermissionSettings.js) is indeed the one we were looking for. Now we
> are trying to figure the permission request's structure by inserting
> some console.log() statements. The problem is we need to compile
> Gecko every time we make a change, is there a faster way to push
> changes locally without doing that (since we only modified that
> file)?
> 

Please see Fabrice's response in this thread. PermissionSettings.js is
the wrong file to patch! Quote:

> 
> If I understand the project correctly, you want to hook up into 
> https://mxr.mozilla.org/mozilla-central/source/extensions/cookie/nsPermissionManager.cpp
>
> 
instead, especially TestExactPermissionFromPrincipal() - you can get the
> appId from principal to know which app does what.


But to answer your other question: There are several ways to optimize
your compilation process so that only the changed files have to be
re-built. See for example ccache
<https://developer.mozilla.org/en-US/docs/ccache>.


Good luck!
Freddy
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to