Mar 12, 2017
Tree structure and tab icons are always lost after restart / 再起動すると必ずツリー構造やタブのアイコンが失われる
- Q
When I start Firefox, tree of tabs and favicons are always lost. Even if I reorganize tree of tabs again, they are flattened after every restart.
Firefoxを起動すると、必ずタブのツリーとタブのアイコンが失われます。ツリーを作り直しても、再起動する度にツリーが失われてすべてのタブが同階層に表示されてしまいます。
- A
Please press Ctrl(Command)-Shift-J to open the "Browser Console" - one of developer tools of Firefox. Is any error message like this reported?: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)
[nsISerializationHelper.deserializeObject] Utils.jsm:94Screenshot:
Then, the problem may be caused by invalid information stored in your session data. Try following steps to cleanup your session data:
- Close the browser console.
- Input "about:config" into the location bar and hit the Enter key.
- Skip the confirmation message by clicking the button in the page.
- Input "devtools.chrome.enabled" into the "Search:" field.
- Then you'll see just one entry. Double click it to turn the value to "true", if it is "false".
- Open the browser console again by Ctrl(Command)-Shift-J. Then you'll see an input field at the bottom of the console.
- Copy this script and paste it into the bottom field of the console:
var TabStateCache = Components.utils.import('resource:///modules/sessionstore/SessionStore.jsm',{}).TabStateCache; Array.forEach( gBrowser.browsers, (browser)=> TabStateCache.update(browser, { iconLoadingPrincipal : null }) ); "OK"
- And hit the Enter key in the field. Then you'll see a new message "OK" in the console.
- Restart Firefox.
Ctrl(Command)-Shit-Jを押して、Firefoxの開発ツールの1つである「ブラウザコンソール」を開いて下さい。以下のようなエラーメッセージが出力されていませんか?:NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)
[nsISerializationHelper.deserializeObject] Utils.jsm:94スクリーンショット:
もしこのエラーが出ているなら、問題はセッション情報の中に混入してしまった不正なデータが原因で引き起こされている可能性があります。以下の手順でセッション情報をクリーンアップしてみて下さい。
- ブラウザコンソールを閉じる。
- ロケーションバーに「about:config」と入力し、Enterキーを押す。
- 確認のメッセージが表示されるので、ページ内に表示されるボタンをクリックして先に進む。
- 「検索:」欄に「devtools.chrome.enabled」と入力する。
- 項目が1つだけ見つかるはずなので、値が「false」になっている場合は項目をダブルクリックして値を「true」に変更する。
- Ctrl(Command)-Shit-Jを押してブラウザコンソールを開き直す。すると、コンソール株に入力欄が表示されるようになっている。
- 以下のスクリプトをコピーして、その入力欄に貼り付ける。
var TabStateCache = Components.utils.import('resource:///modules/sessionstore/SessionStore.jsm',{}).TabStateCache; Array.forEach( gBrowser.browsers, (browser)=> TabStateCache.update(browser, { iconLoadingPrincipal : null }) ); "OK"
- そのまま入力欄でEnterキーを押す。コンソールに「OK」というメッセージが出力される。
- Firefoxを再起動する。
wikieditish message: Ready to edit this entry.