(In reply to :Gijs Kruitbosch (intermittently here 14-15 August; then away until 19th) from comment #0) > NB: cloning from bug 1046240 because that's been repurposed to create an API > so we can actually show the origin in the relevant dialog. Now we need to > use that API and fix the dialog... The new API extends the URL object and it's available for chome only. This allows to do: var principal = URL.getPrincipalFromURL('blob:something'); principal will a nsIPrincipal or null in case the blob URI is unknown. This API is not available in workers.
This bug affects data URI links in the same way. For example, if one tries to download from: href="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%3E%3C%2Fsvg%3E" The open dialog box shows "from: data:" Expected result, in this case, is to show "from: <domain>" as proposed by :Gijs.
You need to log in before you can comment on or make changes to this bug.