Compatibility/Mobile/WipeOutUAOverides

From MozillaWiki
Jump to: navigation, search

Wipe Out User Agent (UA) Overrides

User Agent (UA) overrides is to be a short lived solution until the Web content is fixed to recognize B2G as mobile or the site has been fixed to modern methods.

Goal

This goal of this project is to drive the B2G UA override list to zero.

Scope

The scope of this project is all sites listed on the UA override list. This list is also available in Bugzilla.

The sites for which UA overrides have been added have each been smoke tested to ensure that they are functional. The request of these sites is simply to recognize the B2G UA as mobile, preferably by recognizing the "Mobi" token in the UA.

Duration

A report will be done by mid-March 2014.

Communication

Communication Type Mechanism Audience
UA override list Mozilla Central source file, Bugzilla bugs All

Press & Blog Posts

Progress Reports

2013
  • reports go here

People

Project Management Lawrence Mandel
Partner Outreach Karl Dubost
Tooling Hallvord Steen

Dependencies

Updating the UA override list

Since the end of 2013, the UA override list is managed dynamically on the server side. @@Insert here the relevant bugs and documentation@@

Once a bug has been resolved it is necessary to update the ua-override list on the Mozilla Central. It is possible to make one pull request for a few ua strings override at the same time.

For the following instructions, you are expected to have

  1. A working knowledge of hg
  2. A Mozilla bugzilla account


Preparation

  1. Install Mercurial (10 minutes)
  2. Get Mozilla Source Code Using Mercurial with hg clone https://hg.mozilla.org/mozilla-central/ mozilla-central (A lot of times: 2.3 GB to transfer)
  3. If it's your first time with Mercurial: ./mach mercurial-setup will save you a lot of time for configuration and be ready to work with Mozilla environment.

Updating the UA override list

  1. cd /your/path/mozilla-central
  2. hg status
  3. hg qpop -a
  4. hg pull -u
  5. cd b2g/app
  6. Check the Remove UA override bug, you are working with to find the list of domains to remove.
  7. Edit the UA override ua-update.json.in
  8. Be sure that all the domains you are removing are actually closed bugs on the bug dependency list.
  9. Create a new patch. For example: hg qnew ua-override-bug965060.patch
  10. Add as an attachment the patch to the bug (for example Bug 965060). The patch is avalaible in mozilla-central/.hg/patches/.
  11. Ask for review of your code r? lmandel
  12. Once the patch got a r+, add the keyword checkin-needed
  13. Once it is in. The committer will close the bug.

UA Override List

Outstanding

Full Query
ID Summary Priority Status
826347 msn.com doesn't recognize Firefox OS on smartphones. P5 ASSIGNED
826348 linkedin.com doesn't recognize Firefox OS UA as mobile P5 NEW
826353 itau.com.br doesn't recognize B2G UA as mobile P5 ASSIGNED
826510 r7.com doesn't recognize B2G UA as mobile P5 ASSIGNED
827622 bing.com doesn't recognize Firefox OS UA as mobile P5 ASSIGNED
827670 elpais.com.co doesn't recognize Firefox OS as mobile P5 ASSIGNED
828416 loteriasyapuestas.es doesn't recognize B2G UA as mobile P5 NEW
828418 bbva.es doesn't recognize B2G UA as mobile P5 ASSIGNED
828439 movistar.com.ve doesn't recognize B2G UA as mobile P5 ASSIGNED
843132 comunio.es doesn't recognize B2G UA as mobile P5 NEW
843151 citibank.com doesn't recognize B2G UA as mobile P5 ASSIGNED
843153 games.com doesn't recognize B2G UA as mobile P5 ASSIGNED
866577 3g.qq.com / info.3g.qq.com doesn't recognize B2G UA as mobile P5 NEW
878228 blikk.hu doesn't recognize B2G UA as mobile P5 ASSIGNED
878238 koponyeg.hu doesn't recognize B2G UA as mobile P5 ASSIGNED
878240 kuruc.info doesn't recognize B2G UA as mobile P5 NEW
878242 nemzetisport.hu doesn't recognize B2G UA as mobile P5 ASSIGNED
878246 port.hu doesn't recognize B2G UA as mobile P5 ASSIGNED
878249 portfolio.hu doesn't recognize B2G UA as mobile P5 NEW
878253 vatera.hu doesn't recognize B2G UA as mobile P5 NEW
878260 cdm.me doesn't recognize B2G UA as mobile P5 ASSIGNED
878264 haber.ba doesn't recognize B2G UA as mobile P5 NEW
878273 livescore.com doesn't recognize B2G UA as mobile P5 ASSIGNED
878653 redstarbelgrade.info doesn't recognize B2G UA as mobile P5 ASSIGNED

24 Total; 24 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Fixed

Full Query
ID Summary Priority Status
799884 Yelp sends desktop site to B2G -- RESOLVED
802981 Cannot navigate maps.google.com in browser app on the device -- RESOLVED
805164 accounts.google.com serves a desktop site to Firefox OS, not the mobile site -- RESOLVED
826335 globo.com sends desktop content to Firefox OS -- RESOLVED
826338 yahoo.com doesn't recognize B2G UA as mobile -- RESOLVED
826342 mercadolivre.com.br doesn't recognize B2G UA as mobile (also mercadolibre.com.uy , several local sites) -- RESOLVED
826343 ig.com.br doesn't recognize B2G UA as mobile -- RESOLVED
826361 tumblr.com doesn't recognize B2G UA as mobile -- RESOLVED
826502 4shared.com doesn't recognize B2G UA as mobile -- RESOLVED
826512 amazon.com doesn't recognize B2G UA as mobile -- RESOLVED
826514 estadao.com.br doesn't recognize B2G UA as mobile -- RESOLVED
826517 letras.mus.br doesn't recognize Fennec and B2G UAs as mobile -- RESOLVED
826711 bb.com.br / bancobrasil.com.br doesn't recognize B2G UA as mobile -- VERIFIED
826715 noticias.uol.com.br doesn't recognize B2G UA as mobile -- RESOLVED
826720 olx.com.br doesn't recognize B2G UA as mobile -- RESOLVED
826949 clickjogos.uol.com.br doesn't recognize B2G UA as mobile -- RESOLVED
826958 ebay.com doesn't recognize B2G UA as mobile -- RESOLVED
827573 webmotors.com.br doesn't recognize B2G UA as mobile -- RESOLVED
827576 lancenet.com.br doesn't recognize B2G UA as mobile -- VERIFIED
827623 tam.com.br doesn't recognize B2G UA as mobile -- RESOLVED
827624 pontofrio.com.br doesn't recognize B2G UA as mobile -- RESOLVED
827626 magazineluiza.com.br doesn't recognize B2G UA as mobile -- RESOLVED
827631 climatempo.com.br doesn't recognize B2G UA as mobile -- RESOLVED
827632 tecmundo.com.br doesn't recognize B2G UA as mobile -- RESOLVED
827634 imdb.com doesn't recognize B2G UA as mobile -- RESOLVED
827635 facebook.com doesn't recognize B2G UA as mobile -- RESOLVED
827636 youtube.com doesn't recognize B2G UA as mobile -- RESOLVED
827661 mercadolibre.com.co doesn't recognize B2G UA as mobile -- RESOLVED
827664 elespectador.com doesn't recognize B2G UA as mobile -- RESOLVED
827666 slideshare.net doesn't recognize B2G UA as mobile -- VERIFIED
827668 scribd.com doesn't recognize B2G UA as mobile -- RESOLVED
827672 olx.com.co doesn't recognize B2G UA as mobile -- RESOLVED
827676 dropbox.com doesn't recognize B2G UA as mobile -- RESOLVED
828354 gazeta.pl doesn't recognize B2G UA as mobile -- RESOLVED
828358 ceneo.pl doesn't recognize B2G UA as mobile -- RESOLVED
828360 sport.pl doesn't recognize B2G UA as mobile -- RESOLVED
828364 nk.pl doesn't recognize B2G UA as mobile -- RESOLVED
828371 ingbank.pl doesn't recognize B2G UA as mobile -- RESOLVED
828378 wyborcza.pl doesn't recognize B2G UA as mobile -- RESOLVED
828380 deser.pl doesn't recognize B2G UA as mobile -- RESOLVED
828386 ebay.es doesn't recognize B2G UA as mobile -- RESOLVED
828388 amazon.es doesn't recognize Fennec and B2G UAs as mobile -- RESOLVED
828390 20minutos.es doesn't recognize B2G UA as mobile -- RESOLVED
828392 infojobs.net doesn't recognize B2G UA as mobile -- RESOLVED
828394 vimeo.com doesn't recognize B2G UA as mobile -- RESOLVED
828401 ingdirect.es doesn't recognize B2G UA as mobile -- VERIFIED
828403 fotocasa.es doesn't recognize B2G UA as mobile -- RESOLVED
828406 orange.es doesn't recognize B2G UA as mobile -- RESOLVED
828408 stackoverflow.com doesn't recognize Fennec and B2G UAs as mobile -- VERIFIED
828412 amazon.co.uk doesn't recognize B2G UA as mobile -- RESOLVED
828420 booking.com doesn't recognize B2G UA as mobile -- RESOLVED
828422 publico.es doesn't recognize B2G UA as mobile -- RESOLVED
828425 mercadolibre.com.ve doesn't recognize B2G UA as mobile -- RESOLVED
828428 lapatilla.com doesn't recognize B2G UA as mobile -- RESOLVED
828430 meridiano.com.ve doesn't recognize Fennec and B2G UAs as mobile -- RESOLVED
828431 espn.go.com doesn't recognize B2G UA as mobile -- RESOLVED
828433 olx.com.ve doesn't recognize B2G UA as mobile -- RESOLVED
828437 avn.info.ve doesn't recognize B2G UA as mobile -- RESOLVED
828441 laverdad.com doesn't recognize B2G UA as mobile -- RESOLVED
828443 despegar.com.ve doesn't recognize B2G UA as mobile -- RESOLVED
828445 bumeran.com.ve doesn't recognize B2G UA as mobile -- RESOLVED
828448 petardas.com doesn't recognize B2G UA as mobile -- RESOLVED
829478 mail.google.com doesn't recognize B2G as mobile -- RESOLVED
843109 enfemenino.com doesn't recognize B2G UA as mobile -- RESOLVED
843114 einforma.com doesn't recognize B2G UA as mobile -- VERIFIED
843116 wwwhatsnew.com doesn't recognize B2G UA as mobile -- RESOLVED
843124 maruccisports.com doesn't recognize B2G UA as mobile -- VERIFIED
843126 es.playstation.com doesn't recognize Firefox OS or Firefox on Android UAs as mobile -- RESOLVED
843129 11870.com doesn't recognize B2G UA as mobile -- RESOLVED
843134 news.google.com doesn't recognize B2G UA as mobile -- RESOLVED
843136 deviantart.com doesn't recognize B2G UA as mobile -- RESOLVED
843143 foxnewsinsider.com doesn't recognize B2G UA as mobile -- RESOLVED
843146 edmunds.com doesn't recognize B2G UA as mobile -- RESOLVED
843149 arstechnica.com doesn't recognize B2G UA as mobile -- RESOLVED
843154 nba.com doesn't recognize B2G UA as mobile -- VERIFIED
843156 orbitz.com doesn't recognize B2G UA as mobile -- VERIFIED
843160 ehow.com doesn't recognize B2G UA as mobile -- RESOLVED
843162 urbanspoon.com doesn't recognize B2G UA as mobile -- RESOLVED
843165 virginatlantic.com doesn't recognize B2G UA as mobile -- RESOLVED
843168 cheaptickets.com doesn't recognize B2G UA as mobile -- RESOLVED
843170 etsy.com doesn't recognize B2G UA as mobile -- RESOLVED
843172 zimbio.com doesn't recognize B2G UA as mobile -- RESOLVED
843174 thinkgeek.com doesn't recognize B2G UA as mobile -- RESOLVED
843181 slashgear.com doesn't recognize B2G UA as mobile -- RESOLVED
843183 thechive.com doesn't recognize B2G UA as mobile -- RESOLVED
843186 chevrolet.com doesn't recognize B2G UA as mobile -- RESOLVED
843197 icanhas.cheezburger.com doesn't recognize B2G UA as mobile -- RESOLVED
848854 deadline.com doesn't recognize B2G UA as mobile -- RESOLVED
878220 aprod.hu doesn't recognize B2G UA as mobile -- RESOLVED
878222 arukereso.hu doesn't recognize B2G UA as mobile -- RESOLVED
878224 badoo.com doesn't recognize B2G UA as mobile -- RESOLVED
878226 bet365.com doesn't recognize B2G UA as mobile -- RESOLVED
878230 citromail.hu doesn't recognize Firefox OS UA as mobile -- RESOLVED
878232 hazipatika.com doesn't recognize B2G UA as mobile -- RESOLVED
878234 hvg.hu doesn't recognize B2G UA as mobile -- RESOLVED
878244 nlcafe.hu doesn't recognize Fennec or B2G UA as mobile -- RESOLVED
878251 profession.hu doesn't recognize B2G UA as mobile -- RESOLVED
878255 24sata.hr doesn't recognize B2G UA as mobile -- RESOLVED
878271 kurir-info.rs doesn't recognize B2G UA as mobile -- RESOLVED
878275 mondo.rs doesn't recognize B2G UA as mobile -- RESOLVED
878277 naslovi.net doesn't recognize B2G UA as mobile -- RESOLVED
878286 yandex.ru doesn't recognize B2G UA as mobile -- VERIFIED
878630 ask.com doesn't recognize B2G UA as mobile -- RESOLVED
878634 buenastareas.com doesn't recognize B2G UA as mobile -- RESOLVED
878635 cnn.com doesn't recognize Fennec or B2G UA as mobile -- RESOLVED
878638 flickr.com doesn't recognize B2G UA as mobile -- RESOLVED
878642 mercadolibre.com.mx doesn't recognize B2G UA as mobile -- RESOLVED
878645 olx.com.mx doesn't recognize B2G UA as mobile -- RESOLVED
878649 univision.com doesn't recognize B2G UA as mobile -- RESOLVED
878655 vesti-online.com doesn't recognize B2G UA as mobile -- RESOLVED
895501 YUI doesn't identify Firefox OS UA String correctly -- RESOLVED
896014 paypal.com payment process doesn't recognize Firefox OS UA as mobile -- RESOLVED
969521 paypal.com sends desktop site to Firefox OS -- RESOLVED
980191 UA override list for everything.me domain -- RESOLVED
1174784 YouTube video playback broken with Android version in UA string (because they are serving 3GP instead of MP4) -- RESOLVED

115 Total; 0 Open (0%); 105 Resolved (91.3%); 10 Verified (8.7%);


References