icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <utility>
|
||||
|
||||
#include "ServiceWorkerRegistrationProxy.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
namespace mozilla::dom {
|
||||
|
||||
|
|
@ -89,6 +90,9 @@ IPCResult ServiceWorkerRegistrationParent::RecvSetNavigationPreloadEnabled(
|
|||
|
||||
IPCResult ServiceWorkerRegistrationParent::RecvSetNavigationPreloadHeader(
|
||||
const nsACString& aHeader, SetNavigationPreloadHeaderResolver&& aResolver) {
|
||||
if (!NS_IsReasonableHTTPHeaderValue(aHeader)) {
|
||||
return IPC_FAIL(this, "Invalid navigation preload header value");
|
||||
}
|
||||
if (!mProxy) {
|
||||
aResolver(false);
|
||||
return IPC_OK();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue