ubuntu-apps-bugs team mailing list archive
-
ubuntu-apps-bugs team
-
Mailing list archive
-
Message #09631
[Bug 1591220] Re: Generate UA override lists at build time to allow variable substitutions
This bug was fixed in the package webbrowser-app -
0.23+16.10.20160701.1-0ubuntu1
---------------
webbrowser-app (0.23+16.10.20160701.1-0ubuntu1) yakkety; urgency=medium
* Generate UA override list files at build time to un-hardcode ubuntu
and chromium version numbers. (LP: #1591220)
* Fix one flaky autopilot test. (LP: #1591120)
* Temporarily skip tests on arm64 to unblock package build without
oxide. (LP: #1585942)
* Update the target that lists non-compiled files.
-- Olivier Tilloy <olivier.tilloy@xxxxxxxxxxxxx> Fri, 01 Jul 2016
13:10:14 +0000
** Changed in: webbrowser-app (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1591220
Title:
Generate UA override lists at build time to allow variable
substitutions
Status in Canonical System Image:
Fix Committed
Status in webbrowser-app package in Ubuntu:
Fix Released
Bug description:
The UA override lists are plain javascript files shipped by qml-
module-ubuntu-web. The overrides are hardcoded, and often contain
version numbers such as the webkit build version, the chrome/chromium
build version, the ubuntu release, e.g.:
"Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4)
AppleWebKit/537.36 Chromium/35.0.1870.2 Mobile Safari"
It would be useful if we could generate those files at build time, and
allow for variables to be replaced. For example, the above UA string
would become:
"Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@ like Android 4.4)
AppleWebKit/@WEBKIT_VERSION@ Chromium/@CHROMIUM_VERSION@ Mobile
Safari/@WEBKIT_VERSION@"
Not all overrides would be required to use those variables, if
necessary some version numbers could remain hardcoded.
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1591220/+subscriptions
References