Merge lp:~abreu-alexandre/webbrowser-app/fix-popup-url-redirection into lp:webbrowser-app
Status: | Merged |
---|---|
Merged at revision: | 503 |
Proposed branch: | lp:~abreu-alexandre/webbrowser-app/fix-popup-url-redirection |
Merge into: | lp:webbrowser-app |
Diff against target: |
124 lines (+56/-18) 1 file modified
src/app/webcontainer/WebViewImplOxide.qml (+56/-18) |
To merge this branch: | bzr merge lp:~abreu-alexandre/webbrowser-app/fix-popup-url-redirection |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
Alberto Mardegan (community) | Approve | ||
Olivier Tilloy | Needs Information | ||
Review via email: mp+215328@code.launchpad.net |
Commit message
Oxide (and Chromium) does not inform of non user driven navigations (or more specifically redirects that would be part of an popup/webview load (after its been granted). Quite a few sites (e.g. Youtube), create popups when clicking on links (or following a window.open()) with proper youtube.com address but w/ redirection params, e.g.:
http://
In this instance the popup & navigation is granted, but then a redirect happens inside the popup to the real target url (here http://
Description of the change
Oxide (and Chromium) does not inform of non user driven navigations (or more specifically redirects that would be part of an popup/webview load (after its been granted). Quite a few sites (e.g. Youtube), create popups when clicking on links (or following a window.open()) with proper youtube.com address but w/ redirection params, e.g.:
http://
In this instance the popup & navigation is granted, but then a redirect happens inside the popup to the real target url (here http://
FAILED: Continuous integration, rev:490 jenkins. qa.ubuntu. com/job/ webbrowser- app-ci/ 741/ jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty/ 4776/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty- touch/4155/ console jenkins. qa.ubuntu. com/job/ webbrowser- app-trusty- amd64-ci/ 243 jenkins. qa.ubuntu. com/job/ webbrowser- app-trusty- armhf-ci/ 243 jenkins. qa.ubuntu. com/job/ webbrowser- app-trusty- armhf-ci/ 243/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ webbrowser- app-trusty- i386-ci/ 243 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-trusty/ 4126/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/4907 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/4907/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/4357 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/4357/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- runner- mako/6388/ console s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 5941
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/webbrowser- app-ci/ 741/rebuild
http://