私はfirefox 54でconkerorの作業をしようとしていましたが、conkeror application.iniで実行しているときにdevtoolsが見つからないようです。いくつかのコンテキストconkerorがでconkeror repoディレクトリから実行することができます提供するには:geckoにインストールされているパッケージを列挙しています
特にXUL_APP_FILE="$(pwd)/application.ini" firefox
、私は、ブラウザのコンソールとWebコンソールにアクセスしようとしていたが、chrome://devtools/content/webconsole/webconsole.xul
とchrome://devtools/content/debugger/debugger.xul
がconkerorから欠落しているように見えるが、彼らはそこにありますfirefoxのために54.
何かの理由でdevtoolsがコンカーで無効になっている可能性はありますか?インストールされているパッケージを調べたり列挙する方法はありますか?
EDIT:conkerorで私は
Cc["@mozilla.org/chrome/chrome-registry;1"]
.getService(Ci.nsIChromeRegistry)
.convertChromeURL(
Cc["@mozilla.org/network/io-service;1"]
.getService(Ci.nsIIOService)
.newURI("chrome://devtools/content/", "UTF-8")).spec
を試してみましたが、それは、端末上で得られます。
NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIChromeRegistry.convertChromeURL]
Cc["@mozilla.org/chrome/chrome-registry;1"]
.getService(Ci.nsIChromeRegistry)
.convertChromeURL(
Cc["@mozilla.org/network/io-service;1"]
.getService(Ci.nsIIOService)
.newURI("chrome://global/content/", "UTF-8")).spec
ながら利回り
jar:file:///Applications/FirefoxNightly.app/Contents/Resources/omni.ja!/chrome/toolkit/content/global/global.xul
正直なところ、私はvanilla firefoxでブラウザレベルのjavascriptを実行する方法がわかりません。
ありがとうございます!それはdevtoolsに関する私の本当の疑問に答えました。 ---それでは、devtoolsをconkerorの 'browser /'にどのようにパッケージ化できますか?指示はありますか? ---気にせず、すべてのバグのコメントを読まなければなりません。 – fakedrake