The browser user-agent string should be dynamic, reacting to form factor changes

Bug #1483765 reported by David Barth
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
Fix Released
High
Olivier Tilloy

Bug Description

To support a converged desktop scenario, the browser user agent string needs to be recalculated as the form factor changes. Currently it is set, according to a set of heuristics, at startup time, and not re-evaluated during the lifetime of the browser app.

There are some more aspects to that bug.

1. What are the heuristics for determining the form-factor, and which form factors to support? Ideally, this is an SDK API we can just re-use.

2. When should the UA be updated? Again, ideally this would be on form factor changes, based on a signal. So which service will deliver that signal?

3. The overrides need also to be dynamic as well, so how many sets are supported, ie depending on the set of form factors supported, we need as many overrides

4. This extends to not only webbrowser-app but more importantly webapp-container, where overrides are a lot more widespread, and not centrally maintained

5. When the UA and / or the form factor changes, parts of webbrowser-app or webapp-container may want to further react, for example to reload the page.

David Barth (dbarth)
description: updated
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in webbrowser-app (Ubuntu):
status: New → Confirmed
Revision history for this message
Steven Austen (ausbuscon) wrote :

When I go to portal.office.com it lets me load my username and then proceeds to try and take me to anotherl ogin page. the string in the URL is generated by a federation server however, after putting in my details in comes up with credentials not found.

this process works OK in either Firefox or chromium on the desktop but in in this package in either the desktop or on the touch device.

Revision history for this message
David Barth (dbarth) wrote :

? how does this relate to the dynamic UA feature ?

Revision history for this message
Olivier Tilloy (osomon) wrote :

Unrelated indeed.

@Steven: please file a new bug at https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+filebug with details on the issue you’re experimenting, so we can track and resolve it separately. Thanks!

Revision history for this message
Olivier Tilloy (osomon) wrote :

Fixed with the fix for bug #1504084.

Changed in webbrowser-app (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
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.