← Back to team overview

touch-packages team mailing list archive

[Bug 1379497] Re: [webapp-container] UA Override from an optional webapp-properies.json file is not set

 

** Branch linked: lp:~abreu-alexandre/webbrowser-app/webapp-properties-
ua-override-fix-rtm-14.09

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1379497

Title:
  [webapp-container] UA Override from an optional webapp-properies.json
  file is not set

Status in the base for Ubuntu mobile products:
  New
Status in Web Browser App:
  Fix Released
Status in webbrowser-app package in Ubuntu:
  Fix Released
Status in webbrowser-app package in Ubuntu RTM:
  Confirmed

Bug description:
  A Webapp has the option to either specify a command line option to
  have a specific UA overriding the default or hgave a local webapp-
  properties.json file that defines the UA override such as:

  {
      "name": "MyWebapp",
      "includes":["http://user-agent.me/*";],
      "domain":"user-agent.me",
      "homepage":"http://user-agent.me/";,
      "user-agent-override": "Mozilla/5.0 custom-user-agent-string (unlike AnyOtheBrowser)"
  }

  This currently does work, or to be more precise works but the url is
  set before during the init flow, and the UA string is being set after
  the website was browsed to.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1379497/+subscriptions