mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 824581 - RemoteOpenFileChild::AsyncRemoteFileOpen crashes on Windows/Mac r=jduell
This commit is contained in:
parent
716d31ff14
commit
1bb06209da
@ -4,7 +4,7 @@ tail =
|
||||
|
||||
[test_jarchannel.js]
|
||||
[test_jarchannel_e10s.js]
|
||||
skip-if = os == "mac" || os == "win"
|
||||
skip-if = os == "mac"
|
||||
[test_bug278262.js]
|
||||
[test_bug333423.js]
|
||||
[test_bug336691.js]
|
||||
|
@ -108,13 +108,11 @@ RemoteOpenFileChild::AsyncRemoteFileOpen(int32_t aFlags,
|
||||
}
|
||||
|
||||
#if defined(XP_WIN) || defined(MOZ_WIDGET_COCOA)
|
||||
// we do nothing on these platforms: we'll just open file locally when asked
|
||||
// for NSPR handle
|
||||
mListener->OnRemoteFileOpenComplete(NS_OK);
|
||||
mListener = nullptr;
|
||||
// Windows/OSX desktop builds skip remoting, and just open file in child
|
||||
// process when asked for NSPR handle
|
||||
aListener->OnRemoteFileOpenComplete(NS_OK);
|
||||
mAsyncOpenCalled = true;
|
||||
return NS_OK;
|
||||
|
||||
#else
|
||||
URIParams uri;
|
||||
SerializeURI(mURI, uri);
|
||||
|
Loading…
Reference in New Issue
Block a user