From 365f97ee979a3674e6b6b182aebbb310d2fc47c7 Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Tue, 26 Jan 2016 13:51:53 -0800 Subject: [PATCH] Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) --- accessible/ipc/PDocAccessible.ipdl | 34 +-- .../PHeapSnapshotTempFileHelper.ipdl | 2 +- dom/asmjscache/PAsmJSCacheEntry.ipdl | 10 +- dom/bluetooth/ipc/PBluetooth.ipdl | 18 +- dom/bluetooth/ipc/PBluetoothRequest.ipdl | 2 +- dom/broadcastchannel/PBroadcastChannel.ipdl | 8 +- dom/cache/PCache.ipdl | 8 +- dom/cache/PCacheOp.ipdl | 2 +- dom/cache/PCachePushStream.ipdl | 6 +- dom/cache/PCacheStorage.ipdl | 6 +- dom/cache/PCacheStreamControl.ipdl | 8 +- dom/cellbroadcast/ipc/PCellBroadcast.ipdl | 30 +- dom/devicestorage/PDeviceStorageRequest.ipdl | 2 +- dom/filehandle/PBackgroundFileHandle.ipdl | 12 +- dom/filehandle/PBackgroundFileRequest.ipdl | 6 +- dom/filehandle/PBackgroundMutableFile.ipdl | 6 +- dom/filesystem/PFileSystemRequest.ipdl | 2 +- dom/fmradio/ipc/PFMRadio.ipdl | 24 +- dom/fmradio/ipc/PFMRadioRequest.ipdl | 2 +- dom/icc/ipc/PIcc.ipdl | 20 +- dom/icc/ipc/PIccRequest.ipdl | 2 +- dom/indexedDB/PBackgroundIDBCursor.ipdl | 8 +- dom/indexedDB/PBackgroundIDBDatabase.ipdl | 28 +- dom/indexedDB/PBackgroundIDBDatabaseFile.ipdl | 2 +- .../PBackgroundIDBDatabaseRequest.ipdl | 2 +- dom/indexedDB/PBackgroundIDBFactory.ipdl | 12 +- .../PBackgroundIDBFactoryRequest.ipdl | 8 +- dom/indexedDB/PBackgroundIDBRequest.ipdl | 2 +- dom/indexedDB/PBackgroundIDBTransaction.ipdl | 14 +- ...BackgroundIDBVersionChangeTransaction.ipdl | 26 +- dom/indexedDB/PBackgroundIndexedDBUtils.ipdl | 4 +- .../PIndexedDBPermissionRequest.ipdl | 2 +- dom/ipc/PBlob.ipdl | 8 +- dom/ipc/PBlobStream.ipdl | 2 +- dom/ipc/PBrowser.ipdl | 271 +++++++++--------- dom/ipc/PColorPicker.ipdl | 6 +- dom/ipc/PContent.ipdl | 214 +++++++------- dom/ipc/PContentBridge.ipdl | 4 +- dom/ipc/PContentDialog.ipdl | 2 +- dom/ipc/PContentPermissionRequest.ipdl | 12 +- dom/ipc/PCrashReporter.ipdl | 6 +- dom/ipc/PCycleCollectWithLogs.ipdl | 6 +- dom/ipc/PDocumentRenderer.ipdl | 2 +- dom/ipc/PFilePicker.ipdl | 8 +- dom/ipc/PMemoryReportRequest.ipdl | 4 +- dom/ipc/PScreenManager.ipdl | 2 +- dom/media/gmp/PGMPAudioDecoder.ipdl | 22 +- dom/media/gmp/PGMPDecryptor.ipdl | 86 +++--- dom/media/gmp/PGMPStorage.ipdl | 22 +- dom/media/gmp/PGMPTimer.ipdl | 6 +- dom/media/systemservices/PMedia.ipdl | 10 +- dom/media/webrtc/PWebrtcGlobal.ipdl | 18 +- .../webspeech/synth/ipc/PSpeechSynthesis.ipdl | 14 +- .../synth/ipc/PSpeechSynthesisRequest.ipdl | 24 +- dom/messagechannel/PMessagePort.ipdl | 16 +- .../ipc/PMobileConnection.ipdl | 28 +- .../ipc/PMobileConnectionRequest.ipdl | 2 +- .../ipc/PMobileMessageCursor.ipdl | 6 +- dom/mobilemessage/ipc/PSms.ipdl | 32 +-- dom/mobilemessage/ipc/PSmsRequest.ipdl | 2 +- dom/network/PTCPServerSocket.ipdl | 8 +- dom/network/PTCPSocket.ipdl | 26 +- dom/network/PUDPSocket.ipdl | 26 +- .../ipc/PPluginBackgroundDestroyer.ipdl | 2 +- dom/presentation/ipc/PPresentation.ipdl | 26 +- .../ipc/PPresentationRequest.ipdl | 2 +- dom/quota/PQuota.ipdl | 10 +- dom/quota/PQuotaRequest.ipdl | 2 +- dom/quota/PQuotaUsageRequest.ipdl | 4 +- dom/telephony/ipc/PTelephony.ipdl | 26 +- dom/telephony/ipc/PTelephonyRequest.ipdl | 6 +- dom/voicemail/ipc/PVoicemail.ipdl | 18 +- dom/workers/PServiceWorkerManager.ipdl | 28 +- .../printingui/ipc/PPrintProgressDialog.ipdl | 20 +- .../printingui/ipc/PPrintSettingsDialog.ipdl | 2 +- .../components/printingui/ipc/PPrinting.ipdl | 6 +- .../PWebBrowserPersistDocument.ipdl | 22 +- .../PWebBrowserPersistResources.ipdl | 6 +- .../PWebBrowserPersistSerialize.ipdl | 6 +- .../glue/PRemoteSpellcheckEngine.ipdl | 2 +- hal/sandbox/PHal.ipdl | 78 ++--- ipc/glue/PBackground.ipdl | 44 +-- ipc/glue/PBackgroundTest.ipdl | 2 +- ipc/glue/PFileDescriptorSet.ipdl | 4 +- ipc/ipdl/ipdl/parser.py | 8 +- ipc/ipdl/test/cxx/PTestActorPunning.ipdl | 10 +- .../test/cxx/PTestActorPunningPunned.ipdl | 2 +- ipc/ipdl/test/cxx/PTestActorPunningSub.ipdl | 4 +- ipc/ipdl/test/cxx/PTestBadActor.ipdl | 4 +- ipc/ipdl/test/cxx/PTestBadActorSub.ipdl | 2 +- ipc/ipdl/test/cxx/PTestBridgeMain.ipdl | 4 +- ipc/ipdl/test/cxx/PTestBridgeMainSub.ipdl | 6 +- ipc/ipdl/test/cxx/PTestBridgeSub.ipdl | 6 +- ipc/ipdl/test/cxx/PTestCrashCleanup.ipdl | 2 +- ipc/ipdl/test/cxx/PTestDataStructures.ipdl | 6 +- ipc/ipdl/test/cxx/PTestDesc.ipdl | 6 +- ipc/ipdl/test/cxx/PTestDescSub.ipdl | 2 +- .../test/cxx/PTestEndpointBridgeMain.ipdl | 4 +- .../test/cxx/PTestEndpointBridgeMainSub.ipdl | 4 +- ipc/ipdl/test/cxx/PTestEndpointBridgeSub.ipdl | 6 +- ipc/ipdl/test/cxx/PTestEndpointOpens.ipdl | 6 +- .../test/cxx/PTestEndpointOpensOpened.ipdl | 6 +- ipc/ipdl/test/cxx/PTestFailedCtor.ipdl | 2 +- ipc/ipdl/test/cxx/PTestFailedCtorSub.ipdl | 2 +- ipc/ipdl/test/cxx/PTestFailedCtorSubsub.ipdl | 2 +- ipc/ipdl/test/cxx/PTestHandle.ipdl | 2 +- ipc/ipdl/test/cxx/PTestHangs.ipdl | 2 +- .../cxx/PTestIndirectProtocolParamFirst.ipdl | 2 +- .../cxx/PTestIndirectProtocolParamManage.ipdl | 6 +- .../cxx/PTestIndirectProtocolParamSecond.ipdl | 2 +- ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl | 8 +- ipc/ipdl/test/cxx/PTestLatency.ipdl | 14 +- ipc/ipdl/test/cxx/PTestManyChildAllocs.ipdl | 6 +- .../test/cxx/PTestManyChildAllocsSub.ipdl | 4 +- ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl | 10 +- ipc/ipdl/test/cxx/PTestMultiMgrsBottom.ipdl | 2 +- ipc/ipdl/test/cxx/PTestMultiMgrsLeft.ipdl | 4 +- ipc/ipdl/test/cxx/PTestMultiMgrsRight.ipdl | 4 +- ipc/ipdl/test/cxx/PTestNestedLoops.ipdl | 2 +- ipc/ipdl/test/cxx/PTestOpens.ipdl | 4 +- ipc/ipdl/test/cxx/PTestOpensOpened.ipdl | 6 +- ipc/ipdl/test/cxx/PTestRacyReentry.ipdl | 2 +- ipc/ipdl/test/cxx/PTestSanity.ipdl | 6 +- ipc/ipdl/test/cxx/PTestSelfManage.ipdl | 4 +- ipc/ipdl/test/cxx/PTestSelfManageRoot.ipdl | 4 +- ipc/ipdl/test/cxx/PTestShmem.ipdl | 6 +- ipc/ipdl/test/cxx/PTestShutdown.ipdl | 6 +- ipc/ipdl/test/cxx/PTestShutdownSub.ipdl | 2 +- ipc/ipdl/test/cxx/PTestStackHooks.ipdl | 2 +- ipc/ipdl/test/cxx/PTestSyncError.ipdl | 4 +- ipc/ipdl/test/cxx/PTestSyncHang.ipdl | 2 +- ipc/ipdl/test/cxx/PTestSysVShmem.ipdl | 6 +- ipc/ipdl/test/ipdl/error/DeleteRace.ipdl | 4 +- ipc/ipdl/test/ipdl/error/Nullable.ipdl | 2 +- ipc/ipdl/test/ipdl/error/Nullable2.ipdl | 2 +- .../test/ipdl/error/actorparam_badState.ipdl | 4 +- .../test/ipdl/error/bridgesSubprotocol.ipdl | 2 +- .../test/ipdl/error/cyclecheck_Child.ipdl | 2 +- .../ipdl/error/cyclecheck_Grandchild.ipdl | 2 +- .../test/ipdl/error/cyclecheck_Parent.ipdl | 2 +- .../test/ipdl/error/manageSelfToplevel.ipdl | 2 +- .../test/ipdl/error/messageNoDirection.ipdl | 2 +- ipc/ipdl/test/ipdl/error/multimanDupMgrs.ipdl | 2 +- .../test/ipdl/error/multimanDupMgrsMgr.ipdl | 2 +- .../ipdl/error/multimanNonexistentMgrs.ipdl | 4 +- ipc/ipdl/test/ipdl/error/mutualRecStruct.ipdl | 4 +- .../test/ipdl/error/mutualRecStructUnion.ipdl | 4 +- .../test/ipdl/error/opensSubprotocol.ipdl | 2 +- .../ipdl/error/race_OverlappingMultiOut.ipdl | 10 +- .../ipdl/error/race_ViolateSameDirection.ipdl | 11 +- ipc/ipdl/test/ipdl/error/redeclMessage.ipdl | 4 +- ipc/ipdl/test/ipdl/error/redefState.ipdl | 4 +- .../test/ipdl/error/shmem_access_union.ipdl | 2 +- .../test/ipdl/error/spawnsSubprotocol.ipdl | 2 +- .../test/ipdl/error/trans_WrongDirection.ipdl | 4 +- .../ipdl/error/trans_WrongDirection2.ipdl | 4 +- .../ipdl/error/trans_WrongDirection3.ipdl | 2 +- .../ipdl/error/trans_WrongDirection4.ipdl | 2 +- .../ipdl/error/trans_WrongDirection5.ipdl | 2 +- ipc/ipdl/test/ipdl/error/trans_WrongName.ipdl | 4 +- .../test/ipdl/error/trans_WrongName2.ipdl | 4 +- .../test/ipdl/error/trans_WrongName3.ipdl | 2 +- .../test/ipdl/error/trans_WrongName4.ipdl | 2 +- .../test/ipdl/error/trans_WrongName5.ipdl | 2 +- .../ipdl/error/unreachedDeleteMultiStart.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/Delete.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/Nullable.ipdl | 6 +- ipc/ipdl/test/ipdl/ok/Struct.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/actorparam_state.ipdl | 4 +- ipc/ipdl/test/ipdl/ok/array_Basic.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/array_OfActors.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/compositor.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/content.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/headerProto.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/jetpack.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/jetpackContent.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/manageSelf.ipdl | 2 +- .../test/ipdl/ok/manageSelf_Toplevel.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/managedProtocol.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/media.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/multiManaged.ipdl | 2 +- .../test/ipdl/ok/multipleUsingCxxTypes.ipdl | 2 +- .../test/ipdl/ok/mutualRecStructUnion.ipdl | 4 +- ipc/ipdl/test/ipdl/ok/mutualRecUnion.ipdl | 4 +- ipc/ipdl/test/ipdl/ok/namespace_Basic.ipdl | 2 +- .../test/ipdl/ok/noRedeclCrossMessage.ipdl | 4 +- ipc/ipdl/test/ipdl/ok/plugin.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/race_DiamondRule1.ipdl | 8 +- ipc/ipdl/test/ipdl/ok/race_KitchenSink.ipdl | 8 +- ipc/ipdl/test/ipdl/ok/race_MultiOut.ipdl | 8 +- ipc/ipdl/test/ipdl/ok/race_Stateless.ipdl | 8 +- ipc/ipdl/test/ipdl/ok/selfRecUnion.ipdl | 4 +- ipc/ipdl/test/ipdl/ok/shmem.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/syncProtocol.ipdl | 2 +- ipc/ipdl/test/ipdl/ok/threeDirections.ipdl | 6 +- ipc/ipdl/test/ipdl/ok/union_Namespaced.ipdl | 2 +- ipc/testshell/PTestShell.ipdl | 6 +- ipc/testshell/PTestShellCommand.ipdl | 2 +- netwerk/cookie/PCookieService.ipdl | 2 +- netwerk/dns/PDNSRequest.ipdl | 8 +- netwerk/ipc/PChannelDiverter.ipdl | 2 +- netwerk/ipc/PDataChannel.ipdl | 2 +- netwerk/ipc/PNecko.ipdl | 78 ++--- netwerk/ipc/PRemoteOpenFile.ipdl | 2 +- netwerk/ipc/PRtspChannel.ipdl | 2 +- netwerk/ipc/PRtspController.ipdl | 38 +-- netwerk/protocol/ftp/PFTPChannel.ipdl | 48 ++-- netwerk/protocol/http/PHttpChannel.ipdl | 118 ++++---- netwerk/protocol/websocket/PWebSocket.ipdl | 48 ++-- .../websocket/PWebSocketEventListener.ipdl | 40 +-- netwerk/protocol/wyciwyg/PWyciwygChannel.ipdl | 52 ++-- .../manager/ssl/PPSMContentDownloader.ipdl | 10 +- uriloader/exthandler/PExternalHelperApp.ipdl | 12 +- uriloader/exthandler/PHandlerService.ipdl | 2 +- uriloader/prefetch/POfflineCacheUpdate.ipdl | 8 +- 216 files changed, 1217 insertions(+), 1219 deletions(-) diff --git a/accessible/ipc/PDocAccessible.ipdl b/accessible/ipc/PDocAccessible.ipdl index 69281b1067e..91d8a824483 100644 --- a/accessible/ipc/PDocAccessible.ipdl +++ b/accessible/ipc/PDocAccessible.ipdl @@ -48,28 +48,28 @@ prio(normal upto high) sync protocol PDocAccessible manager PBrowser; parent: - Shutdown(); + async Shutdown(); /* * Notify the parent process the document in the child process is firing an * event. */ - Event(uint64_t aID, uint32_t type); - ShowEvent(ShowEventData data); - HideEvent(uint64_t aRootID); - StateChangeEvent(uint64_t aID, uint64_t aState, bool aEnabled); - CaretMoveEvent(uint64_t aID, int32_t aOffset); - TextChangeEvent(uint64_t aID, nsString aStr, int32_t aStart, uint32_t aLen, - bool aIsInsert, bool aFromUser); + async Event(uint64_t aID, uint32_t type); + async ShowEvent(ShowEventData data); + async HideEvent(uint64_t aRootID); + async StateChangeEvent(uint64_t aID, uint64_t aState, bool aEnabled); + async CaretMoveEvent(uint64_t aID, int32_t aOffset); + async TextChangeEvent(uint64_t aID, nsString aStr, int32_t aStart, uint32_t aLen, + bool aIsInsert, bool aFromUser); /* * Tell the parent document to bind the existing document as a new child * document. */ - BindChildDoc(PDocAccessible aChildDoc, uint64_t aID); + async BindChildDoc(PDocAccessible aChildDoc, uint64_t aID); child: - __delete__(); + async __delete__(); // Accessible prio(high) sync State(uint64_t aID) returns(uint64_t states); @@ -132,13 +132,13 @@ child: prio(high) sync RemoveFromSelection(uint64_t aID, int32_t aSelectionNum) returns(bool aSucceeded); - ScrollSubstringTo(uint64_t aID, int32_t aStartOffset, int32_t aEndOffset, - uint32_t aScrollType); - ScrollSubstringToPoint(uint64_t aID, - int32_t aStartOffset, - int32_t aEndOffset, - uint32_t aCoordinateType, - int32_t aX, int32_t aY); + async ScrollSubstringTo(uint64_t aID, int32_t aStartOffset, int32_t aEndOffset, + uint32_t aScrollType); + async ScrollSubstringToPoint(uint64_t aID, + int32_t aStartOffset, + int32_t aEndOffset, + uint32_t aCoordinateType, + int32_t aX, int32_t aY); prio(high) sync Text(uint64_t aID) returns(nsString aText); prio(high) sync ReplaceText(uint64_t aID, nsString aText); diff --git a/devtools/shared/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl b/devtools/shared/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl index 4f7ad103e76..2576470e255 100644 --- a/devtools/shared/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl +++ b/devtools/shared/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl @@ -28,7 +28,7 @@ sync protocol PHeapSnapshotTempFileHelper parent: sync OpenHeapSnapshotTempFile() returns (OpenHeapSnapshotTempFileResponse response); - __delete__(); + async __delete__(); }; } // namespace devtools diff --git a/dom/asmjscache/PAsmJSCacheEntry.ipdl b/dom/asmjscache/PAsmJSCacheEntry.ipdl index 13ebb9b5838..4980650ccb7 100644 --- a/dom/asmjscache/PAsmJSCacheEntry.ipdl +++ b/dom/asmjscache/PAsmJSCacheEntry.ipdl @@ -19,18 +19,18 @@ protocol PAsmJSCacheEntry // origin's Metadata so the child process can select the cache entry to open // (based on hash) and notify the parent (via SelectCacheFileToRead). child: - OnOpenMetadataForRead(Metadata metadata); + async OnOpenMetadataForRead(Metadata metadata); parent: - SelectCacheFileToRead(uint32_t moduleIndex); - CacheMiss(); + async SelectCacheFileToRead(uint32_t moduleIndex); + async CacheMiss(); child: // Once the cache file has been opened, the child is notified and sent an // open file descriptor. - OnOpenCacheFile(int64_t fileSize, FileDescriptor fileDesc); + async OnOpenCacheFile(int64_t fileSize, FileDescriptor fileDesc); both: - __delete__(AsmJSCacheResult result); + async __delete__(AsmJSCacheResult result); }; } // namespace asmjscache diff --git a/dom/bluetooth/ipc/PBluetooth.ipdl b/dom/bluetooth/ipc/PBluetooth.ipdl index f9a165590cb..beb8a7f1fc3 100644 --- a/dom/bluetooth/ipc/PBluetooth.ipdl +++ b/dom/bluetooth/ipc/PBluetooth.ipdl @@ -545,53 +545,53 @@ child: /** * Sent when a settings change has enabled or disabled the bluetooth firmware. */ - Enabled(bool enabled); + async Enabled(bool enabled); /** * Sent when a bluetooth signal is broadcasted to child processes. */ - Notify(BluetoothSignal signal); + async Notify(BluetoothSignal signal); /** * Sent when the parent process is about to be shut down. See shutdown note * above. */ - BeginShutdown(); + async BeginShutdown(); /** * Sent to inform the child process that it will no longer receive any * messages from the parent. See shutdown note above. */ - NotificationsStopped(); + async NotificationsStopped(); parent: /** * Sent when the child no longer needs to use bluetooth. See shutdown note * above. */ - __delete__(); + async __delete__(); /** * Sent when the child needs to receive signals related to the given node. */ - RegisterSignalHandler(nsString node); + async RegisterSignalHandler(nsString node); /** * Sent when the child no longer needs to receive signals related to the given * node. */ - UnregisterSignalHandler(nsString node); + async UnregisterSignalHandler(nsString node); /** * Sent when the child no longer needs to receive any messages from the * parent. See shutdown note above. */ - StopNotifying(); + async StopNotifying(); /** * Sent when the child makes an asynchronous request to the parent. */ - PBluetoothRequest(Request request); + async PBluetoothRequest(Request request); /** * FIXME: Bug 547703. diff --git a/dom/bluetooth/ipc/PBluetoothRequest.ipdl b/dom/bluetooth/ipc/PBluetoothRequest.ipdl index 25fb701fb59..c15b9d522a3 100644 --- a/dom/bluetooth/ipc/PBluetoothRequest.ipdl +++ b/dom/bluetooth/ipc/PBluetoothRequest.ipdl @@ -20,7 +20,7 @@ child: /** * Sent when the asynchronous request has completed. */ - __delete__(BluetoothReply response); + async __delete__(BluetoothReply response); }; } // namespace bluetooth diff --git a/dom/broadcastchannel/PBroadcastChannel.ipdl b/dom/broadcastchannel/PBroadcastChannel.ipdl index e06115092b2..4b4a5310676 100644 --- a/dom/broadcastchannel/PBroadcastChannel.ipdl +++ b/dom/broadcastchannel/PBroadcastChannel.ipdl @@ -17,12 +17,12 @@ protocol PBroadcastChannel manager PBackground; parent: - PostMessage(ClonedMessageData message); - Close(); + async PostMessage(ClonedMessageData message); + async Close(); child: - Notify(ClonedMessageData message); - __delete__(); + async Notify(ClonedMessageData message); + async __delete__(); }; } // namespace dom diff --git a/dom/cache/PCache.ipdl b/dom/cache/PCache.ipdl index fe82c0e6259..29415f12231 100644 --- a/dom/cache/PCache.ipdl +++ b/dom/cache/PCache.ipdl @@ -22,12 +22,12 @@ protocol PCache manages PCachePushStream; parent: - PCacheOp(CacheOpArgs aOpArgs); - PCachePushStream(); - Teardown(); + async PCacheOp(CacheOpArgs aOpArgs); + async PCachePushStream(); + async Teardown(); child: - __delete__(); + async __delete__(); }; } // namespace cache diff --git a/dom/cache/PCacheOp.ipdl b/dom/cache/PCacheOp.ipdl index 7349d47632c..a9a69cedf20 100644 --- a/dom/cache/PCacheOp.ipdl +++ b/dom/cache/PCacheOp.ipdl @@ -21,7 +21,7 @@ protocol PCacheOp manager PCache or PCacheStorage; child: - __delete__(ErrorResult aRv, CacheOpResult aResult); + async __delete__(ErrorResult aRv, CacheOpResult aResult); }; } // namespace cache diff --git a/dom/cache/PCachePushStream.ipdl b/dom/cache/PCachePushStream.ipdl index 26e7c7b2c84..0553e488b33 100644 --- a/dom/cache/PCachePushStream.ipdl +++ b/dom/cache/PCachePushStream.ipdl @@ -13,14 +13,14 @@ protocol PCachePushStream manager PCache; parent: - Buffer(nsCString aBuffer); - Close(nsresult aRv); + async Buffer(nsCString aBuffer); + async Close(nsresult aRv); child: // Stream is always destroyed from the parent side. This occurs if the // parent encounters an error while writing to its pipe or if the child // signals the stream should close by SendClose(). - __delete__(); + async __delete__(); }; } // namespace cache diff --git a/dom/cache/PCacheStorage.ipdl b/dom/cache/PCacheStorage.ipdl index fa11de48fbc..3635d5aec88 100644 --- a/dom/cache/PCacheStorage.ipdl +++ b/dom/cache/PCacheStorage.ipdl @@ -22,11 +22,11 @@ protocol PCacheStorage manages PCacheOp; parent: - PCacheOp(CacheOpArgs aOpArgs); - Teardown(); + async PCacheOp(CacheOpArgs aOpArgs); + async Teardown(); child: - __delete__(); + async __delete__(); }; } // namespace cache diff --git a/dom/cache/PCacheStreamControl.ipdl b/dom/cache/PCacheStreamControl.ipdl index 21155584b25..f42b8f9e4f8 100644 --- a/dom/cache/PCacheStreamControl.ipdl +++ b/dom/cache/PCacheStreamControl.ipdl @@ -15,12 +15,12 @@ protocol PCacheStreamControl manager PBackground; parent: - NoteClosed(nsID aStreamId); + async NoteClosed(nsID aStreamId); child: - Close(nsID aStreamId); - CloseAll(); - __delete__(); + async Close(nsID aStreamId); + async CloseAll(); + async __delete__(); }; } // namespace cache diff --git a/dom/cellbroadcast/ipc/PCellBroadcast.ipdl b/dom/cellbroadcast/ipc/PCellBroadcast.ipdl index 9a6aa4e612f..26e0c1e7f07 100644 --- a/dom/cellbroadcast/ipc/PCellBroadcast.ipdl +++ b/dom/cellbroadcast/ipc/PCellBroadcast.ipdl @@ -14,28 +14,28 @@ sync protocol PCellBroadcast { manager PContent; child: - NotifyReceivedMessage(uint32_t aServiceId, - uint32_t aGsmGeographicalScope, - uint16_t aMessageCode, - uint16_t aMessageId, - nsString aLanguage, - nsString aBody, - uint32_t aMessageClass, - uint64_t aTimestamp, - uint32_t aCdmaServiceCategory, - bool aHasEtwsInfo, - uint32_t aEtwsWarningType, - bool aEtwsEmergencyUserAlert, - bool aEtwsPopup); + async NotifyReceivedMessage(uint32_t aServiceId, + uint32_t aGsmGeographicalScope, + uint16_t aMessageCode, + uint16_t aMessageId, + nsString aLanguage, + nsString aBody, + uint32_t aMessageClass, + uint64_t aTimestamp, + uint32_t aCdmaServiceCategory, + bool aHasEtwsInfo, + uint32_t aEtwsWarningType, + bool aEtwsEmergencyUserAlert, + bool aEtwsPopup); parent: /** * Sent when the child no longer needs to use cellbroadcast. */ - __delete__(); + async __delete__(); }; } // namespace mobilemessage } // namespace dom -} // namespace cellbroadcast \ No newline at end of file +} // namespace cellbroadcast diff --git a/dom/devicestorage/PDeviceStorageRequest.ipdl b/dom/devicestorage/PDeviceStorageRequest.ipdl index f85d7fcbaec..5351311e44f 100644 --- a/dom/devicestorage/PDeviceStorageRequest.ipdl +++ b/dom/devicestorage/PDeviceStorageRequest.ipdl @@ -85,7 +85,7 @@ union DeviceStorageResponseValue sync protocol PDeviceStorageRequest { manager PContent; child: - __delete__(DeviceStorageResponseValue response); + async __delete__(DeviceStorageResponseValue response); }; } // namespace devicestorage diff --git a/dom/filehandle/PBackgroundFileHandle.ipdl b/dom/filehandle/PBackgroundFileHandle.ipdl index 02d251b8e72..60fdfafbf21 100644 --- a/dom/filehandle/PBackgroundFileHandle.ipdl +++ b/dom/filehandle/PBackgroundFileHandle.ipdl @@ -74,17 +74,17 @@ protocol PBackgroundFileHandle manages PBackgroundFileRequest; parent: - DeleteMe(); + async DeleteMe(); - Finish(); - Abort(); + async Finish(); + async Abort(); - PBackgroundFileRequest(FileRequestParams params); + async PBackgroundFileRequest(FileRequestParams params); child: - __delete__(); + async __delete__(); - Complete(bool aborted); + async Complete(bool aborted); }; } // namespace dom diff --git a/dom/filehandle/PBackgroundFileRequest.ipdl b/dom/filehandle/PBackgroundFileRequest.ipdl index e43fb67b21f..9fb678b75e5 100644 --- a/dom/filehandle/PBackgroundFileRequest.ipdl +++ b/dom/filehandle/PBackgroundFileRequest.ipdl @@ -73,10 +73,10 @@ protocol PBackgroundFileRequest manager PBackgroundFileHandle; child: - __delete__(FileRequestResponse response); + async __delete__(FileRequestResponse response); - Progress(uint64_t progress, - uint64_t progressMax); + async Progress(uint64_t progress, + uint64_t progressMax); }; } // namespace dom diff --git a/dom/filehandle/PBackgroundMutableFile.ipdl b/dom/filehandle/PBackgroundMutableFile.ipdl index 762c65f1213..0f87f3b6d5d 100644 --- a/dom/filehandle/PBackgroundMutableFile.ipdl +++ b/dom/filehandle/PBackgroundMutableFile.ipdl @@ -20,16 +20,16 @@ sync protocol PBackgroundMutableFile manages PBackgroundFileHandle; parent: - DeleteMe(); + async DeleteMe(); - PBackgroundFileHandle(FileMode mode); + async PBackgroundFileHandle(FileMode mode); // Use only for testing! sync GetFileId() returns (int64_t fileId); child: - __delete__(); + async __delete__(); }; } // namespace dom diff --git a/dom/filesystem/PFileSystemRequest.ipdl b/dom/filesystem/PFileSystemRequest.ipdl index b1b20beff3a..9e9a7c71c0c 100644 --- a/dom/filesystem/PFileSystemRequest.ipdl +++ b/dom/filesystem/PFileSystemRequest.ipdl @@ -49,7 +49,7 @@ sync protocol PFileSystemRequest manager PContent; child: - __delete__(FileSystemResponseValue response); + async __delete__(FileSystemResponseValue response); }; } // namespace dom diff --git a/dom/fmradio/ipc/PFMRadio.ipdl b/dom/fmradio/ipc/PFMRadio.ipdl index f4929cfe70b..fdd11bea11e 100644 --- a/dom/fmradio/ipc/PFMRadio.ipdl +++ b/dom/fmradio/ipc/PFMRadio.ipdl @@ -71,37 +71,37 @@ child: /** * Sent when the frequency is changed. */ - NotifyFrequencyChanged(double frequency); + async NotifyFrequencyChanged(double frequency); /** * Sent when the power state of FM radio HW is changed. */ - NotifyEnabledChanged(bool enabled, double frequency); + async NotifyEnabledChanged(bool enabled, double frequency); /** * Sent when RDS is enabled or disabled. */ - NotifyRDSEnabledChanged(bool enabled); + async NotifyRDSEnabledChanged(bool enabled); /** * Sent when we have a new PI code. */ - NotifyPIChanged(bool valid, uint16_t code); + async NotifyPIChanged(bool valid, uint16_t code); /** * Sent when we have a new PTY */ - NotifyPTYChanged(bool valid, uint8_t pty); + async NotifyPTYChanged(bool valid, uint8_t pty); /** * Sent when we have a new PS name. */ - NotifyPSChanged(nsString psname); + async NotifyPSChanged(nsString psname); /** * Sent when we have new radiotext. */ - NotifyRadiotextChanged(nsString radiotext); + async NotifyRadiotextChanged(nsString radiotext); /** * Sent when a full RDS group is received. */ - NotifyNewRDSGroup(uint64_t data); + async NotifyNewRDSGroup(uint64_t data); - __delete__(); + async __delete__(); parent: /** @@ -119,17 +119,17 @@ parent: * on web content, otherwise, we have to do the mapping stuff manually which * is more error prone. */ - PFMRadioRequest(FMRadioRequestArgs requestType); + async PFMRadioRequest(FMRadioRequestArgs requestType); /** * Enable/Disable audio */ - EnableAudio(bool audioEnabled); + async EnableAudio(bool audioEnabled); /** * Set RDS group mask */ - SetRDSGroupMask(uint32_t groupMask); + async SetRDSGroupMask(uint32_t groupMask); }; } // namespace dom diff --git a/dom/fmradio/ipc/PFMRadioRequest.ipdl b/dom/fmradio/ipc/PFMRadioRequest.ipdl index 4a456b0e8c6..d68b6748fb9 100644 --- a/dom/fmradio/ipc/PFMRadioRequest.ipdl +++ b/dom/fmradio/ipc/PFMRadioRequest.ipdl @@ -35,7 +35,7 @@ async protocol PFMRadioRequest manager PFMRadio; child: - __delete__(FMRadioResponseType response); + async __delete__(FMRadioResponseType response); }; } // namespace dom diff --git a/dom/icc/ipc/PIcc.ipdl b/dom/icc/ipc/PIcc.ipdl index 3a264a102d8..fdad3f3e04a 100644 --- a/dom/icc/ipc/PIcc.ipdl +++ b/dom/icc/ipc/PIcc.ipdl @@ -94,12 +94,12 @@ child: /** * Notify CardStateChanged with updated CardState. */ - NotifyCardStateChanged(uint32_t aCardState); + async NotifyCardStateChanged(uint32_t aCardState); /** * Notify IccInfoChanged with updated IccInfo. */ - NotifyIccInfoChanged(OptionalIccInfoData aInfoData); + async NotifyIccInfoChanged(OptionalIccInfoData aInfoData); /** * Notify STK proactive command issue by selected UICC. @@ -107,23 +107,23 @@ child: * @param aStkProactiveCmd * a MozStkCommand instance serialized in JSON. */ - NotifyStkCommand(nsString aStkProactiveCmd); + async NotifyStkCommand(nsString aStkProactiveCmd); /** * Notify that STK session is ended by selected UICC. */ - NotifyStkSessionEnd(); + async NotifyStkSessionEnd(); parent: /** * Sent when the child no longer needs to use PIcc. */ - __delete__(); + async __delete__(); /** * Sent when the child makes an asynchronous request to the parent. */ - PIccRequest(IccRequest aRequest); + async PIccRequest(IccRequest aRequest); /** * Send STK response to the selected UICC. @@ -133,17 +133,17 @@ parent: * @param aResponse * a MozStkResponse instance serialized in JSON. */ - StkResponse(nsString aCommand, nsString aResponse); + async StkResponse(nsString aCommand, nsString aResponse); /** * Send STK Menu Selection to the selected UICC. */ - StkMenuSelection(uint16_t aItemIdentifier, bool aHelpRequested); + async StkMenuSelection(uint16_t aItemIdentifier, bool aHelpRequested); /** * Send STK Timer Expiration to the selected UICC. */ - StkTimerExpiration(uint16_t aTimerId, uint32_t aTimerValue); + async StkTimerExpiration(uint16_t aTimerId, uint32_t aTimerValue); /** * Send STK Event Download to the selected UICC. @@ -151,7 +151,7 @@ parent: * @param aEvent * a MozStkXxxEvent instance serialized in JSON. */ - StkEventDownload(nsString aEvent); + async StkEventDownload(nsString aEvent); /** * Sync call to initialize the updated IccInfo/CardState. diff --git a/dom/icc/ipc/PIccRequest.ipdl b/dom/icc/ipc/PIccRequest.ipdl index 5c8ab1f38ca..275d23d305f 100644 --- a/dom/icc/ipc/PIccRequest.ipdl +++ b/dom/icc/ipc/PIccRequest.ipdl @@ -65,7 +65,7 @@ child: /** * Sent when the asynchronous request has completed. */ - __delete__(IccReply response); + async __delete__(IccReply response); }; } // namespace icc diff --git a/dom/indexedDB/PBackgroundIDBCursor.ipdl b/dom/indexedDB/PBackgroundIDBCursor.ipdl index 5173b2fa0b9..255467891a4 100644 --- a/dom/indexedDB/PBackgroundIDBCursor.ipdl +++ b/dom/indexedDB/PBackgroundIDBCursor.ipdl @@ -78,14 +78,14 @@ protocol PBackgroundIDBCursor manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction; parent: - DeleteMe(); + async DeleteMe(); - Continue(CursorRequestParams params, Key key); + async Continue(CursorRequestParams params, Key key); child: - __delete__(); + async __delete__(); - Response(CursorResponse response); + async Response(CursorResponse response); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIDBDatabase.ipdl b/dom/indexedDB/PBackgroundIDBDatabase.ipdl index 6c0fa2052e5..dc7d53a83de 100644 --- a/dom/indexedDB/PBackgroundIDBDatabase.ipdl +++ b/dom/indexedDB/PBackgroundIDBDatabase.ipdl @@ -53,31 +53,31 @@ sync protocol PBackgroundIDBDatabase manages PBackgroundMutableFile; parent: - DeleteMe(); + async DeleteMe(); - Blocked(); + async Blocked(); - Close(); + async Close(); - PBackgroundIDBDatabaseFile(PBlob blob); + async PBackgroundIDBDatabaseFile(PBlob blob); - PBackgroundIDBDatabaseRequest(DatabaseRequestParams params); + async PBackgroundIDBDatabaseRequest(DatabaseRequestParams params); - PBackgroundIDBTransaction(nsString[] objectStoreNames, Mode mode); + async PBackgroundIDBTransaction(nsString[] objectStoreNames, Mode mode); child: - __delete__(); + async __delete__(); - VersionChange(uint64_t oldVersion, NullableVersion newVersion); + async VersionChange(uint64_t oldVersion, NullableVersion newVersion); - Invalidate(); + async Invalidate(); - PBackgroundIDBVersionChangeTransaction(uint64_t currentVersion, - uint64_t requestedVersion, - int64_t nextObjectStoreId, - int64_t nextIndexId); + async PBackgroundIDBVersionChangeTransaction(uint64_t currentVersion, + uint64_t requestedVersion, + int64_t nextObjectStoreId, + int64_t nextIndexId); - PBackgroundMutableFile(nsString name, nsString type); + async PBackgroundMutableFile(nsString name, nsString type); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIDBDatabaseFile.ipdl b/dom/indexedDB/PBackgroundIDBDatabaseFile.ipdl index db66e773394..e2f7c9f85b1 100644 --- a/dom/indexedDB/PBackgroundIDBDatabaseFile.ipdl +++ b/dom/indexedDB/PBackgroundIDBDatabaseFile.ipdl @@ -13,7 +13,7 @@ protocol PBackgroundIDBDatabaseFile manager PBackgroundIDBDatabase; parent: - __delete__(); + async __delete__(); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl b/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl index ff02bda80c7..c3b342048a1 100644 --- a/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl +++ b/dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl @@ -25,7 +25,7 @@ protocol PBackgroundIDBDatabaseRequest manager PBackgroundIDBDatabase; child: - __delete__(DatabaseRequestResponse response); + async __delete__(DatabaseRequestResponse response); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIDBFactory.ipdl b/dom/indexedDB/PBackgroundIDBFactory.ipdl index ff186eff58b..e6c64dca4e0 100644 --- a/dom/indexedDB/PBackgroundIDBFactory.ipdl +++ b/dom/indexedDB/PBackgroundIDBFactory.ipdl @@ -49,17 +49,17 @@ sync protocol PBackgroundIDBFactory manages PBackgroundIDBFactoryRequest; parent: - DeleteMe(); + async DeleteMe(); - PBackgroundIDBFactoryRequest(FactoryRequestParams params); + async PBackgroundIDBFactoryRequest(FactoryRequestParams params); - IncrementLoggingRequestSerialNumber(); + async IncrementLoggingRequestSerialNumber(); child: - __delete__(); + async __delete__(); - PBackgroundIDBDatabase(DatabaseSpec spec, - PBackgroundIDBFactoryRequest request); + async PBackgroundIDBDatabase(DatabaseSpec spec, + PBackgroundIDBFactoryRequest request); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIDBFactoryRequest.ipdl b/dom/indexedDB/PBackgroundIDBFactoryRequest.ipdl index 1e198fc96bb..fc74807fed5 100644 --- a/dom/indexedDB/PBackgroundIDBFactoryRequest.ipdl +++ b/dom/indexedDB/PBackgroundIDBFactoryRequest.ipdl @@ -33,14 +33,14 @@ protocol PBackgroundIDBFactoryRequest manager PBackgroundIDBFactory; child: - __delete__(FactoryRequestResponse response); + async __delete__(FactoryRequestResponse response); - PermissionChallenge(PrincipalInfo principalInfo); + async PermissionChallenge(PrincipalInfo principalInfo); - Blocked(uint64_t currentVersion); + async Blocked(uint64_t currentVersion); parent: - PermissionRetry(); + async PermissionRetry(); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIDBRequest.ipdl b/dom/indexedDB/PBackgroundIDBRequest.ipdl index 694426c2c29..34a30a83342 100644 --- a/dom/indexedDB/PBackgroundIDBRequest.ipdl +++ b/dom/indexedDB/PBackgroundIDBRequest.ipdl @@ -105,7 +105,7 @@ protocol PBackgroundIDBRequest manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction; child: - __delete__(RequestResponse response); + async __delete__(RequestResponse response); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIDBTransaction.ipdl b/dom/indexedDB/PBackgroundIDBTransaction.ipdl index ba3faafcabd..355f07761c9 100644 --- a/dom/indexedDB/PBackgroundIDBTransaction.ipdl +++ b/dom/indexedDB/PBackgroundIDBTransaction.ipdl @@ -22,19 +22,19 @@ protocol PBackgroundIDBTransaction manages PBackgroundIDBRequest; parent: - DeleteMe(); + async DeleteMe(); - Commit(); - Abort(nsresult resultCode); + async Commit(); + async Abort(nsresult resultCode); - PBackgroundIDBCursor(OpenCursorParams params); + async PBackgroundIDBCursor(OpenCursorParams params); - PBackgroundIDBRequest(RequestParams params); + async PBackgroundIDBRequest(RequestParams params); child: - __delete__(); + async __delete__(); - Complete(nsresult result); + async Complete(nsresult result); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIDBVersionChangeTransaction.ipdl b/dom/indexedDB/PBackgroundIDBVersionChangeTransaction.ipdl index 766e922b79d..1dea5993620 100644 --- a/dom/indexedDB/PBackgroundIDBVersionChangeTransaction.ipdl +++ b/dom/indexedDB/PBackgroundIDBVersionChangeTransaction.ipdl @@ -23,27 +23,27 @@ protocol PBackgroundIDBVersionChangeTransaction manages PBackgroundIDBRequest; parent: - DeleteMe(); + async DeleteMe(); - Commit(); - Abort(nsresult resultCode); + async Commit(); + async Abort(nsresult resultCode); - CreateObjectStore(ObjectStoreMetadata metadata); - DeleteObjectStore(int64_t objectStoreId); + async CreateObjectStore(ObjectStoreMetadata metadata); + async DeleteObjectStore(int64_t objectStoreId); - CreateIndex(int64_t objectStoreId, - IndexMetadata metadata); - DeleteIndex(int64_t objectStoreId, - int64_t indexId); + async CreateIndex(int64_t objectStoreId, + IndexMetadata metadata); + async DeleteIndex(int64_t objectStoreId, + int64_t indexId); - PBackgroundIDBCursor(OpenCursorParams params); + async PBackgroundIDBCursor(OpenCursorParams params); - PBackgroundIDBRequest(RequestParams params); + async PBackgroundIDBRequest(RequestParams params); child: - __delete__(); + async __delete__(); - Complete(nsresult result); + async Complete(nsresult result); }; } // namespace indexedDB diff --git a/dom/indexedDB/PBackgroundIndexedDBUtils.ipdl b/dom/indexedDB/PBackgroundIndexedDBUtils.ipdl index ba65da24320..aac20e1a445 100644 --- a/dom/indexedDB/PBackgroundIndexedDBUtils.ipdl +++ b/dom/indexedDB/PBackgroundIndexedDBUtils.ipdl @@ -18,7 +18,7 @@ sync protocol PBackgroundIndexedDBUtils manager PBackground; parent: - DeleteMe(); + async DeleteMe(); // Use only for testing! sync GetFileReferences(PersistenceType persistenceType, @@ -29,7 +29,7 @@ parent: bool result); child: - __delete__(); + async __delete__(); }; } // namespace indexedDB diff --git a/dom/indexedDB/PIndexedDBPermissionRequest.ipdl b/dom/indexedDB/PIndexedDBPermissionRequest.ipdl index 4eecb2b1c0a..779793731e4 100644 --- a/dom/indexedDB/PIndexedDBPermissionRequest.ipdl +++ b/dom/indexedDB/PIndexedDBPermissionRequest.ipdl @@ -19,7 +19,7 @@ child: * @param permission * The permission result (see nsIPermissionManager.idl for valid values). */ - __delete__(uint32_t permission); + async __delete__(uint32_t permission); }; } // namespace indexedDB diff --git a/dom/ipc/PBlob.ipdl b/dom/ipc/PBlob.ipdl index 09b78b16308..d2c04d3cdd1 100644 --- a/dom/ipc/PBlob.ipdl +++ b/dom/ipc/PBlob.ipdl @@ -26,12 +26,12 @@ sync protocol PBlob manages PBlobStream; both: - __delete__(); + async __delete__(); parent: - PBlobStream(uint64_t begin, uint64_t length); + async PBlobStream(uint64_t begin, uint64_t length); - ResolveMystery(ResolveMysteryParams params); + async ResolveMystery(ResolveMysteryParams params); sync BlobStreamSync(uint64_t begin, uint64_t length) returns (InputStreamParams params, OptionalFileDescriptorSet fds); @@ -49,7 +49,7 @@ parent: child: // This method must be called by the parent when the PBlobParent is fully // created in order to release the known blob. - CreatedFromKnownBlob(); + async CreatedFromKnownBlob(); }; } // namespace dom diff --git a/dom/ipc/PBlobStream.ipdl b/dom/ipc/PBlobStream.ipdl index 03f4f872925..c82304950ac 100644 --- a/dom/ipc/PBlobStream.ipdl +++ b/dom/ipc/PBlobStream.ipdl @@ -14,7 +14,7 @@ protocol PBlobStream manager PBlob; child: - __delete__(InputStreamParams params, OptionalFileDescriptorSet fds); + async __delete__(InputStreamParams params, OptionalFileDescriptorSet fds); }; } // namespace dom diff --git a/dom/ipc/PBrowser.ipdl b/dom/ipc/PBrowser.ipdl index bd165838393..5563adb6962 100644 --- a/dom/ipc/PBrowser.ipdl +++ b/dom/ipc/PBrowser.ipdl @@ -110,14 +110,14 @@ prio(normal upto urgent) sync protocol PBrowser manages PPluginWidget; both: - AsyncMessage(nsString aMessage, ClonedMessageData aData, CpowEntry[] aCpows, - Principal aPrincipal); + async AsyncMessage(nsString aMessage, ClonedMessageData aData, CpowEntry[] aCpows, + Principal aPrincipal); /** * Create a layout frame (encapsulating a remote layer tree) for * the page that is currently loaded in the . */ - PRenderFrame(); + async PRenderFrame(); parent: /** @@ -126,7 +126,7 @@ parent: * aParentAcc is the id of the accessible in that document the new document * is a child of. */ - PDocAccessible(nullable PDocAccessible aParentDoc, uint64_t aParentAcc); + async PDocAccessible(nullable PDocAccessible aParentDoc, uint64_t aParentAcc); /* * Creates a new remoted nsIWidget connection for windowed plugins @@ -158,9 +158,9 @@ parent: * When child sends this message, parent should move focus to * the next or previous focusable element or document. */ - MoveFocus(bool forward, bool forDocumentNavigation); + async MoveFocus(bool forward, bool forDocumentNavigation); - Event(RemoteDOMEvent aEvent); + async Event(RemoteDOMEvent aEvent); sync SyncMessage(nsString aMessage, ClonedMessageData aData, CpowEntry[] aCpows, Principal aPrincipal) @@ -295,15 +295,15 @@ parent: * Request that the parent process move focus to the browser's frame. If * canRaise is true, the window can be raised if it is inactive. */ - RequestFocus(bool canRaise); + async RequestFocus(bool canRaise); /** * Indicate, based on the current state, that some commands are enabled and * some are disabled. */ - EnableDisableCommands(nsString action, - nsCString[] enabledCommands, - nsCString[] disabledCommands); + async EnableDisableCommands(nsString action, + nsCString[] enabledCommands, + nsCString[] disabledCommands); prio(urgent) sync GetInputContext() returns (int32_t IMEEnabled, int32_t IMEOpen); @@ -341,7 +341,7 @@ parent: * Invalidate any locally cached cursor settings and force an * update. */ - SetCursor(uint32_t value, bool force); + async SetCursor(uint32_t value, bool force); /** * Set the native cursor using a custom image. @@ -363,30 +363,30 @@ parent: * Invalidate any locally cached cursor settings and force an * update. */ - SetCustomCursor(nsCString cursorData, uint32_t width, uint32_t height, - uint32_t stride, uint8_t format, - uint32_t hotspotX, uint32_t hotspotY, bool force); + async SetCustomCursor(nsCString cursorData, uint32_t width, uint32_t height, + uint32_t stride, uint8_t format, + uint32_t hotspotX, uint32_t hotspotY, bool force); /** * Used to set the current text of the status tooltip. * Nowadays this is mainly used for link locations on hover. */ - SetStatus(uint32_t type, nsString status); + async SetStatus(uint32_t type, nsString status); /** * Show/hide a tooltip when the mouse hovers over an element in the content * document. */ - ShowTooltip(uint32_t x, uint32_t y, nsString tooltip); - HideTooltip(); + async ShowTooltip(uint32_t x, uint32_t y, nsString tooltip); + async HideTooltip(); /** * Create an asynchronous color picker on the parent side, * but don't open it yet. */ - PColorPicker(nsString title, nsString initialColor); + async PColorPicker(nsString title, nsString initialColor); - PFilePicker(nsString aTitle, int16_t aMode); + async PFilePicker(nsString aTitle, int16_t aMode); /** * Initiates an asynchronous request for one of the special indexedDB @@ -399,7 +399,7 @@ parent: * principals that can live in the content process should * provided. */ - PIndexedDBPermissionRequest(Principal principal); + async PIndexedDBPermissionRequest(Principal principal); /** * window.open from inside