support extension selection for homepage and newtab
Categories
(WebExtensions :: Frontend, enhancement, P2)
Tracking
(firefox85 fixed)
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: mixedpuppy, Assigned: ewright)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
UX details are in bug 1548700. Basically we add extensions to the dropdowns for these settings.
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Bug 1548700 comment 5 has a description of how to start on this UX wise.
Comment 2•5 years ago
|
||
I will attach my WIP patch.
Comment 3•5 years ago
|
||
Here's my WIP patch https://gist.github.com/mstriemer/442912a30cca4c2d27c25d8340c15eaf.
The test unfortunately isn't passing, I think because the dropdown isn't being updated when the add-on is installed. I dug into it a little and I think it's because once the select has been changed installing an add-on will no longer make it immediately become the default. I don't recall if this was expected or not, but I think we had discussed it when I was first working on this.
Reporter | ||
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Bug 1461348 is effectively the same as this one, right?
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Bug 1595858 - Allow users to select or deselect addons for hompage and newtab without disabling the addons.
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Backed out changeset d86e4d6c2be4 (bug 1595858) for browser_ext_chrome_settings_overrides_home.js failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/d70bf7b7cef939d678ab162b5ae2725cee322f78
Failure log: https://treeherder.mozilla.org/logviewer?job_id=321658302&repo=autoland&lineNumber=37464
...
[task 2020-11-13T03:50:53.675Z] 03:50:53 INFO - TEST-OK | browser/components/extensions/test/browser/browser_ext_windows_update.js | took 8012ms
[task 2020-11-13T03:50:53.685Z] 03:50:53 INFO - GECKO(8048) | [Child 928: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0000023DA666BC00 == 2 [pid = 928] [id = 323]
[task 2020-11-13T03:50:53.685Z] 03:50:53 INFO - GECKO(8048) | [Child 928: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (0000023DA3EFA3C0) [pid = 928] [serial = 812] [outer = 0000000000000000]
[task 2020-11-13T03:50:53.685Z] 03:50:53 INFO - GECKO(8048) | [Child 928: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (0000023DA6672C00) [pid = 928] [serial = 813] [outer = 0000023DA3EFA3C0]
[task 2020-11-13T03:50:53.704Z] 03:50:53 INFO - checking window state
[task 2020-11-13T03:50:53.755Z] 03:50:53 INFO - GECKO(8048) | [Parent 7788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 151 (0000024E22A99000) [pid = 7788] [serial = 1323] [outer = 0000024E114783C0]
...
[task 2020-11-13T03:51:12.811Z] 03:51:12 INFO - GECKO(8048) | Completed ShutdownLeaks collections in process 7788
[task 2020-11-13T03:51:12.811Z] 03:51:12 INFO - TEST-START | Shutdown
[task 2020-11-13T03:51:12.813Z] 03:51:12 INFO - Browser Chrome Test Summary
[task 2020-11-13T03:51:12.813Z] 03:51:12 INFO - Passed: 8384
[task 2020-11-13T03:51:12.813Z] 03:51:12 INFO - Failed: 0
[task 2020-11-13T03:51:12.813Z] 03:51:12 INFO - Todo: 11
[task 2020-11-13T03:51:12.813Z] 03:51:12 INFO - Mode: e10s
[task 2020-11-13T03:51:12.813Z] 03:51:12 INFO - *** End BrowserChrome Test Results ***
[task 2020-11-13T03:51:12.893Z] 03:51:12 INFO - GECKO(8048) | [Child 2200, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:40
...
[task 2020-11-13T03:51:17.018Z] 03:51:17 INFO - GECKO(8048) | [Parent 7788, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4287
[task 2020-11-13T03:51:17.119Z] 03:51:17 INFO - TEST-INFO | Main app process: exit 0
[task 2020-11-13T03:51:17.119Z] 03:51:17 INFO - TEST-INFO | Confirming we saw 2560 DOCSHELL created and 2556 destroyed log strings.
[task 2020-11-13T03:51:17.120Z] 03:51:17 INFO - TEST-INFO | Confirming we saw 6852 DOMWINDOW created and 6834 destroyed log strings.
[task 2020-11-13T03:51:17.120Z] 03:51:17 ERROR - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2020-11-13T03:51:17.121Z] 03:51:17 ERROR - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2020-11-13T03:51:17.121Z] 03:51:17 INFO - TEST-INFO | browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js | windows(s) leaked: [pid = 7788] [serial = 159], [pid = 7788] [serial = 158]
...
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
Backed out changeset 26f7d3a8b1b6 (bug 1595858) for overrides related mochitest failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/42e7e98c701d3e8c8c66a5acca0f0aeeb5076661
Failures log: https://treeherder.mozilla.org/logviewer?job_id=322104778&repo=autoland&lineNumber=38058
...
[task 2020-11-17T22:52:01.286Z] 22:52:01 INFO - GECKO(5980) | [Parent 8044, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4287
[task 2020-11-17T22:52:01.352Z] 22:52:01 INFO - TEST-INFO | Main app process: exit 0
[task 2020-11-17T22:52:01.352Z] 22:52:01 INFO - TEST-INFO | Confirming we saw 2555 DOCSHELL created and 2549 destroyed log strings.
[task 2020-11-17T22:52:01.352Z] 22:52:01 INFO - TEST-INFO | Confirming we saw 6839 DOMWINDOW created and 6822 destroyed log strings.
[task 2020-11-17T22:52:01.357Z] 22:52:01 ERROR - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2020-11-17T22:52:01.357Z] 22:52:01 ERROR - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2020-11-17T22:52:01.358Z] 22:52:01 INFO - TEST-INFO | browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js | windows(s) leaked: [pid = 8044] [serial = 159], [pid = 8044] [serial = 158]
...
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Description
•