Open
Bug 1404855
Opened 7 years ago
Updated 2 years ago
Theming API - Add tests for windowId parameter on the browser UI
Categories
(WebExtensions :: Themes, defect, P3)
WebExtensions
Themes
Tracking
(Not tracked)
NEW
People
(Reporter: ntim, Unassigned)
References
(Blocks 2 open bugs)
Details
No description provided.
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P5
Reporter | ||
Comment 1•7 years ago
|
||
Bug 1349944 tests whether the windowId parameter works well on the WebExtension side of things. What's left to add are tests for whether the properties are properly applied on the browser UI itself.
Reporter | ||
Updated•7 years ago
|
Summary: Theming API - Add tests for windowId parameter → Theming API - Add tests for windowId parameter on the browser UI
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•6 years ago
|
Assignee: ntim.bugs → nobody
Updated•6 years ago
|
Depends on: dark-theme-darkening
Updated•6 years ago
|
Blocks: dark-theme-darkening
No longer depends on: dark-theme-darkening
Updated•6 years ago
|
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
Comment 2•6 years ago
|
||
P5's clearly the wrong value; we need a stable base to expand the Theming API from, so a regression test like this is essential. We can also ensure that bug 1387737 won't happen again.
Priority: P5 → P2
Comment 3•6 years ago
|
||
Hmm, seems like https://searchfox.org/mozilla-central/source/toolkit/components/extensions/test/browser/browser_ext_themes_dynamic_onUpdated.js is already what we need. Thanks, Tim!
Assignee: mdeboer → ntim.bugs
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•6 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #3) > Hmm, seems like > https://searchfox.org/mozilla-central/source/toolkit/components/extensions/ > test/browser/browser_ext_themes_dynamic_onUpdated.js is already what we need. > Thanks, Tim! This only tests whether `windowId` works well on the WebExtension side, but not on the browser UI side. There are actually absolutely no tests testing whether the CSS variables are set correctly per-window, or that those per-window CSS variables are in sync with the WebExtension getCurrent() method.
Flags: needinfo?(mdeboer)
Comment 5•6 years ago
|
||
Ah, thanks for the note Tim! I'll work on those tests then.
Status: RESOLVED → REOPENED
Flags: needinfo?(mdeboer)
Resolution: FIXED → ---
Updated•6 years ago
|
Assignee: ntim.bugs → mdeboer
Status: REOPENED → ASSIGNED
Reporter | ||
Comment 6•6 years ago
|
||
Welp, this just bit us in bug 1451586.
Updated•6 years ago
|
Product: Toolkit → WebExtensions
Reporter | ||
Updated•6 years ago
|
No longer blocks: dark-theme-darkening
status-firefox57:
wontfix → ---
Reporter | ||
Comment 7•6 years ago
|
||
https://searchfox.org/mozilla-central/source/toolkit/components/extensions/test/browser/browser_ext_themes_ntp_colors_perwindow.js is an example of per-window theme test for the new tab page. It can easily be adjusted for basic accentcolor/textcolor testing.
Comment 8•5 years ago
|
||
Not actively working on this, please feel free to take it when interested.
Assignee: mdeboer → nobody
Status: ASSIGNED → NEW
Updated•5 years ago
|
Priority: P2 → P3
Reporter | ||
Updated•5 years ago
|
Component: General → Themes
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•