mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 789059 - 'Assertion failure: false (All IPDL URIs must be serial
izable or an allowed scheme)'. r=cjones.
This commit is contained in:
parent
060a0c42f9
commit
c9e0d3f36f
@ -1462,12 +1462,15 @@ History::NotifyVisited(nsIURI* aURI)
|
||||
nsAutoScriptBlocker scriptBlocker;
|
||||
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Default) {
|
||||
URIParams uri;
|
||||
SerializeURI(aURI, uri);
|
||||
nsTArray<ContentParent*> cplist;
|
||||
ContentParent::GetAll(cplist);
|
||||
for (uint32_t i = 0; i < cplist.Length(); ++i) {
|
||||
unused << cplist[i]->SendNotifyVisited(uri);
|
||||
|
||||
if (!cplist.IsEmpty()) {
|
||||
URIParams uri;
|
||||
SerializeURI(aURI, uri);
|
||||
for (uint32_t i = 0; i < cplist.Length(); ++i) {
|
||||
unused << cplist[i]->SendNotifyVisited(uri);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user