We're getting an error on about: pages. For Permissions:Get, we should probably just return an empty permissions array in this case, and for Permissions:Clear, we can just return.
Upping to P2, since bug 716979 is a dupe.
Created attachment 588172 [details] [diff] [review] patch Actually, this bug is wrong as described. The only thing that will throw an exception is getting the host on an invalid URI. Also, we don't need to worry about fixing anything in the Permissions:Clear handler, because if we never got permissions in Permissions:Get because of a bad URI, clearPermission will never even get called. The host string here is only used for display in the dialog title, so I figured we could just use the spec instead. Once bug 711774 is fixed, this won't even be an issue anymore because we'll never even end up enabling the menuitem for these bad URIs.
Comment on attachment 588172 [details] [diff] [review] patch [Approval Request Comment] Low-risk. This catches an exception you can run into on about: pages.
Comment on attachment 588172 [details] [diff] [review] patch [Triage Comment] Mobile only - approved for Aurora.