On 11/07/2012 09:31 AM, Lucas Adamski wrote:
> I've been using this simple script for messing with CSP policies:
> 
> adb pull /system/b2g/defaults/pref/user.js
> vim user.js
> adb shell mount -o rw,remount /system
> adb push user.js /system/b2g/defaults/pref/user.js
> adb shell mount -o ro,remount /system
> adb reboot
> sleep 5
> adb logcat > temp.log &
> tail -f temp.log
> 
> The reboot is probably not optimal but better safe than sorry.

You can use |adb shell stop b2g && adb shell start b2g| instead of
rebooting to just restart gecko.

        Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to