| Bug 1325637 removed browser.preferences.instantApply and its code r?jaws
Authored by mpj.5 on Dec 19 2021, 7:48 AM. Referenced Files | Unknown Object (File) | | Thu, Jun 11, 7:29 PM2026-06-11 19:29:59 (UTC+0) |
| Unknown Object (File) | | Thu, Jun 11, 2:24 AM2026-06-11 02:24:02 (UTC+0) |
| Unknown Object (File) | | May 11 2026, 8:29 PM2026-05-11 20:29:15 (UTC+0) |
| Unknown Object (File) | | Mar 30 2026, 7:48 AM2026-03-30 07:48:11 (UTC+0) |
| Unknown Object (File) | | Mar 17 2026, 2:47 AM2026-03-17 02:47:24 (UTC+0) |
| Unknown Object (File) | | Mar 13 2026, 5:24 PM2026-03-13 17:24:11 (UTC+0) |
| Unknown Object (File) | | Mar 13 2026, 2:19 AM2026-03-13 02:19:26 (UTC+0) |
| Unknown Object (File) | | Mar 12 2026, 10:52 PM2026-03-12 22:52:39 (UTC+0) |
- Reviewers
-
- Group Reviewers
-
- Bugzilla Bug ID
- 1325637
Event TimelineComment ActionsThanks for working on this! I think in a number of cases, the removals are not quite right and need some more work. Feel free to ask questions in #fx-desktop-dev on Mozilla's matrix if anything is unclear! It's probably a good idea to make sure that after you re-run and , the preferences/settings page in Firefox still loads and works. :-) | browser/components/preferences/preferences.js |
| 181 | You need to keep this line, or the prefs won't load. :-) |
| browser/components/preferences/tests/browser_languages_subdialog.js |
| 12 | I suspect this test will now fail - did you try rebuilding and then running this test? |
| browser/components/preferences/tests/privacypane_tests_perwindow.js |
| 382 | This needs to keep the line, and the statement, but you can indeed remove the call. |
| toolkit/content/preferencesBindings.js |
| 81–105 | The result here is no longer valid JS. We should keep the getter on this object, but it should return if , and otherwise. |
| 271–277 | This should probably all stay. |
| 405–408 | |
| 531–539 | |
| toolkit/content/tests/chrome/test_preferences.xhtml |
| 438–451 | We should keep the test coverage here but stop writing the pref. I think we should remove the "non instant" tests below, and the functions those test, but ensure that the child window code covers the non-instant-apply case. |
| toolkit/content/tests/chrome/test_preferences_beforeaccept.xhtml |
| 13–48 | We'd need to change this test so it opens the dialog as a window. |
mpj.5 added inline comments. | browser/components/preferences/tests/browser_languages_subdialog.js |
| 12 | Run failed - output:
Unexpected Results
browser/components/preferences/tests/browser_languages_subdialog.js
FAIL The 'Request English' checkbox is checked. -
Stack trace:
chrome://mochikit/content/browser-test.js:test_ok:1375
chrome://mochitests/content/browser/browser/components/preferences/tests/browser_languages_subdialog.js:null:71
FAIL The privacy.spoof_english pref is set to 2. - Got +0, expected 2
Stack trace:
chrome://mochikit/content/browser-test.js:test_is:1403
chrome://mochitests/content/browser/browser/components/preferences/tests/browser_languages_subdialog.js:null:75
FAIL The privacy.spoof_english pref is set to 1. - Got +0, expected 1
Stack trace:
chrome://mochikit/content/browser-test.js:test_is:1403
chrome://mochitests/content/browser/browser/components/preferences/tests/browser_languages_subdialog.js:null:103 |
mpj.5 marked an inline comment as done. Comment ActionsThis one has turned out to be beyond my abilities | Path | Size |
|---|
| | | 6 lines | | | 3 lines | | | 6 lines | | 6 lines | | 1 line | | 1 line | | 1 line | | 6 lines | | | 44 lines | | | 10 lines | | 1 line |
| Commit | Parents | Author | Summary | Date |
|---|
| bfbd8f21d624 | b66f40aa1542 | Patrick | Bug 1325637 removed browser.preferences.instantApply and its code r?jaws (Show More…) | Dec 19 2021, 7:47 AM |
- Tue, Jun 16, 5:37 PM2026-06-16 17:37:18 (UTC+0)
- Fri, Jun 12, 12:03 AM2026-06-12 00:03:45 (UTC+0)
- Wed, May 27, 6:15 AM2026-05-27 06:15:34 (UTC+0)
- Tue, May 26, 10:04 AM2026-05-26 10:04:44 (UTC+0)
browser/app/profile/firefox.jsbrowser/components/preferences/preferences.jsbrowser/components/preferences/tests/browser_basic_rebuild_fonts_test.jsbrowser/components/preferences/tests/browser_bug1020245_openPreferences_to_paneContent.jsbrowser/components/preferences/tests/browser_connection.jsbrowser/components/preferences/tests/browser_languages_subdialog.jsbrowser/components/preferences/tests/browser_proxy_backup.jsbrowser/components/preferences/tests/privacypane_tests_perwindow.jstoolkit/content/preferencesBindings.jstoolkit/content/tests/chrome/test_preferences.xhtmltoolkit/content/tests/chrome/test_preferences_beforeaccept.xhtml |