~ci-train-bot/webbrowser-app/webbrowser-app-ubuntu-vivid-2366

« back to all changes in this revision

Viewing changes to src/app/webbrowser/DownloadsPage.qml

* Fix for issue where many tabs causes close button to overlap other
  tabs (LP: #1473630)
* When page has started, stopped, redirected or errored clear cache for
  history update - which prevents incorrect titles in being set
  (LP: #1603835)
* Add autopilot tests javascript dialogs to webbrowser and
  webapp-container - alertDialog, beforeUnloadDialog, confirmDialog and
  promptDialog (LP: #1633040)
* Add user-agent override to display the new twitter mobile interface
  (LP: #1577834)
* Improved startup time by 800ms by delaying QML compilation and making
  it asynchronous
* Replace chromium version in UA overrides at runtime, not at build
  time (LP: #1599695)
* Initial support for generating a snap package for webbrowser-app
  (LP: #1629009)
* Do not persist references to incognito downloads on disk
  (LP: #1625519)
* Increase test coverage (to 97.5%) for DownloadsModel (LP: #1534102)
* Various performance optimizations linked to load events
  (LP: #1611680)
* Ensure a tab is loaded when re-opened (LP: #1632246)
* Fix drag'n'drop of bookmarks within the new tab view (LP: #1584868)
* Work around a limitation in the sound and microphone policy groups
  to "fix" sound in yakkety an zesty (LP: #1632620)

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    property bool pickingMode
40
40
    property bool multiSelect
41
41
    property alias mimetypeFilter: downloadModelFilter.pattern
 
42
    property bool incognito: false
42
43
 
43
44
    signal done()
44
45
 
154
155
        focus: !exportPeerPicker.focus
155
156
 
156
157
        model: SortFilterModel {
157
 
            model: DownloadsModel
158
 
            filter { 
 
158
            model: SortFilterModel {
 
159
                model: DownloadsModel
 
160
                filter {
 
161
                    property: "incognito"
 
162
                    pattern: RegExp(downloadsItem.incognito ? "" : "^false$")
 
163
                }
 
164
            }
 
165
            filter {
159
166
                id: downloadModelFilter
160
167
                property: "mimetype"
161
168
            }
197
204
            visible: !(selectMode && incomplete)
198
205
            errorMessage: model.error
199
206
            paused: model.paused
 
207
            incognito: model.incognito
200
208
 
201
209
            onClicked: {
202
210
                if (model.complete && !selectMode) {