~daker/webbrowser-app/fix.1314251

Viewing all changes in revision 503.

  • Committer: CI bot
  • Author(s): Alexandre Abreu
  • Date: 2014-04-22 16:55:30 UTC
  • mfrom: (501.2.1 trunk)
  • Revision ID: ps-jenkins@lists.canonical.com-20140422165530-98bjt93krt4w4kco
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://www.youtube.com/redirect?q=http%3A%2F%2Fgodzillamovie.com%2F&redir_token=b8WPI1pq9FHXeHm2bN3KVLAJSfp8MTM5NzI2NDg3NEAxMzk3MTc4NDc0

In this instance the popup & navigation is granted, but then a redirect happens inside the popup to the real target url (here http://godzillamovie.com) which is not trapped by a navigation requested and therefore not filtered. The only way to do it atm is to listen to url changes in popups & also filter there. Fixes: 1294279

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: