----- Original Message -----
> 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.

This sounds more reasonable but still a slow path for testing. Any other ideas 
on how we can modify the UA at runtime? 

Do apps have the ability to set system prefs?

Can I dynamically add an entry to the domain whitelist at runtime?

Lawrence
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to