Closed
Bug 821114
Opened 13 years ago
Closed 12 years ago
Please create a client-side script that can detect device features and capabilities
Categories
(Marketplace Graveyard :: Developer Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-04-04
People
(Reporter: dbuchner, Assigned: basta)
References
Details
(Whiteboard: [fireplace] p=3)
We need a client-side script that can detect the following data points:
- General device/platform info
> device model
> WebRT version
> OS version
- WebRT API availability
- Screen capabilities
> resolution
> physical size
| Assignee | ||
Updated•13 years ago
|
Summary: Create a client-side script that can detect app-sensitive features on user devices → Please create a client-side script that can detect device features and capabilities
Comment 1•13 years ago
|
||
Who would run this script against the device? And when?
Comment 2•13 years ago
|
||
This is part of the planning meeting we had with dbuc. I filed a tracker at bug 821402
Blocks: 821402
Updated•12 years ago
|
Component: General → Developer Pages
Whiteboard: p=3
| Assignee | ||
Comment 3•12 years ago
|
||
> - General device/platform info
> > device model
This doesn't appear to be a thing. Do we need this information? I thought we were doing feature sniffing.
> > WebRT version
Is there an API for this? Is it part of the user agent?
> > OS version
Same as the above questions.
> - Screen capabilities
> > resolution
window.screen?
> > physical size
window.devicePixelRatio?
I don't know if there's an API (or will be an API) to return the physical size of a pixel.
Updated•12 years ago
|
Whiteboard: p=3 → [fireplace] p=3
| Assignee | ||
Comment 4•12 years ago
|
||
bump? We can't make the client-side device profiler work until we have a list of specific things that need to be tested.
Comment 5•12 years ago
|
||
this was filed prematurely. project is currently in product/ux stage
| Reporter | ||
Comment 6•12 years ago
|
||
(In reply to Wil Clouser [:clouserw] from comment #5)
> this was filed prematurely. project is currently in product/ux stage
I disagree - we know, empirically, most of what we need to capture for the system to operate as desired. UX/UI is downstream from the data-capture requirements. Whatever pretty pictures and user flows UX/UI creates to elicit/display the data is fine, but it does do not dictate what we need to capture - know what I mean?
Let's figure out the ones we know for sure now:
- Privileged API availability (must be checked per API)
- Screen size (for association with general device types)
- Device pixel ratio
- Flash support
- Payments support (carrier)
- What else???
Comment 7•12 years ago
|
||
(In reply to Daniel Buchner [:dbuc] from comment #6)
> (In reply to Wil Clouser [:clouserw] from comment #5)
> > this was filed prematurely. project is currently in product/ux stage
>
> I disagree - we know, empirically, most of what we need to capture for the
> system to operate as desired. UX/UI is downstream from the data-capture
> requirements. Whatever pretty pictures and user flows UX/UI creates to
> elicit/display the data is fine, but it does do not dictate what we need to
> capture - know what I mean?
>
> Let's figure out the ones we know for sure now:
>
> - Privileged API availability (must be checked per API)
> - Screen size (for association with general device types)
> - Device pixel ratio
> - Flash support
> - Payments support (carrier)
> - What else???
Discussions like this don't go well in bugzilla. This is what the product/PRD stage of a project is for.
Updated•12 years ago
|
Assignee: nobody → mattbasta
| Assignee | ||
Comment 8•12 years ago
|
||
We're now passing the following information to the API:
- Device platform (desktop, android, fxos)
- Wide/narrow screen
- Device profile (API compatibility for non-certified and critical APIs)
https://github.com/mozilla/fireplace/commit/f1cd47d7081ff5e1c64585f1aa5a573c22aff5b6
Chrome has a profile of 3088.22.1.
Firefox Nightly has a profile of 2277237.22.1.
See code for details
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 9•12 years ago
|
||
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 10•12 years ago
|
||
you're literally the worst.
https://github.com/mozilla/fireplace/commit/3aa63cea5551e5394ae92964e5d0934167388e38
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Target Milestone: --- → 2013-04-04
You need to log in
before you can comment on or make changes to this bug.
Description
•