Confirmed users
2,473
edits
No edit summary |
|||
| Line 5: | Line 5: | ||
Note: The Firefox OS UA, along with the rationale behind its selection, is [[B2G/User_Agent|documented on the Mozilla wiki]]. | Note: The Firefox OS UA, along with the rationale behind its selection, is [[B2G/User_Agent|documented on the Mozilla wiki]]. | ||
==Pragmatic== | ==Pragmatic reasons for not modifying the Firefox OS UA== | ||
Mozilla suggests that it is not in the best interest of any partner to modify the Firefox OS UA for the devices that they ship. | |||
===Risk of individual site regressions=== | ===Risk of individual site regressions=== | ||
Mozilla has been informing sites about the chosen default Firefox OS UA since [http://lawrencemandel.com/2012/07/27/decision-made-firefox-os-user-agent-string/ the decision was made] in July 2012. Mozilla and our partners have worked with a large number of sites, such as Google, Facebook, and Twitter, to ensure that the correct content (i.e. mobile content) is delivered to Firefox OS. Due to the widespread use of UA detection, a change to the UA risks sites no longer detecting Firefox OS as a mobile device and reverting to sending desktop or feature phone content to Firefox OS. | |||
===Risk of framework regressions=== | ===Risk of framework regressions=== | ||
Mozilla has worked with UA detection frameworks, such as WURFL, Categorizr, and 51Degrees, and they all now recognize Firefox OS. Changing the Firefox OS UA would require going back to all of these companies to make further changes. Assuming all of the companies do make the requisite changes, there can be significant lag time in the adoption of these changes by sites that make use of these frameworks. | |||
Mozilla has also worked with media companies, such as YouTube, Vimeo, and SoundCloud, to ensure that content that is frequently embedded within sites is functional on Firefox OS. | |||
=== | ===Future compatibility issues=== | ||
Mozilla wants to encourage the use of detection methods which will work on all Firefox OS devices, both ones that currently exist and ones which have not yet been invented. Specifying a different UA string for each Firefox OS device provides a site the mechanism to, accidentally or deliberately, design their code to work with only a subset of Firefox OS devices. This is a bad for the Firefox OS ecosystem and the open Web. | |||
==Principled== | ==Principled== | ||