Closed Bug 1195018 Opened 10 years ago Closed 10 years ago

Implement support for `background_color` member in manifest processor

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox43 --- affected
firefox46 --- fixed

People

(Reporter: marcosc, Assigned: marco)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

No description provided.
Blocks: webmanifest
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Attached patch manifest_background_color (obsolete) — Splinter Review
Attachment #8708986 - Flags: review?(mcaceres)
Comment on attachment 8708986 [details] [diff] [review] manifest_background_color Review of attachment 8708986 [details] [diff] [review]: ----------------------------------------------------------------- Don't we also want basically the same tests that we have for theme_color to be used for background color? I'll leave it to your discretion if it's worth testing, as *_color things all basically use the same code path.
Attachment #8708986 - Flags: review?(mcaceres) → review+
Blocks: 1240735
(In reply to Marcos Caceres [:marcosc] from comment #2) > Don't we also want basically the same tests that we have for theme_color to > be used for background color? I'll leave it to your discretion if it's worth > testing, as *_color things all basically use the same code path. There were no tests for theme_color, so I've opened bug 1240735 to track adding them. I'll add background_color tests in that bug as well.
how odd... I distinctly remember writing some :/ I guess they got lost along the way :(
Ah, I remember now... there was a proposal for an icon_background_color member that hasn't made into the spec. I wrote color tests from those. feel free to adapt the attached if you would like :) Maybe save you a bit of time.
(In reply to Marcos Caceres [:marcosc] from comment #5) > Ah, I remember now... there was a proposal for an icon_background_color > member that hasn't made into the spec. I wrote color tests from those. feel > free to adapt the attached if you would like :) Maybe save you a bit of time. Thanks! I've used the valid and invalid examples from test_ImageObjectProcessor_background_color.html (which are the same as the ones in the file you've just attached) to write the tests (patch attached to bug 1240735).
Carrying r+.
Attachment #8708986 - Attachment is obsolete: true
Attachment #8709537 - Flags: review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/031e4d03ebb826cad1b224fc4fc26dc706dbe4ee Bug 1195018 - Support 'background_color' member in the manifest processor. r=marcosc
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: