mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1055728 - Only issue "can't retarget to off-main thread" warning on parent. r=hsivonen
This commit is contained in:
parent
cb8a31e3ed
commit
7891ba5ec0
@ -26,6 +26,7 @@
|
||||
#include "nsIThreadRetargetableRequest.h"
|
||||
#include "nsPrintfCString.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
#include "mozilla/dom/EncodingUtils.h"
|
||||
|
||||
@ -944,7 +945,11 @@ nsHtml5StreamParser::OnStartRequest(nsIRequest* aRequest, nsISupports* aContext)
|
||||
}
|
||||
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_WARNING("Failed to retarget HTML data delivery to the parser thread.");
|
||||
// for now skip warning if we're on child process, since we don't support
|
||||
// off-main thread delivery there yet. This will change with bug 1015466
|
||||
if (XRE_GetProcessType() != GeckoProcessType_Content) {
|
||||
NS_WARNING("Failed to retarget HTML data delivery to the parser thread.");
|
||||
}
|
||||
}
|
||||
|
||||
if (mCharsetSource == kCharsetFromParentFrame) {
|
||||
|
Loading…
Reference in New Issue
Block a user