― MozillaZine.jp フォーラムは Mozilla 製品に関する情報交換の場です ―



All times are UTC + 9 hours

新しいトピックを投稿する トピックへ返信する  [ 1 件の記事 ] 
作成者 メッセージ
投稿記事Posted: 2021年5月01日(土) 07:13 
オフライン

登録日時: 2017年4月14日(金) 18:19
記事: 454
Mozilla は、
ブラウザ(Firefox)の更新機能を改善するように設計された新機能(background updates)を「Nightly」ビルドに適用し有効化しました。
Firefox Nightly 90.0a1 (2021-04-29)
about:preferences
☑ Use a background service to install updates
新機能により、ブラウザが実行されていない場合であっても、Firefox がバックグラウンドでの「サイレント更新」が可能になります。

新機能(background updates)は、
Firefox がバージョン「89」にヒットしたときに、(ベータ版や Dev 版、安定版に)新しい更新機能が有効化される予定です。
Firefox「89 Stable」は、公式リリーススケジュールに従って「2021年6月1日」にリリースされます。
Firefox Release Calendar | wiki.mozilla.org
https://wiki.mozilla.org/Release_Management/Calendar

具体的には、
OS レベルでの「Task scheduler」を使用して、
Firefox の更新チェックを自動化し、更新をダウンロードし、ダウンロードした更新をサイレントインストールします。
https://mk0ghacksnety2pjrgh8.kinstacdn. ... pdates.png
タスクは、7時間ごとに実行するように構成されていますが、Firefox が実行されていない場合に限定されるので、Firefox 実行時(ブラウジングなど)のパフォーマンスには影響を与えません。

「Firefox Nightly Background Update」というネーミングのタスクとそれに続く Nightly ビルドの 16進コードは、Nightly によって自動的にインストールされ、削除された場合であっても自動的に再インストールされます。ネーミングは、ビルド(ベータ版や安定版)に応じて調整されます。

この変更により、
Firefox の更新動作が改善されますが、ポリシーを使用して新機能(background updates)をブロックすることは可能です。
BackgroundAppUpdate | Mozilla(README.md)
https://github.com/mozilla/policy-templ ... dappupdate
false に設定すれば、アプリケーションが実行されていないときに、アップデートのインストールを試みません。
「DisableAppUpdate」でアップデートを無効にしたり、「AppUpdateAuto」で自動アップデートを無効にしたりしている場合は、このポリシー(BackgroundAppUpdate)は無効化されます。
Compatibility(互換性): Firefox 89
CCK2 Equivalent: N/A
Preferences Affected(影響を受ける設定): app.update.background.enabled

要約すれば、
Mozilla が導入する「バックグラウンドアップデート」は、テレメトリやリソースを一切使用せず、OS のタスクスケジューラを使ってアップデートをチェックするだけです。
つまり、通常はユーザーが手動で行っている「アップデートチェック」を、タスクスケジューラーで代行(自動化)するメカニズムです。
ただし、現段階では「Windows」OS 仕様の Firefox に限定されています。

-------------
Mozilla エンジニアの Nick Alexander が新しい更新メカニズムの内部動作について説明しています。
Firefox Nightly on Windows will now try to update even when it is not running | Nick Alexander (:nalexander), for the I/U team
https://groups.google.com/g/firefox-dev ... rzhe64BwAJ
以下に、全文を(原文のまま)転載します。

Nick Alexander
Apr 12, 2021, 7:56:30 PM
to Firefox Dev, install-update

Hello friends,

Late yesterday the Install/Update team enabled updates in the background, when Firefox is not running for browsing, for our Windows Nightly population. These changes should be making their way to a Nightly near you shortly. Please be on the lookout for update-related wonkiness and unexpected CPU and I/O spikes, and file regressions against Bug 1703909 [1]. This functionality will ride the trains and will have a staged rollout during both the Beta 89 cycle and the Release 89 cycle.

Updates when Firefox is not running work as follows: the default Firefox profile (for each OS-level user) will schedule OS-level tasks that run periodically [2]. These tasks invoke Firefox in a stripped-down headless “background task mode” [3] that pumps the update cycle before exiting. These tasks have been designed to not process updates when other Firefox instances are running, so they should not force restarts of running instances; and they access (lock) the default profile for only a very short period of time so they should not prevent starting Firefox for regular browsing. If you need to disable this functionality, about:preferences should show a checkbox in the “Updates” section for you to disable, or you can set the BackgroundAppUpdate Firefox policy to false.

If you live inside Firefox Nightly (on Windows), these changes should not impact you very much, since the tasks will start, recognize there is an existing instance, and essentially never do any work. But if you are an intermittent Firefox Nightly user, you should find yourself up-to-date a little more often.

A number of fine folks contributed to this project, including Kirk Steuber (:bytesized), Adam Gashlin (:agashlin), Rachel Tublitz (:rtublitz), Molly Howell (:mhowell), and Dave Townsend (:Mossop). The preparatory work stretches back years! As always, thanks to our amazing QA team and the many reviewers along the path. The meta ticket for this milestone is Bug 1689520 [4].

Questions and comments are best on Matrix in #install-update [5].

Best,

Nick Alexander (:nalexander), for the I/U team

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1703909, first appears in build ID 20210412213434.

[2] Right now, every 7 hours: https://searchfox.org/mozilla-central/s ... rval&path=

[3] https://firefox-source-docs.mozilla.org ... index.html

[4] Meta ticket is https://bugzilla.mozilla.org/show_bug.cgi?id=1689520

[5] https://chat.mozilla.org/#/room/#install-update:mozilla.org.

--
You received this message because you are subscribed to the Google Groups "firef...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firefox-dev...@mozilla.org.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org ... .gmail.com.

_________________
Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0


通報する
ページトップ
 プロフィール  
引用付きで返信する  
期間内表示:  ソート  
新しいトピックを投稿する トピックへ返信する  [ 1 件の記事 ] 

All times are UTC + 9 hours


オンラインデータ

このフォーラムを閲覧中のユーザー: なし & ゲスト[11人]


トピック投稿:  可
返信投稿:  可
記事編集: 不可
記事削除: 不可
ファイル添付: 不可

検索:
ページ移動:  
Powered by MozillaZine.jp® Forum Software © phpBB Group , Almsamim WYSIWYG
Japanese translation principally by ocean