2019-08-15 17:27:07 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
include protocol PRemoteWorkerController;
|
|
|
|
|
|
|
|
include ServiceWorkerOpArgs;
|
2021-11-09 20:24:27 +00:00
|
|
|
include FetchTypes;
|
2019-08-15 17:27:07 +00:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
2022-02-09 17:29:47 +00:00
|
|
|
[ManualDealloc]
|
2019-08-15 17:27:07 +00:00
|
|
|
protocol PFetchEventOp {
|
|
|
|
manager PRemoteWorkerController;
|
|
|
|
|
2021-11-09 20:24:27 +00:00
|
|
|
parent:
|
2022-05-11 19:40:47 +00:00
|
|
|
async PreloadResponse(ParentToParentInternalResponse aResponse);
|
|
|
|
|
2023-02-23 02:52:54 +00:00
|
|
|
async PreloadResponseTiming(ResponseTiming aTiming);
|
|
|
|
|
2022-05-11 19:40:47 +00:00
|
|
|
async PreloadResponseEnd(ResponseEndArgs aArgs);
|
2021-11-09 20:24:27 +00:00
|
|
|
|
2019-08-15 17:27:07 +00:00
|
|
|
child:
|
|
|
|
async AsyncLog(nsCString aScriptSpec, uint32_t aLineNumber,
|
|
|
|
uint32_t aColumnNumber, nsCString aMessageName,
|
|
|
|
nsString[] aParams);
|
|
|
|
|
2021-11-19 16:45:19 +00:00
|
|
|
async RespondWith(ParentToParentFetchEventRespondWithResult aResult);
|
2019-08-15 17:27:07 +00:00
|
|
|
|
|
|
|
async __delete__(ServiceWorkerFetchEventOpResult aResult);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|