Merge lp:~osomon/webbrowser-app/generate-ua-overrides into lp:webbrowser-app
- generate-ua-overrides
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Olivier Tilloy |
Approved revision: | 1482 |
Merged at revision: | 1496 |
Proposed branch: | lp:~osomon/webbrowser-app/generate-ua-overrides |
Merge into: | lp:webbrowser-app |
Diff against target: |
200 lines (+57/-27) 10 files modified
.bzrignore (+2/-0) CMakeLists.txt (+5/-0) debian/control (+2/-1) src/Ubuntu/CMakeLists.txt (+8/-0) src/Ubuntu/Components/Extras/Browser/CMakeLists.txt (+8/-0) src/Ubuntu/Web/CMakeLists.txt (+8/-0) src/Ubuntu/Web/ua-overrides-desktop.js.in (+8/-8) src/Ubuntu/Web/ua-overrides-mobile.js.in (+10/-10) src/Ubuntu/chromium-version.qml (+6/-0) tests/unittests/qml/CMakeLists.txt (+0/-8) |
To merge this branch: | bzr merge lp:~osomon/webbrowser-app/generate-ua-overrides |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
system-apps-ci-bot | continuous-integration | Needs Fixing | |
David Barth (community) | Approve | ||
Review via email:
|
Commit message
Generate UA override list files at build time to un-hardcode ubuntu and chromium version numbers.
Description of the change
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1477
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1477
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1477
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1477
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 1478. By Olivier Tilloy
-
Merge latest changes from trunk and resolve conflicts.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1478
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 1479. By Olivier Tilloy
-
Bump version of oxide required at build time.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1479
https:/
Executed test runs:
Click here to trigger a rebuild:
https:/
- 1480. By Olivier Tilloy
-
Run qmlscene inside xvfb.
- 1481. By Olivier Tilloy
-
Factor out detection of xvfb-run.
- 1482. By Olivier Tilloy
-
Verify that the chromium version has the expected form.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1482
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1482
https:/
Executed test runs:
ABORTED: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:1482
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
Preview Diff
1 | === modified file '.bzrignore' |
2 | --- .bzrignore 2016-03-04 11:48:38 +0000 |
3 | +++ .bzrignore 2016-07-01 13:07:16 +0000 |
4 | @@ -23,6 +23,8 @@ |
5 | src/app/webbrowser/webbrowser-app |
6 | src/app/webbrowser/webbrowser-app.desktop |
7 | src/app/webbrowser/webbrowser-app.desktop.in |
8 | +src/Ubuntu/Components/Extras/Browser/ua-overrides-*.js |
9 | +src/Ubuntu/Web/ua-overrides-*.js |
10 | RE:tests/unittests/.+/tst_\w+Tests$ |
11 | po/*.gmo |
12 | po/src |
13 | |
14 | === modified file 'CMakeLists.txt' |
15 | --- CMakeLists.txt 2016-04-01 09:44:20 +0000 |
16 | +++ CMakeLists.txt 2016-07-01 13:07:16 +0000 |
17 | @@ -11,6 +11,11 @@ |
18 | if(NOT INTLTOOL_EXTRACT) |
19 | message(FATAL_ERROR "Could not find intltool-extract, please install the intltool package") |
20 | endif() |
21 | +find_program(XVFBRUN xvfb-run) |
22 | +if(NOT XVFBRUN) |
23 | + message(FATAL_ERROR "Could not find xvfb-run, please install the xvfb package") |
24 | +endif() |
25 | +set(XVFB_COMMAND ${XVFBRUN} -s "-screen 0 640x480x24" -a) |
26 | |
27 | # Standard install paths |
28 | include(GNUInstallDirs) |
29 | |
30 | === modified file 'debian/control' |
31 | --- debian/control 2016-06-03 08:09:24 +0000 |
32 | +++ debian/control 2016-07-01 13:07:16 +0000 |
33 | @@ -11,7 +11,7 @@ |
34 | dh-translations, |
35 | libapparmor-dev, |
36 | libevdev-dev, |
37 | - liboxideqt-qmlplugin (>= 1.12), |
38 | + liboxideqt-qmlplugin (>= 1.15), |
39 | libqt5sql5-sqlite, |
40 | libudev-dev, |
41 | lsb-release, |
42 | @@ -23,6 +23,7 @@ |
43 | qml-module-qtquick2 (>= 5.4), |
44 | qml-module-qtquick-layouts, |
45 | qml-module-qttest, |
46 | + qmlscene, |
47 | qt5-default, |
48 | qt5-qmake, |
49 | qtbase5-dev (>= 5.4), |
50 | |
51 | === modified file 'src/Ubuntu/CMakeLists.txt' |
52 | --- src/Ubuntu/CMakeLists.txt 2016-04-27 16:44:58 +0000 |
53 | +++ src/Ubuntu/CMakeLists.txt 2016-07-01 13:07:16 +0000 |
54 | @@ -23,5 +23,13 @@ |
55 | OUTPUT_VARIABLE UBUNTU_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) |
56 | add_definitions(-DUBUNTU_VERSION="${UBUNTU_VERSION}") |
57 | |
58 | +execute_process(COMMAND ${XVFB_COMMAND} qmlscene --quit ${CMAKE_CURRENT_SOURCE_DIR}/chromium-version.qml |
59 | + OUTPUT_VARIABLE CHROMIUM_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) |
60 | +string(REGEX MATCH "\\[(.*)\\]" _ ${CHROMIUM_VERSION}) |
61 | +set(CHROMIUM_VERSION ${CMAKE_MATCH_1}) |
62 | +if(NOT CHROMIUM_VERSION MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+$") |
63 | + message(FATAL_ERROR "Invalid chromium version: '${CHROMIUM_VERSION}'") |
64 | +endif() |
65 | + |
66 | add_subdirectory(Components) |
67 | add_subdirectory(Web) |
68 | |
69 | === modified file 'src/Ubuntu/Components/Extras/Browser/CMakeLists.txt' |
70 | --- src/Ubuntu/Components/Extras/Browser/CMakeLists.txt 2015-06-22 10:29:20 +0000 |
71 | +++ src/Ubuntu/Components/Extras/Browser/CMakeLists.txt 2016-07-01 13:07:16 +0000 |
72 | @@ -17,6 +17,14 @@ |
73 | Qt5::Qml |
74 | ) |
75 | |
76 | +file(GLOB UA_OVERRIDES_IN RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ua-overrides-*.js.in) |
77 | +foreach(_file ${UA_OVERRIDES_IN}) |
78 | + string(REGEX REPLACE "\\.in$" "" OUTFILE ${_file}) |
79 | + configure_file(${_file} ${CMAKE_CURRENT_BINARY_DIR}/${OUTFILE} @ONLY) |
80 | + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${OUTFILE} |
81 | + DESTINATION ${WEBBROWSER_IMPORTS_DIR}) |
82 | +endforeach(_file) |
83 | + |
84 | file(GLOB QML_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.qml qmldir *.js) |
85 | install(TARGETS ${PLUGIN} DESTINATION ${WEBBROWSER_IMPORTS_DIR}) |
86 | install(FILES ${QML_FILES} DESTINATION ${WEBBROWSER_IMPORTS_DIR}) |
87 | |
88 | === removed symlink 'src/Ubuntu/Components/Extras/Browser/ua-overrides-desktop.js' |
89 | === target was u'../../../Web/ua-overrides-desktop.js' |
90 | === added symlink 'src/Ubuntu/Components/Extras/Browser/ua-overrides-desktop.js.in' |
91 | === target is u'../../../Web/ua-overrides-desktop.js.in' |
92 | === removed symlink 'src/Ubuntu/Components/Extras/Browser/ua-overrides-mobile.js' |
93 | === target was u'../../../Web/ua-overrides-mobile.js' |
94 | === added symlink 'src/Ubuntu/Components/Extras/Browser/ua-overrides-mobile.js.in' |
95 | === target is u'../../../Web/ua-overrides-mobile.js.in' |
96 | === modified file 'src/Ubuntu/Web/CMakeLists.txt' |
97 | --- src/Ubuntu/Web/CMakeLists.txt 2016-01-25 11:49:11 +0000 |
98 | +++ src/Ubuntu/Web/CMakeLists.txt 2016-07-01 13:07:16 +0000 |
99 | @@ -17,6 +17,14 @@ |
100 | Qt5::Qml |
101 | ) |
102 | |
103 | +file(GLOB UA_OVERRIDES_IN RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ua-overrides-*.js.in) |
104 | +foreach(_file ${UA_OVERRIDES_IN}) |
105 | + string(REGEX REPLACE "\\.in$" "" OUTFILE ${_file}) |
106 | + configure_file(${_file} ${CMAKE_CURRENT_BINARY_DIR}/${OUTFILE} @ONLY) |
107 | + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${OUTFILE} |
108 | + DESTINATION ${UBUNTU_WEB_IMPORTS_DIR}) |
109 | +endforeach(_file) |
110 | + |
111 | file(GLOB PLUGIN_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.qml qmldir *.js *.png) |
112 | install(TARGETS ${PLUGIN} DESTINATION ${UBUNTU_WEB_IMPORTS_DIR}) |
113 | install(FILES ${PLUGIN_FILES} DESTINATION ${UBUNTU_WEB_IMPORTS_DIR}) |
114 | |
115 | === renamed file 'src/Ubuntu/Web/ua-overrides-desktop.js' => 'src/Ubuntu/Web/ua-overrides-desktop.js.in' |
116 | --- src/Ubuntu/Web/ua-overrides-desktop.js 2016-04-05 09:02:55 +0000 |
117 | +++ src/Ubuntu/Web/ua-overrides-desktop.js.in 2016-07-01 13:07:16 +0000 |
118 | @@ -19,14 +19,14 @@ |
119 | .pragma library |
120 | |
121 | var overrides = [ |
122 | - ["^https?:\/\/(www\.)?google\.com\/calendar", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chromium/35.0.1870.2 Chrome/35.0.1870.2 Safari/537.36"], |
123 | - ["^http:\/\/chrome\.angrybirds\.com\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/35.0.1870.2 Safari/537.36"], // http://pad.lv/1284158 |
124 | - ["^https?:\/\/(www\.)?youtube\.com\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/35.0.1870.2 Safari/537.36"], // http://pad.lv/1412880 |
125 | - ["^https?:\/\/(www\.)?google\..+\/maps", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/35.0.1870.2 Safari/537.36"], // http://pad.lv/1503506, http://pad.lv/1551649 |
126 | - ["^https?:\/\/mail\.google\.com\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/47.0.2526.106 Safari/537.36"], // http://pad.lv/1452616 |
127 | + ["^https?:\/\/(www\.)?google\.com\/calendar", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chromium/@CHROMIUM_VERSION@ Chrome/@CHROMIUM_VERSION@ Safari/537.36"], |
128 | + ["^http:\/\/chrome\.angrybirds\.com\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Safari/537.36"], // http://pad.lv/1284158 |
129 | + ["^https?:\/\/(www\.)?youtube\.com\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Safari/537.36"], // http://pad.lv/1412880 |
130 | + ["^https?:\/\/(www\.)?google\..+\/maps", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Safari/537.36"], // http://pad.lv/1503506, http://pad.lv/1551649 |
131 | + ["^https?:\/\/mail\.google\.com\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Safari/537.36"], // http://pad.lv/1452616 |
132 | |
133 | // Google hangouts (https://launchpad.net/bugs/1565055) |
134 | - ["^https?:\/\/hangouts\.google\.com\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/49.0.2623.87 Safari/537.36"], |
135 | - ["^https?:\/\/talkgadget\.google\.com\/hangouts\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/49.0.2623.87 Safari/537.36"], |
136 | - ["^https?:\/\/plus\.google\.com\/hangouts\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/49.0.2623.87 Safari/537.36"], |
137 | + ["^https?:\/\/hangouts\.google\.com\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Safari/537.36"], |
138 | + ["^https?:\/\/talkgadget\.google\.com\/hangouts\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Safari/537.36"], |
139 | + ["^https?:\/\/plus\.google\.com\/hangouts\/", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Safari/537.36"], |
140 | ]; |
141 | |
142 | === renamed file 'src/Ubuntu/Web/ua-overrides-mobile.js' => 'src/Ubuntu/Web/ua-overrides-mobile.js.in' |
143 | --- src/Ubuntu/Web/ua-overrides-mobile.js 2016-06-15 09:34:18 +0000 |
144 | +++ src/Ubuntu/Web/ua-overrides-mobile.js.in 2016-07-01 13:07:16 +0000 |
145 | @@ -19,15 +19,15 @@ |
146 | .pragma library |
147 | |
148 | var overrides = [ |
149 | - ["^https?:\/\/mail\.google\.com\/", "Mozilla/5.0 (Linux; Android 5.0;) AppleWebKit/537.36 Chrome/51.0.2704.79 Mobile Safari/537.36"], // http://pad.lv/1375889 |
150 | - ["^https?:\/\/(www|m)\.youtube\.com\/", "Mozilla/5.0 (Linux; Android 5.0;) AppleWebKit/537.36 Chrome/51.0.2704.79 Mobile Safari/537.36"], // http://pad.lv/1228415, http://pad.lv/1415107, http://pad.lv/1417258, http://pad.lv/1499394, http://pad.lv/1408760, http://pad.lv/1437485 |
151 | - ["^http:\/\/chrome\.angrybirds\.com\/", "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/35.0.1870.2 Mobile Safari/537.36"], // http://pad.lv/1284158 |
152 | - ["^https?:\/\/(\w+\.)*hsbc\.com\.br\/", "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/35.0.1870.2 Mobile Safari/537.36"], // http://pad.lv/1380657 |
153 | - ["^http:\/\/(\w+\.)*espn\.(go\.)?com\/", "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/35.0.1870.2 Mobile Safari/537.36"], // http://pad.lv/1316259 |
154 | - ["^https?:\/\/(www|m)\.facebook\.com\/", "Mozilla/5.0 (Linux; Ubuntu 14.04; Android 5.0; Nexus 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.102 Mobile Safari/537.36"], // http://pad.lv/1538056, http://pad.lv/1457661 |
155 | - ["^https?:\/\/(mobile\.)?nytimes\.com\/", "Mozilla/5.0 (Linux; Ubuntu 14.04; Android 5.0; Nexus 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.102 Mobile Safari/537.36"], // http://pad.lv/1573620 |
156 | + ["^https?:\/\/mail\.google\.com\/", "Mozilla/5.0 (Linux; Android 5.0;) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], // http://pad.lv/1375889 |
157 | + ["^https?:\/\/(www|m)\.youtube\.com\/", "Mozilla/5.0 (Linux; Android 5.0;) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], // http://pad.lv/1228415, http://pad.lv/1415107, http://pad.lv/1417258, http://pad.lv/1499394, http://pad.lv/1408760, http://pad.lv/1437485 |
158 | + ["^http:\/\/chrome\.angrybirds\.com\/", "Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@ like Android 4.4;) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], // http://pad.lv/1284158 |
159 | + ["^https?:\/\/(\w+\.)*hsbc\.com\.br\/", "Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@ like Android 4.4;) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], // http://pad.lv/1380657 |
160 | + ["^http:\/\/(\w+\.)*espn\.(go\.)?com\/", "Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@ like Android 4.4;) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], // http://pad.lv/1316259 |
161 | + ["^https?:\/\/(www|m)\.facebook\.com\/", "Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@; Android 5.0; Nexus 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], // http://pad.lv/1538056, http://pad.lv/1457661 |
162 | + ["^https?:\/\/(mobile\.)?nytimes\.com\/", "Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@; Android 5.0; Nexus 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], // http://pad.lv/1573620 |
163 | // Google hangouts (https://launchpad.net/bugs/1565055) |
164 | - ["^https?:\/\/hangouts\.google\.com\/", "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/49.0.2623.87 Mobile Safari/537.36"], |
165 | - ["^https?:\/\/talkgadget\.google\.com\/hangouts\/", "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/49.0.2623.87 Mobile Safari/537.36"], |
166 | - ["^https?:\/\/plus\.google\.com\/hangouts\/", "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/49.0.2623.87 Mobile Safari/537.36"], |
167 | + ["^https?:\/\/hangouts\.google\.com\/", "Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@ like Android 4.4;) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], |
168 | + ["^https?:\/\/talkgadget\.google\.com\/hangouts\/", "Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@ like Android 4.4;) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], |
169 | + ["^https?:\/\/plus\.google\.com\/hangouts\/", "Mozilla/5.0 (Linux; Ubuntu @UBUNTU_VERSION@ like Android 4.4;) AppleWebKit/537.36 Chrome/@CHROMIUM_VERSION@ Mobile Safari/537.36"], |
170 | ]; |
171 | |
172 | === added file 'src/Ubuntu/chromium-version.qml' |
173 | --- src/Ubuntu/chromium-version.qml 1970-01-01 00:00:00 +0000 |
174 | +++ src/Ubuntu/chromium-version.qml 2016-07-01 13:07:16 +0000 |
175 | @@ -0,0 +1,6 @@ |
176 | +import QtQml 2.2 |
177 | +import com.canonical.Oxide 1.15 |
178 | + |
179 | +QtObject { |
180 | + Component.onCompleted: console.log("[%1]".arg(Oxide.chromiumVersion)) |
181 | +} |
182 | |
183 | === modified file 'tests/unittests/qml/CMakeLists.txt' |
184 | --- tests/unittests/qml/CMakeLists.txt 2016-02-11 08:26:47 +0000 |
185 | +++ tests/unittests/qml/CMakeLists.txt 2016-07-01 13:07:16 +0000 |
186 | @@ -6,14 +6,6 @@ |
187 | find_package(Qt5QuickTest REQUIRED) |
188 | find_package(Qt5Sql REQUIRED) |
189 | |
190 | -set(XVFB_COMMAND) |
191 | -find_program(XVFBRUN xvfb-run) |
192 | -if(XVFBRUN) |
193 | - set(XVFB_COMMAND ${XVFBRUN} -s "-screen 0 640x480x24" -a) |
194 | -else() |
195 | - message(WARNING "Cannot find xvfb-run.") |
196 | -endif() |
197 | - |
198 | set(TEST tst_QmlTests) |
199 | set(SOURCES |
200 | ${webbrowser-common_SOURCE_DIR}/favicon-fetcher.cpp |
FAILED: Continuous integration, rev:1477 /jenkins. canonical. com/system- apps/job/ lp-webbrowser- app-ci/ 523/ /jenkins. canonical. com/system- apps/job/ build/548/ console /jenkins. canonical. com/system- apps/job/ build-0- fetch/548 /jenkins. canonical. com/system- apps/job/ build-1- sourcepkg/ release= vivid+overlay/ 536 /jenkins. canonical. com/system- apps/job/ build-1- sourcepkg/ release= xenial/ 536 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 532 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 532/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= xenial/ 532 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= xenial/ 532/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 532/console /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= xenial/ 532 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= xenial/ 532/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 532 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 532/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=i386, release= xenial/ 532 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=i386, release= xenial/ 532/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/system- apps/job/ lp-webbrowser- app-ci/ 523/rebuild
https:/