Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

View source in external brouser stopped working

  • 3 回覆
  • 1 有這個問題
  • 18 次檢視
  • 最近回覆由 Alex

more options

Firefox 102 beta stopped opening source of web pages in external editor

I have view_source.editor.external set to "true" and view_source.editor.path set to "C:\Program Files\Notepad++\notepad++.exe"

Before version 102, CTRL-U on any web page would open the page's source in the external editor.

In 102, the source is opened in the internal source viewer (in a browser tab).

The console shows:

   this._caUtils.getDefaultExtension is not a function viewSourceUtils.js:413
       getTemporaryFile chrome://global/content/viewSourceUtils.js:413
       openInExternalEditor chrome://global/content/viewSourceUtils.js:265
       openInExternalEditor chrome://global/content/viewSourceUtils.js:216
       BrowserViewSourceOfDocument chrome://browser/content/browser.js:3131
       BrowserViewSource chrome://browser/content/browser.js:3207
       oncommand chrome://browser/content/browser.xhtml:1
Firefox 102 beta stopped opening source of web pages in external editor I have view_source.editor.external set to "true" and view_source.editor.path set to "C:\Program Files\Notepad++\notepad++.exe" Before version 102, CTRL-U on any web page would open the page's source in the external editor. In 102, the source is opened in the internal source viewer (in a browser tab). The console shows: this._caUtils.getDefaultExtension is not a function viewSourceUtils.js:413 getTemporaryFile chrome://global/content/viewSourceUtils.js:413 openInExternalEditor chrome://global/content/viewSourceUtils.js:265 openInExternalEditor chrome://global/content/viewSourceUtils.js:216 BrowserViewSourceOfDocument chrome://browser/content/browser.js:3131 BrowserViewSource chrome://browser/content/browser.js:3207 oncommand chrome://browser/content/browser.xhtml:1

由 Alex 於 修改

所有回覆 (3)

more options

Hi Alex, I notice getTemporaryFile and am reminded of a change in Firefox 102 related to downloaded files: they either can be saved in the "Save files to:" location per the updated flow in Firefox 98, or reverted to the system temp folder using a new preference. By any chance, did you change browser.download.start_downloads_in_tmp_dir from false to true?

more options

Actually, I get the same error either way. You seem to be learning more in Bugzilla:

https://bugzilla.mozilla.org/show_bug.cgi?id=1772906

more options

jscher2000 - Support Volunteer said

You seem to be learning more in Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1772906

A pleasant surprise to be sure. I am cautiously optimistic.