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

Bug #1379497 reported by Alexandre Abreu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Undecided
Unassigned
webbrowser-app
Fix Released
High
Alexandre Abreu
webbrowser-app (Ubuntu)
Fix Released
Undecided
Unassigned
webbrowser-app (Ubuntu RTM)
Fix Released
Undecided
Unassigned

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.

Related branches

Changed in webbrowser-app:
status: New → In Progress
importance: Undecided → Medium
importance: Medium → High
assignee: nobody → Alexandre Abreu (abreu-alexandre)
David Barth (dbarth)
tags: added: ota-1 touch-2014-10-16
Olivier Tilloy (osomon)
tags: added: touch-2014-10-23
removed: touch-2014-10-16
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

approved

tags: added: rtm14
removed: ota-1
Olivier Tilloy (osomon)
tags: added: touch-2014-10-30
removed: touch-2014-10-23
Olivier Tilloy (osomon)
tags: added: touch-2014-11-06
removed: touch-2014-10-30
Changed in webbrowser-app:
status: In Progress → Fix Released
Changed in webbrowser-app (Ubuntu):
status: New → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu RTM):
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: none → ww05-2015
status: New → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu RTM):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.