firefox os something 201411
DESCRIPTION
Firefox OS コードリーディング 1 周年記念セミナーの LT で使用したスライド https://atnd.org/events/58292TRANSCRIPT
!
!
this.PermissionsTable = { ... camera: { app: DENY_ACTION, trusted: PROMPT_ACTION, privileged: PROMPT_ACTION, certified: ALLOW_ACTION }, ... "device-storage:pictures": { app: DENY_ACTION, trusted: PROMPT_ACTION, privileged: PROMPT_ACTION, certified: ALLOW_ACTION, access: ["read", "write", "create"] },
this.PermissionsTable = { ... camera: { app: DENY_ACTION, trusted: PROMPT_ACTION, privileged: PROMPT_ACTION, certified: ALLOW_ACTION }, ... "device-storage:pictures": { app: DENY_ACTION, trusted: PROMPT_ACTION, privileged: PROMPT_ACTION, certified: ALLOW_ACTION, access: ["read", "write", "create"] },
!
!
// 一応以下の手順でできるハズ adb shell // b2g プロセスを停止 stop b2g // b2g プロファイルディレクトリに移動 cd /data/b2g/mozilla/********.default/ // prefs.js を書き換える echo 'user_pref("devtools.debugger.forbid-certified-apps", false);' >> prefs.js // b2g プロセスを再起動 start b2g