<div class="headline-m">目次</div>
CHRIMEN Open Hardware コミュニティの活動で、B2G OS 向けの開発ツール WebIDE での開発に支障が出ることに気が付きました。
In the activities of the CHRIMEN Open Hardware community, I noticed that development with WebIIDE, a development tool for B2G OS, was hindered.
具体的には、下記操作ができなくなっていました。
-
プロジェクト作成後、プロジェクトツリーが、見れなくなっている
After creating the project, the project tree can not be seen -
B2G OS へアプリをインストール出来なくなっている
You can not install applications to B2G OS
Firefox ver.55以降で、使用できなくなっているようです。
調べた所、下記情報が見つかりました。
It seems that it can not be used with Firefox ver.55 or later.
After examining, the following information was found.
Remove WebIDE https://bugzilla.mozilla.org/show_bug.cgi?id=1314811
WebIDE project tree and Edit area didn't display. https://bugzilla.mozilla.org/show_bug.cgi?id=1391641
対応策ですが、下記の通りです。
-
Firefox ESR 版をインストールすること
Install Firefox ESR version -
VirtualBox などの仮想環境で、Firefox ver.55 以前のバージョンをインストールする
Installing a version of Firefox ver.55 or earlier in a virtual environment such as VirtualBox
このブログでは、下記項目を目的にハックしていきます。
In this blog, I will hack for the following items.
-
valence.xpiの仕組みを知ること
Knowing the mechanism of valence.xpi -
WebIDEの後継の拡張Extensionの作成
Creation of extended extension for successor to WebIDE
valence.xpi は、下記リンクからダウンロード出来ます。
valence.xpi will be able to Download following links.
linux64:http://archive.mozilla.org/pub/labs/valence/linux64/
ma64:http://archive.mozilla.org/pub/labs/valence/mac64/
win32:http://archive.mozilla.org/pub/labs/valence/win32/
github のリポジトリは、こちらです。
The repository of github is here.
https://github.com/mozilla/valence
ハックしている時のバージョンは、 0.3.8 です。
The version when hacking is 0.3.8.
valence.xpi ファイル を解凍したフォルダ構成は、下図のとおりです。
The configuration of the folder that unzipped the valence.xpi file is shown below.
各 OS とも同じフォルダ構成です。
Each OS has the same folder Compose.
差分を掛けてみた所、install.rdf ファイルの URI が、 OS 毎に異なっていました。
次回は、各ファイルはディレクトリ別にハックしていきたいと思います。
When I multiplied the difference, the URI of the install.rdf file was different for each OS.
Next time, I would like to hack each file by directory.
- 新訳:ADB Helperをハックしてみた(前篇)
- 新訳:ADB Helperをハックしてみた(install.rdf,main.js)
- 新訳:ADB Helperをハックしてみた(adb.js)
- 新訳:ADB Helperをハックしてみた(adb-client.js)
- 新訳:ADB Helperをハックしてみた(adb-running-checker.js)
- 新訳:ADB Helperをハックしてみた(adb-socket.js)
- 新訳:ADB Helperをハックしてみた(bootstrap.js)
- 新訳:ADB Helperをハックしてみた(scanner.js)
- 新訳:ADB Helperをハックしてみた(device.js)
- 新訳:ADB Helperをハックしてみた(devtools-import.js)
- 新訳:ADB Helperをハックしてみた(devtools-require.js)
- 新訳:ADB Helperをハックしてみた(fastboot.js)
- 新訳:ADB Helperをハックしてみた(fastboot.js)
- 新訳:ADB Helperをハックしてみた(まとめ)