Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bf3e5bb3
Commit
bf3e5bb3
authored
Dec 14, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed handling chrome protocol.
parent
6b48198d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
nsio.c
dlls/mshtml/nsio.c
+5
-0
No files found.
dlls/mshtml/nsio.c
View file @
bf3e5bb3
...
@@ -1711,6 +1711,8 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
...
@@ -1711,6 +1711,8 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
nsACString
base_uri_str
;
nsACString
base_uri_str
;
const
char
*
base_uri
=
NULL
;
const
char
*
base_uri
=
NULL
;
static
const
char
szChrome
[]
=
"chrome:"
;
nsACString_Init
(
&
base_uri_str
,
NULL
);
nsACString_Init
(
&
base_uri_str
,
NULL
);
nsres
=
nsIURI_GetSpec
(
aBaseURI
,
&
base_uri_str
);
nsres
=
nsIURI_GetSpec
(
aBaseURI
,
&
base_uri_str
);
...
@@ -1722,6 +1724,9 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
...
@@ -1722,6 +1724,9 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
}
}
nsACString_Finish
(
&
base_uri_str
);
nsACString_Finish
(
&
base_uri_str
);
if
(
!
strncmp
(
spec
,
szChrome
,
sizeof
(
szChrome
)
-
1
))
aBaseURI
=
NULL
;
}
}
nsres
=
nsIIOService_NewURI
(
nsio
,
aSpec
,
aOriginCharset
,
aBaseURI
,
&
uri
);
nsres
=
nsIIOService_NewURI
(
nsio
,
aSpec
,
aOriginCharset
,
aBaseURI
,
&
uri
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment