Closed
Bug 612681
Opened 14 years ago
Closed 14 years ago
Tab.thumbnail property should be a data: URI String
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: myk, Assigned: irakli)
References
Details
The Tab.thumbnail property from the Tabs API is a canvas, but such objects cannot cross the process boundary. It should be a data: URI String instead.
Reporter | ||
Comment 1•14 years ago
|
||
Morphing this bug slightly: in addition to making it a data: URI, it should also be a getThumbnailURL method to which we can later add options for configuring the thumbnail URL returned (such as width and height) rather than a property getter to which we can never add such options.
Assignee | ||
Comment 2•14 years ago
|
||
I already converted getter so that it returns data uri in bug-598981. Once it's inn we can convert it to be a method. Passing w/h is tricky since it may not be proportional to the window size.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → rFobic
Reporter | ||
Comment 3•14 years ago
|
||
Just to be clear: I am not suggesting that we allow width and height to be passed to the getThumbnail method at this point. I was merely using those as examples of the kinds of things we might want to do in the future.
Assignee | ||
Comment 4•14 years ago
|
||
Assignee | ||
Comment 5•14 years ago
|
||
Dietrich / Myk can one of you review this patch ? It's pretty easy so I just made a pull request.
Comment 6•14 years ago
|
||
(In reply to comment #5)
> Dietrich / Myk can one of you review this patch ? It's pretty easy so I just
> made a pull request.
r=me, thanks!
Comment 7•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•