Commit e7fc4779 authored by Joachim Priesner's avatar Joachim Priesner Committed by Alexandre Julliard

mshtml: Treat "data:" as Gecko special URI scheme.

This enables loading of inline content specified as data: URI, such as background images. Signed-off-by: 's avatarJoachim Priesner <joachim.priesner@web.de> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent bd8a7f9e
......@@ -3545,7 +3545,7 @@ static nsresult NSAPI nsIOService_GetProtocolFlags(nsIIOService *iface, const ch
static BOOL is_gecko_special_uri(const char *spec)
{
static const char *special_schemes[] = {"chrome:", "jar:", "moz-safe-about", "resource:", "javascript:", "wyciwyg:"};
static const char *special_schemes[] = {"chrome:", "data:", "jar:", "moz-safe-about", "resource:", "javascript:", "wyciwyg:"};
unsigned int i;
for(i=0; i < sizeof(special_schemes)/sizeof(*special_schemes); i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment