Closed
Bug 1472815
Opened 8 years ago
Closed 15 days ago
Need a test for bug 1466846 - "homepage" in chrome_settings_overrides not working in some cases
Categories
(WebExtensions :: General, enhancement, P3)
WebExtensions
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mkaply, Assigned: mkaply)
References
Details
bug 1466846 has a fix for a specific problem related to homepage in chrome_settings_overrides where if you disable and reenable, homepage is no longer taken over.
We should have a test for this.
I didn't do it as part of the bug because I was trying to get a quick fix in and honestly I wasn't sure how to write a test (the browser needs to restarted to show the bug).
Updated•8 years ago
|
Priority: -- → P2
Comment 1•8 years ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #0)
> I didn't do it as part of the bug because I was trying to get a quick fix in
> and honestly I wasn't sure how to write a test (the browser needs to
> restarted to show the bug).
I didn't look all that closely at the patch, but if you just need to simulate how the extension is stopped and then re-started across a browser restart, you can do that from an xpcshell test with a simple `await promiseRestartManager();` See something like test_ext_runtime_onInstalled_and_onStartup.js for an example.
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → mozilla
Updated•4 years ago
|
Severity: normal → S3
| Assignee | ||
Comment 3•15 days ago
|
||
Disabling and re-enabling an extension that overrides the homepage is covered by tests now (browser_ext_chrome_settings_overrides_home.js, test_ext_chrome_settings_overrides_update.js, test_ext_settings_overrides_defaults.js). Closing.
Status: NEW → RESOLVED
Closed: 15 days ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•