Skip to content

Commit

Permalink
Merge branch 'jb45654' into 'master'
Browse files Browse the repository at this point in the history
[sailfishos][embedlite] Do not force online when loading url. JB#45654

See merge request mer-core/gecko-dev!185
  • Loading branch information
rainemak committed Nov 14, 2020
2 parents bf5ab1a + 6e7c69f commit 8c53ad0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions embedding/embedlite/embedshared/EmbedLiteViewBaseChild.cpp
Expand Up @@ -491,10 +491,6 @@ mozilla::ipc::IPCResult EmbedLiteViewBaseChild::RecvLoadURL(const nsString &url)
LOGT("url:%s", NS_ConvertUTF16toUTF8(url).get());
NS_ENSURE_TRUE(mWebNavigation, IPC_OK());

nsCOMPtr<nsIIOService> ioService = do_GetService(NS_IOSERVICE_CONTRACTID);
NS_ENSURE_TRUE(ioService, IPC_OK());

ioService->SetOffline(false);
uint32_t flags = 0;
if (sAllowKeyWordURL) {
flags |= nsIWebNavigation::LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP;
Expand Down

0 comments on commit 8c53ad0

Please sign in to comment.