firefox在其中存储中显示的数据resource:///defaults/preferences/firefox.js?
当我打开url时resource:///defaults/preferences/firefox.js 在Firefox45.0中,它显示了许多选项,根据需要,这些选项应该存储在browser/app/profile/Firefox.js中 但我在firefox浏览器目录中看到的唯一文件是:firefox在其中存储中显示的数据resource:///defaults/preferences/firefox.js?,firefox,Firefox,当我打开url时resource:///defaults/preferences/firefox.js 在Firefox45.0中,它显示了许多选项,根据需要,这些选项应该存储在browser/app/profile/Firefox.js中 但我在firefox浏览器目录中看到的唯一文件是: blocklist.xml chrome.manifest crashreporter-override.ini icons searchplugins chrome
blocklist.xml
chrome.manifest
crashreporter-override.ini
icons
searchplugins
chrome
components
extensions
omni.ja
试图在Linux和MacOS上找到它
那么这些数据来自哪里呢
更新:
这是最新linux版本firefox(45.0)的输出
此处列出的firefox.js文件不是中所示的文件resource:///defaults/preferences/firefox.js大多数内部javascript和xml都打包在omni.ja中,omni.ja只是一个zip存档
开口resource:///defaults/preferences/firefox.js 除其他外,包含以下行:
//@line 1643 "c:\builds\moz2_slave\m-cen-w64-ntly-000000000000000\build\src\browser\app\profile\firefox.js"
pref("dom.ipc.reportProcessHangs", true);
strings浏览器/omni.ja | grep”//@line 1643“
匹配
也
所以数据肯定在那里。我已经解包了omni.ja文件,但是也没有firefox.js文件。可能是在构建时编译的值,存储在firefox二进制文件中的硬编码?我已经更新了这个问题。仍然找不到firefox.js:(谢谢,我不认为有几个omni.ja文件。
//@line 1643 "c:\builds\moz2_slave\m-cen-w64-ntly-000000000000000\build\src\browser\app\profile\firefox.js"
pref("dom.ipc.reportProcessHangs", true);
# unzip -l browser/omni.ja | grep firefox.js
warning [browser/omni.ja]: 30524217 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [browser/omni.ja]: reported length of central directory is
-30524217 bytes too long (Atari STZip zipfile? J.H.Holm ZIPSPLIT 1.1
zipfile?). Compensating...
82905 2010-01-01 00:00 defaults/preferences/firefox.js