mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Issue #1395 - Remove FlyWeb Service
This commit is contained in:
parent
bb4519ea4f
commit
146d0aa2d2
20 changed files with 0 additions and 244 deletions
|
|
@ -25,7 +25,6 @@
|
|||
#include "nsThreadUtils.h"
|
||||
#include "nsIFile.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "mozilla/dom/FlyWebService.h"
|
||||
|
||||
#if defined(XP_WIN)
|
||||
#include "mozilla/WindowsVersion.h"
|
||||
|
|
@ -685,20 +684,6 @@ nsSocketTransportService::CreateRoutedTransport(const char **types,
|
|||
nsIProxyInfo *proxyInfo,
|
||||
nsISocketTransport **result)
|
||||
{
|
||||
// Check FlyWeb table for host mappings. If one exists, then use that.
|
||||
RefPtr<mozilla::dom::FlyWebService> fws =
|
||||
mozilla::dom::FlyWebService::GetExisting();
|
||||
if (fws) {
|
||||
nsresult rv = fws->CreateTransportForHost(types, typeCount, host, port,
|
||||
hostRoute, portRoute,
|
||||
proxyInfo, result);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (*result) {
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
|
||||
NS_ENSURE_TRUE(mInitialized, NS_ERROR_NOT_INITIALIZED);
|
||||
NS_ENSURE_TRUE(port >= 0 && port <= 0xFFFF, NS_ERROR_ILLEGAL_VALUE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue