~daker/webbrowser-app/fix.1169757

Viewing all changes in revision 316.

  • Committer: Tarmac
  • Author(s): Olivier Tilloy
  • Date: 2013-09-18 18:10:40 UTC
  • mfrom: (287.3.1 webbrowser-app)
  • Revision ID: tarmac-20130918181040-tdu4heytwhxhzzvy
Override the UA string for facebook.com to ensure we’re getting touch-enabled content.

Without this override, we were getting unstyled mobile content from the 90s.
Impersonating an iphone or android would offer to install the respective applications when logging in.
The 'Firefox' token gets us the right content (and pretending to be AppleWebKit seems to be necessary too, otherwise the layout is busted). Fixes: https://bugs.launchpad.net/bugs/1215002.

Approved by Bill Filler, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: