It doesn't look like net::URLRequestFileJob does an access check or
handles that condition. However, net::FileProtocolHandler delegates an
access check to net::NetworkDelegate (via OnCanAccessFile), and it looks
like that can be used to fail the load.

I'll give it a try

** Also affects: oxide
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1503332

Title:
  Blank page when access to local URL (file://…) is denied

Status in Oxide:
  New
Status in Ubuntu UX:
  New
Status in webbrowser-app package in Ubuntu:
  New

Bug description:
  Since version 0.23+15.10.20151005-0ubuntu1, webbrowser-app is running under 
apparmor confinement.
  This means that access to the local filesystem is denied (file://… URLs). 
There is no user feedback when that happens other than a blank page, which is 
not really great UX. A user-friendly error message to inform that browsing the 
local filesystem is restricted would be better.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1503332/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to