Comment 7 for bug 1509262

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Browser stop working while watching a video on Youtube

What happens when opening a youtube video from google search results is the following:

GET /url?q=http://m.youtube.com/watch%3Fv%3D-tJYN-eG1zk&… HTTP/1.1
Host: www.google.fr

    HTTP/1.1 302 Found
    Location: http://m.youtube.com/watch?v=-tJYN-eG1zk

GET /watch?v=-tJYN-eG1zk HTTP/1.1
Host: m.youtube.com
User-Agent: Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4) AppleWebKit/537.36 Chromium/35.0.1870.2 Mobile Safari/537.36
Referer: http://www.google.fr/search?q=we+will+rock+you&

As can be seen from the second GET request, the UA override for youtube (http://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/Ubuntu/Web/ua-overrides-mobile.js#L23) hasn’t been applied.