Line data Source code
1 : //
2 : // Automatically generated by ipdlc.
3 : // Edit at your own risk
4 : //
5 :
6 :
7 : #include "mozilla/jsipc/PJavaScriptChild.h"
8 : #include "ipc/IPCMessageUtils.h"
9 :
10 : #include "mozilla/dom/PContentChild.h"
11 : #include "mozilla/dom/PContentBridgeChild.h"
12 :
13 : #include "nsIFile.h"
14 : #include "GeckoProfiler.h"
15 :
16 : namespace mozilla {
17 : namespace jsipc {
18 :
19 :
20 0 : auto PJavaScriptChild::ActorDestroy(ActorDestroyReason aWhy) -> void
21 : {
22 0 : }
23 :
24 2 : MOZ_IMPLICIT PJavaScriptChild::PJavaScriptChild() :
25 : mozilla::ipc::IProtocol(mozilla::ipc::ChildSide),
26 2 : mState(PJavaScript::__Dead)
27 : {
28 2 : MOZ_COUNT_CTOR(PJavaScriptChild);
29 2 : }
30 :
31 0 : PJavaScriptChild::~PJavaScriptChild()
32 : {
33 0 : MOZ_COUNT_DTOR(PJavaScriptChild);
34 0 : }
35 :
36 0 : auto PJavaScriptChild::SendDropObject(const uint64_t& objId) -> bool
37 : {
38 0 : IPC::Message* msg__ = PJavaScript::Msg_DropObject(Id());
39 :
40 0 : Write(objId, msg__);
41 : // Sentinel = 'objId'
42 0 : (msg__)->WriteSentinel(89635797);
43 :
44 :
45 :
46 :
47 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
48 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
49 : }
50 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_DropObject", OTHER);
51 0 : PJavaScript::Transition(PJavaScript::Msg_DropObject__ID, (&(mState)));
52 :
53 0 : bool sendok__ = (GetIPCChannel())->Send(msg__);
54 0 : return sendok__;
55 : }
56 :
57 0 : auto PJavaScriptChild::SendPreventExtensions(
58 : const uint64_t& objId,
59 : ReturnStatus* rs) -> bool
60 : {
61 0 : IPC::Message* msg__ = PJavaScript::Msg_PreventExtensions(Id());
62 :
63 0 : Write(objId, msg__);
64 : // Sentinel = 'objId'
65 0 : (msg__)->WriteSentinel(89635797);
66 :
67 0 : (msg__)->set_sync();
68 :
69 :
70 0 : Message reply__;
71 :
72 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
73 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
74 : }
75 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_PreventExtensions", OTHER);
76 0 : PJavaScript::Transition(PJavaScript::Msg_PreventExtensions__ID, (&(mState)));
77 :
78 : bool sendok__;
79 : {
80 : AutoProfilerTracing syncIPCTracer(
81 : "IPC",
82 0 : "PJavaScript::Msg_PreventExtensions");
83 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
84 : }
85 0 : if ((!(sendok__))) {
86 0 : return false;
87 : }
88 :
89 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
90 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
91 : }
92 :
93 0 : PickleIterator iter__(reply__);
94 :
95 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
96 0 : FatalError("Error deserializing 'ReturnStatus'");
97 0 : return false;
98 : }
99 : // Sentinel = 'rs'
100 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
101 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
102 0 : return false;
103 : }
104 0 : (reply__).EndRead(iter__, (reply__).type());
105 :
106 0 : return true;
107 : }
108 :
109 0 : auto PJavaScriptChild::SendGetPropertyDescriptor(
110 : const uint64_t& objId,
111 : const JSIDVariant& id,
112 : ReturnStatus* rs,
113 : PPropertyDescriptor* result) -> bool
114 : {
115 0 : IPC::Message* msg__ = PJavaScript::Msg_GetPropertyDescriptor(Id());
116 :
117 0 : Write(objId, msg__);
118 : // Sentinel = 'objId'
119 0 : (msg__)->WriteSentinel(89635797);
120 0 : Write(id, msg__);
121 : // Sentinel = 'id'
122 0 : (msg__)->WriteSentinel(2794505629);
123 :
124 0 : (msg__)->set_sync();
125 :
126 :
127 0 : Message reply__;
128 :
129 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
130 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
131 : }
132 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetPropertyDescriptor", OTHER);
133 0 : PJavaScript::Transition(PJavaScript::Msg_GetPropertyDescriptor__ID, (&(mState)));
134 :
135 : bool sendok__;
136 : {
137 : AutoProfilerTracing syncIPCTracer(
138 : "IPC",
139 0 : "PJavaScript::Msg_GetPropertyDescriptor");
140 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
141 : }
142 0 : if ((!(sendok__))) {
143 0 : return false;
144 : }
145 :
146 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
147 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
148 : }
149 :
150 0 : PickleIterator iter__(reply__);
151 :
152 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
153 0 : FatalError("Error deserializing 'ReturnStatus'");
154 0 : return false;
155 : }
156 : // Sentinel = 'rs'
157 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
158 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
159 0 : return false;
160 : }
161 0 : if ((!(Read(result, (&(reply__)), (&(iter__)))))) {
162 0 : FatalError("Error deserializing 'PPropertyDescriptor'");
163 0 : return false;
164 : }
165 : // Sentinel = 'result'
166 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3991766165)))) {
167 0 : mozilla::ipc::SentinelReadError("Error deserializing 'PPropertyDescriptor'");
168 0 : return false;
169 : }
170 0 : (reply__).EndRead(iter__, (reply__).type());
171 :
172 0 : return true;
173 : }
174 :
175 0 : auto PJavaScriptChild::SendGetOwnPropertyDescriptor(
176 : const uint64_t& objId,
177 : const JSIDVariant& id,
178 : ReturnStatus* rs,
179 : PPropertyDescriptor* result) -> bool
180 : {
181 0 : IPC::Message* msg__ = PJavaScript::Msg_GetOwnPropertyDescriptor(Id());
182 :
183 0 : Write(objId, msg__);
184 : // Sentinel = 'objId'
185 0 : (msg__)->WriteSentinel(89635797);
186 0 : Write(id, msg__);
187 : // Sentinel = 'id'
188 0 : (msg__)->WriteSentinel(2794505629);
189 :
190 0 : (msg__)->set_sync();
191 :
192 :
193 0 : Message reply__;
194 :
195 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
196 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
197 : }
198 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetOwnPropertyDescriptor", OTHER);
199 0 : PJavaScript::Transition(PJavaScript::Msg_GetOwnPropertyDescriptor__ID, (&(mState)));
200 :
201 : bool sendok__;
202 : {
203 : AutoProfilerTracing syncIPCTracer(
204 : "IPC",
205 0 : "PJavaScript::Msg_GetOwnPropertyDescriptor");
206 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
207 : }
208 0 : if ((!(sendok__))) {
209 0 : return false;
210 : }
211 :
212 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
213 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
214 : }
215 :
216 0 : PickleIterator iter__(reply__);
217 :
218 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
219 0 : FatalError("Error deserializing 'ReturnStatus'");
220 0 : return false;
221 : }
222 : // Sentinel = 'rs'
223 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
224 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
225 0 : return false;
226 : }
227 0 : if ((!(Read(result, (&(reply__)), (&(iter__)))))) {
228 0 : FatalError("Error deserializing 'PPropertyDescriptor'");
229 0 : return false;
230 : }
231 : // Sentinel = 'result'
232 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3991766165)))) {
233 0 : mozilla::ipc::SentinelReadError("Error deserializing 'PPropertyDescriptor'");
234 0 : return false;
235 : }
236 0 : (reply__).EndRead(iter__, (reply__).type());
237 :
238 0 : return true;
239 : }
240 :
241 0 : auto PJavaScriptChild::SendDefineProperty(
242 : const uint64_t& objId,
243 : const JSIDVariant& id,
244 : const PPropertyDescriptor& descriptor,
245 : ReturnStatus* rs) -> bool
246 : {
247 0 : IPC::Message* msg__ = PJavaScript::Msg_DefineProperty(Id());
248 :
249 0 : Write(objId, msg__);
250 : // Sentinel = 'objId'
251 0 : (msg__)->WriteSentinel(89635797);
252 0 : Write(id, msg__);
253 : // Sentinel = 'id'
254 0 : (msg__)->WriteSentinel(2794505629);
255 0 : Write(descriptor, msg__);
256 : // Sentinel = 'descriptor'
257 0 : (msg__)->WriteSentinel(2435877233);
258 :
259 0 : (msg__)->set_sync();
260 :
261 :
262 0 : Message reply__;
263 :
264 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
265 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
266 : }
267 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_DefineProperty", OTHER);
268 0 : PJavaScript::Transition(PJavaScript::Msg_DefineProperty__ID, (&(mState)));
269 :
270 : bool sendok__;
271 : {
272 : AutoProfilerTracing syncIPCTracer(
273 : "IPC",
274 0 : "PJavaScript::Msg_DefineProperty");
275 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
276 : }
277 0 : if ((!(sendok__))) {
278 0 : return false;
279 : }
280 :
281 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
282 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
283 : }
284 :
285 0 : PickleIterator iter__(reply__);
286 :
287 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
288 0 : FatalError("Error deserializing 'ReturnStatus'");
289 0 : return false;
290 : }
291 : // Sentinel = 'rs'
292 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
293 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
294 0 : return false;
295 : }
296 0 : (reply__).EndRead(iter__, (reply__).type());
297 :
298 0 : return true;
299 : }
300 :
301 0 : auto PJavaScriptChild::SendDelete(
302 : const uint64_t& objId,
303 : const JSIDVariant& id,
304 : ReturnStatus* rs) -> bool
305 : {
306 0 : IPC::Message* msg__ = PJavaScript::Msg_Delete(Id());
307 :
308 0 : Write(objId, msg__);
309 : // Sentinel = 'objId'
310 0 : (msg__)->WriteSentinel(89635797);
311 0 : Write(id, msg__);
312 : // Sentinel = 'id'
313 0 : (msg__)->WriteSentinel(2794505629);
314 :
315 0 : (msg__)->set_sync();
316 :
317 :
318 0 : Message reply__;
319 :
320 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
321 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
322 : }
323 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_Delete", OTHER);
324 0 : PJavaScript::Transition(PJavaScript::Msg_Delete__ID, (&(mState)));
325 :
326 : bool sendok__;
327 : {
328 : AutoProfilerTracing syncIPCTracer(
329 : "IPC",
330 0 : "PJavaScript::Msg_Delete");
331 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
332 : }
333 0 : if ((!(sendok__))) {
334 0 : return false;
335 : }
336 :
337 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
338 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
339 : }
340 :
341 0 : PickleIterator iter__(reply__);
342 :
343 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
344 0 : FatalError("Error deserializing 'ReturnStatus'");
345 0 : return false;
346 : }
347 : // Sentinel = 'rs'
348 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
349 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
350 0 : return false;
351 : }
352 0 : (reply__).EndRead(iter__, (reply__).type());
353 :
354 0 : return true;
355 : }
356 :
357 0 : auto PJavaScriptChild::SendHas(
358 : const uint64_t& objId,
359 : const JSIDVariant& id,
360 : ReturnStatus* rs,
361 : bool* has) -> bool
362 : {
363 0 : IPC::Message* msg__ = PJavaScript::Msg_Has(Id());
364 :
365 0 : Write(objId, msg__);
366 : // Sentinel = 'objId'
367 0 : (msg__)->WriteSentinel(89635797);
368 0 : Write(id, msg__);
369 : // Sentinel = 'id'
370 0 : (msg__)->WriteSentinel(2794505629);
371 :
372 0 : (msg__)->set_sync();
373 :
374 :
375 0 : Message reply__;
376 :
377 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
378 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
379 : }
380 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_Has", OTHER);
381 0 : PJavaScript::Transition(PJavaScript::Msg_Has__ID, (&(mState)));
382 :
383 : bool sendok__;
384 : {
385 : AutoProfilerTracing syncIPCTracer(
386 : "IPC",
387 0 : "PJavaScript::Msg_Has");
388 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
389 : }
390 0 : if ((!(sendok__))) {
391 0 : return false;
392 : }
393 :
394 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
395 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
396 : }
397 :
398 0 : PickleIterator iter__(reply__);
399 :
400 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
401 0 : FatalError("Error deserializing 'ReturnStatus'");
402 0 : return false;
403 : }
404 : // Sentinel = 'rs'
405 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
406 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
407 0 : return false;
408 : }
409 0 : if ((!(Read(has, (&(reply__)), (&(iter__)))))) {
410 0 : FatalError("Error deserializing 'bool'");
411 0 : return false;
412 : }
413 : // Sentinel = 'has'
414 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1255409211)))) {
415 0 : mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
416 0 : return false;
417 : }
418 0 : (reply__).EndRead(iter__, (reply__).type());
419 :
420 0 : return true;
421 : }
422 :
423 0 : auto PJavaScriptChild::SendHasOwn(
424 : const uint64_t& objId,
425 : const JSIDVariant& id,
426 : ReturnStatus* rs,
427 : bool* has) -> bool
428 : {
429 0 : IPC::Message* msg__ = PJavaScript::Msg_HasOwn(Id());
430 :
431 0 : Write(objId, msg__);
432 : // Sentinel = 'objId'
433 0 : (msg__)->WriteSentinel(89635797);
434 0 : Write(id, msg__);
435 : // Sentinel = 'id'
436 0 : (msg__)->WriteSentinel(2794505629);
437 :
438 0 : (msg__)->set_sync();
439 :
440 :
441 0 : Message reply__;
442 :
443 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
444 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
445 : }
446 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_HasOwn", OTHER);
447 0 : PJavaScript::Transition(PJavaScript::Msg_HasOwn__ID, (&(mState)));
448 :
449 : bool sendok__;
450 : {
451 : AutoProfilerTracing syncIPCTracer(
452 : "IPC",
453 0 : "PJavaScript::Msg_HasOwn");
454 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
455 : }
456 0 : if ((!(sendok__))) {
457 0 : return false;
458 : }
459 :
460 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
461 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
462 : }
463 :
464 0 : PickleIterator iter__(reply__);
465 :
466 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
467 0 : FatalError("Error deserializing 'ReturnStatus'");
468 0 : return false;
469 : }
470 : // Sentinel = 'rs'
471 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
472 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
473 0 : return false;
474 : }
475 0 : if ((!(Read(has, (&(reply__)), (&(iter__)))))) {
476 0 : FatalError("Error deserializing 'bool'");
477 0 : return false;
478 : }
479 : // Sentinel = 'has'
480 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1255409211)))) {
481 0 : mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
482 0 : return false;
483 : }
484 0 : (reply__).EndRead(iter__, (reply__).type());
485 :
486 0 : return true;
487 : }
488 :
489 0 : auto PJavaScriptChild::SendGet(
490 : const uint64_t& objId,
491 : const JSVariant& receiver,
492 : const JSIDVariant& id,
493 : ReturnStatus* rs,
494 : JSVariant* result) -> bool
495 : {
496 0 : IPC::Message* msg__ = PJavaScript::Msg_Get(Id());
497 :
498 0 : Write(objId, msg__);
499 : // Sentinel = 'objId'
500 0 : (msg__)->WriteSentinel(89635797);
501 0 : Write(receiver, msg__);
502 : // Sentinel = 'receiver'
503 0 : (msg__)->WriteSentinel(2352325879);
504 0 : Write(id, msg__);
505 : // Sentinel = 'id'
506 0 : (msg__)->WriteSentinel(2794505629);
507 :
508 0 : (msg__)->set_sync();
509 :
510 :
511 0 : Message reply__;
512 :
513 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
514 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
515 : }
516 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_Get", OTHER);
517 0 : PJavaScript::Transition(PJavaScript::Msg_Get__ID, (&(mState)));
518 :
519 : bool sendok__;
520 : {
521 : AutoProfilerTracing syncIPCTracer(
522 : "IPC",
523 0 : "PJavaScript::Msg_Get");
524 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
525 : }
526 0 : if ((!(sendok__))) {
527 0 : return false;
528 : }
529 :
530 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
531 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
532 : }
533 :
534 0 : PickleIterator iter__(reply__);
535 :
536 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
537 0 : FatalError("Error deserializing 'ReturnStatus'");
538 0 : return false;
539 : }
540 : // Sentinel = 'rs'
541 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
542 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
543 0 : return false;
544 : }
545 0 : if ((!(Read(result, (&(reply__)), (&(iter__)))))) {
546 0 : FatalError("Error deserializing 'JSVariant'");
547 0 : return false;
548 : }
549 : // Sentinel = 'result'
550 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3991766165)))) {
551 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSVariant'");
552 0 : return false;
553 : }
554 0 : (reply__).EndRead(iter__, (reply__).type());
555 :
556 0 : return true;
557 : }
558 :
559 0 : auto PJavaScriptChild::SendSet(
560 : const uint64_t& objId,
561 : const JSIDVariant& id,
562 : const JSVariant& value,
563 : const JSVariant& receiver,
564 : ReturnStatus* rs) -> bool
565 : {
566 0 : IPC::Message* msg__ = PJavaScript::Msg_Set(Id());
567 :
568 0 : Write(objId, msg__);
569 : // Sentinel = 'objId'
570 0 : (msg__)->WriteSentinel(89635797);
571 0 : Write(id, msg__);
572 : // Sentinel = 'id'
573 0 : (msg__)->WriteSentinel(2794505629);
574 0 : Write(value, msg__);
575 : // Sentinel = 'value'
576 0 : (msg__)->WriteSentinel(3456818542);
577 0 : Write(receiver, msg__);
578 : // Sentinel = 'receiver'
579 0 : (msg__)->WriteSentinel(2352325879);
580 :
581 0 : (msg__)->set_sync();
582 :
583 :
584 0 : Message reply__;
585 :
586 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
587 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
588 : }
589 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_Set", OTHER);
590 0 : PJavaScript::Transition(PJavaScript::Msg_Set__ID, (&(mState)));
591 :
592 : bool sendok__;
593 : {
594 : AutoProfilerTracing syncIPCTracer(
595 : "IPC",
596 0 : "PJavaScript::Msg_Set");
597 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
598 : }
599 0 : if ((!(sendok__))) {
600 0 : return false;
601 : }
602 :
603 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
604 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
605 : }
606 :
607 0 : PickleIterator iter__(reply__);
608 :
609 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
610 0 : FatalError("Error deserializing 'ReturnStatus'");
611 0 : return false;
612 : }
613 : // Sentinel = 'rs'
614 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
615 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
616 0 : return false;
617 : }
618 0 : (reply__).EndRead(iter__, (reply__).type());
619 :
620 0 : return true;
621 : }
622 :
623 0 : auto PJavaScriptChild::SendIsExtensible(
624 : const uint64_t& objId,
625 : ReturnStatus* rs,
626 : bool* result) -> bool
627 : {
628 0 : IPC::Message* msg__ = PJavaScript::Msg_IsExtensible(Id());
629 :
630 0 : Write(objId, msg__);
631 : // Sentinel = 'objId'
632 0 : (msg__)->WriteSentinel(89635797);
633 :
634 0 : (msg__)->set_sync();
635 :
636 :
637 0 : Message reply__;
638 :
639 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
640 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
641 : }
642 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_IsExtensible", OTHER);
643 0 : PJavaScript::Transition(PJavaScript::Msg_IsExtensible__ID, (&(mState)));
644 :
645 : bool sendok__;
646 : {
647 : AutoProfilerTracing syncIPCTracer(
648 : "IPC",
649 0 : "PJavaScript::Msg_IsExtensible");
650 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
651 : }
652 0 : if ((!(sendok__))) {
653 0 : return false;
654 : }
655 :
656 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
657 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
658 : }
659 :
660 0 : PickleIterator iter__(reply__);
661 :
662 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
663 0 : FatalError("Error deserializing 'ReturnStatus'");
664 0 : return false;
665 : }
666 : // Sentinel = 'rs'
667 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
668 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
669 0 : return false;
670 : }
671 0 : if ((!(Read(result, (&(reply__)), (&(iter__)))))) {
672 0 : FatalError("Error deserializing 'bool'");
673 0 : return false;
674 : }
675 : // Sentinel = 'result'
676 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3991766165)))) {
677 0 : mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
678 0 : return false;
679 : }
680 0 : (reply__).EndRead(iter__, (reply__).type());
681 :
682 0 : return true;
683 : }
684 :
685 0 : auto PJavaScriptChild::SendCallOrConstruct(
686 : const uint64_t& objId,
687 : const nsTArray<JSParam>& argv,
688 : const bool& construct,
689 : ReturnStatus* rs,
690 : JSVariant* result,
691 : nsTArray<JSParam>* outparams) -> bool
692 : {
693 0 : IPC::Message* msg__ = PJavaScript::Msg_CallOrConstruct(Id());
694 :
695 0 : Write(objId, msg__);
696 : // Sentinel = 'objId'
697 0 : (msg__)->WriteSentinel(89635797);
698 0 : Write(argv, msg__);
699 : // Sentinel = 'argv'
700 0 : (msg__)->WriteSentinel(2823760590);
701 0 : Write(construct, msg__);
702 : // Sentinel = 'construct'
703 0 : (msg__)->WriteSentinel(1907020590);
704 :
705 0 : (msg__)->set_sync();
706 :
707 :
708 0 : Message reply__;
709 :
710 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
711 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
712 : }
713 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_CallOrConstruct", OTHER);
714 0 : PJavaScript::Transition(PJavaScript::Msg_CallOrConstruct__ID, (&(mState)));
715 :
716 : bool sendok__;
717 : {
718 : AutoProfilerTracing syncIPCTracer(
719 : "IPC",
720 0 : "PJavaScript::Msg_CallOrConstruct");
721 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
722 : }
723 0 : if ((!(sendok__))) {
724 0 : return false;
725 : }
726 :
727 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
728 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
729 : }
730 :
731 0 : PickleIterator iter__(reply__);
732 :
733 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
734 0 : FatalError("Error deserializing 'ReturnStatus'");
735 0 : return false;
736 : }
737 : // Sentinel = 'rs'
738 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
739 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
740 0 : return false;
741 : }
742 0 : if ((!(Read(result, (&(reply__)), (&(iter__)))))) {
743 0 : FatalError("Error deserializing 'JSVariant'");
744 0 : return false;
745 : }
746 : // Sentinel = 'result'
747 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3991766165)))) {
748 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSVariant'");
749 0 : return false;
750 : }
751 0 : if ((!(Read(outparams, (&(reply__)), (&(iter__)))))) {
752 0 : FatalError("Error deserializing 'nsTArray'");
753 0 : return false;
754 : }
755 : // Sentinel = 'outparams'
756 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1380950303)))) {
757 0 : mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
758 0 : return false;
759 : }
760 0 : (reply__).EndRead(iter__, (reply__).type());
761 :
762 0 : return true;
763 : }
764 :
765 0 : auto PJavaScriptChild::SendHasInstance(
766 : const uint64_t& objId,
767 : const JSVariant& v,
768 : ReturnStatus* rs,
769 : bool* has) -> bool
770 : {
771 0 : IPC::Message* msg__ = PJavaScript::Msg_HasInstance(Id());
772 :
773 0 : Write(objId, msg__);
774 : // Sentinel = 'objId'
775 0 : (msg__)->WriteSentinel(89635797);
776 0 : Write(v, msg__);
777 : // Sentinel = 'v'
778 0 : (msg__)->WriteSentinel(2219143543);
779 :
780 0 : (msg__)->set_sync();
781 :
782 :
783 0 : Message reply__;
784 :
785 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
786 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
787 : }
788 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_HasInstance", OTHER);
789 0 : PJavaScript::Transition(PJavaScript::Msg_HasInstance__ID, (&(mState)));
790 :
791 : bool sendok__;
792 : {
793 : AutoProfilerTracing syncIPCTracer(
794 : "IPC",
795 0 : "PJavaScript::Msg_HasInstance");
796 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
797 : }
798 0 : if ((!(sendok__))) {
799 0 : return false;
800 : }
801 :
802 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
803 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
804 : }
805 :
806 0 : PickleIterator iter__(reply__);
807 :
808 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
809 0 : FatalError("Error deserializing 'ReturnStatus'");
810 0 : return false;
811 : }
812 : // Sentinel = 'rs'
813 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
814 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
815 0 : return false;
816 : }
817 0 : if ((!(Read(has, (&(reply__)), (&(iter__)))))) {
818 0 : FatalError("Error deserializing 'bool'");
819 0 : return false;
820 : }
821 : // Sentinel = 'has'
822 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1255409211)))) {
823 0 : mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
824 0 : return false;
825 : }
826 0 : (reply__).EndRead(iter__, (reply__).type());
827 :
828 0 : return true;
829 : }
830 :
831 0 : auto PJavaScriptChild::SendGetBuiltinClass(
832 : const uint64_t& objId,
833 : ReturnStatus* rs,
834 : uint32_t* classValue) -> bool
835 : {
836 0 : IPC::Message* msg__ = PJavaScript::Msg_GetBuiltinClass(Id());
837 :
838 0 : Write(objId, msg__);
839 : // Sentinel = 'objId'
840 0 : (msg__)->WriteSentinel(89635797);
841 :
842 0 : (msg__)->set_sync();
843 :
844 :
845 0 : Message reply__;
846 :
847 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
848 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
849 : }
850 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetBuiltinClass", OTHER);
851 0 : PJavaScript::Transition(PJavaScript::Msg_GetBuiltinClass__ID, (&(mState)));
852 :
853 : bool sendok__;
854 : {
855 : AutoProfilerTracing syncIPCTracer(
856 : "IPC",
857 0 : "PJavaScript::Msg_GetBuiltinClass");
858 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
859 : }
860 0 : if ((!(sendok__))) {
861 0 : return false;
862 : }
863 :
864 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
865 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
866 : }
867 :
868 0 : PickleIterator iter__(reply__);
869 :
870 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
871 0 : FatalError("Error deserializing 'ReturnStatus'");
872 0 : return false;
873 : }
874 : // Sentinel = 'rs'
875 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
876 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
877 0 : return false;
878 : }
879 0 : if ((!(Read(classValue, (&(reply__)), (&(iter__)))))) {
880 0 : FatalError("Error deserializing 'uint32_t'");
881 0 : return false;
882 : }
883 : // Sentinel = 'classValue'
884 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2941051785)))) {
885 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
886 0 : return false;
887 : }
888 0 : (reply__).EndRead(iter__, (reply__).type());
889 :
890 0 : return true;
891 : }
892 :
893 0 : auto PJavaScriptChild::SendIsArray(
894 : const uint64_t& objId,
895 : ReturnStatus* rs,
896 : uint32_t* ans) -> bool
897 : {
898 0 : IPC::Message* msg__ = PJavaScript::Msg_IsArray(Id());
899 :
900 0 : Write(objId, msg__);
901 : // Sentinel = 'objId'
902 0 : (msg__)->WriteSentinel(89635797);
903 :
904 0 : (msg__)->set_sync();
905 :
906 :
907 0 : Message reply__;
908 :
909 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
910 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
911 : }
912 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_IsArray", OTHER);
913 0 : PJavaScript::Transition(PJavaScript::Msg_IsArray__ID, (&(mState)));
914 :
915 : bool sendok__;
916 : {
917 : AutoProfilerTracing syncIPCTracer(
918 : "IPC",
919 0 : "PJavaScript::Msg_IsArray");
920 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
921 : }
922 0 : if ((!(sendok__))) {
923 0 : return false;
924 : }
925 :
926 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
927 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
928 : }
929 :
930 0 : PickleIterator iter__(reply__);
931 :
932 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
933 0 : FatalError("Error deserializing 'ReturnStatus'");
934 0 : return false;
935 : }
936 : // Sentinel = 'rs'
937 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
938 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
939 0 : return false;
940 : }
941 0 : if ((!(Read(ans, (&(reply__)), (&(iter__)))))) {
942 0 : FatalError("Error deserializing 'uint32_t'");
943 0 : return false;
944 : }
945 : // Sentinel = 'ans'
946 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2706041751)))) {
947 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
948 0 : return false;
949 : }
950 0 : (reply__).EndRead(iter__, (reply__).type());
951 :
952 0 : return true;
953 : }
954 :
955 0 : auto PJavaScriptChild::SendClassName(
956 : const uint64_t& objId,
957 : nsCString* name) -> bool
958 : {
959 0 : IPC::Message* msg__ = PJavaScript::Msg_ClassName(Id());
960 :
961 0 : Write(objId, msg__);
962 : // Sentinel = 'objId'
963 0 : (msg__)->WriteSentinel(89635797);
964 :
965 0 : (msg__)->set_sync();
966 :
967 :
968 0 : Message reply__;
969 :
970 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
971 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
972 : }
973 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_ClassName", OTHER);
974 0 : PJavaScript::Transition(PJavaScript::Msg_ClassName__ID, (&(mState)));
975 :
976 : bool sendok__;
977 : {
978 : AutoProfilerTracing syncIPCTracer(
979 : "IPC",
980 0 : "PJavaScript::Msg_ClassName");
981 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
982 : }
983 0 : if ((!(sendok__))) {
984 0 : return false;
985 : }
986 :
987 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
988 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
989 : }
990 :
991 0 : PickleIterator iter__(reply__);
992 :
993 0 : if ((!(Read(name, (&(reply__)), (&(iter__)))))) {
994 0 : FatalError("Error deserializing 'nsCString'");
995 0 : return false;
996 : }
997 : // Sentinel = 'name'
998 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 15034981)))) {
999 0 : mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
1000 0 : return false;
1001 : }
1002 0 : (reply__).EndRead(iter__, (reply__).type());
1003 :
1004 0 : return true;
1005 : }
1006 :
1007 0 : auto PJavaScriptChild::SendGetPrototype(
1008 : const uint64_t& objId,
1009 : ReturnStatus* rs,
1010 : ObjectOrNullVariant* result) -> bool
1011 : {
1012 0 : IPC::Message* msg__ = PJavaScript::Msg_GetPrototype(Id());
1013 :
1014 0 : Write(objId, msg__);
1015 : // Sentinel = 'objId'
1016 0 : (msg__)->WriteSentinel(89635797);
1017 :
1018 0 : (msg__)->set_sync();
1019 :
1020 :
1021 0 : Message reply__;
1022 :
1023 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1024 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
1025 : }
1026 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetPrototype", OTHER);
1027 0 : PJavaScript::Transition(PJavaScript::Msg_GetPrototype__ID, (&(mState)));
1028 :
1029 : bool sendok__;
1030 : {
1031 : AutoProfilerTracing syncIPCTracer(
1032 : "IPC",
1033 0 : "PJavaScript::Msg_GetPrototype");
1034 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
1035 : }
1036 0 : if ((!(sendok__))) {
1037 0 : return false;
1038 : }
1039 :
1040 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1041 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1042 : }
1043 :
1044 0 : PickleIterator iter__(reply__);
1045 :
1046 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
1047 0 : FatalError("Error deserializing 'ReturnStatus'");
1048 0 : return false;
1049 : }
1050 : // Sentinel = 'rs'
1051 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
1052 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
1053 0 : return false;
1054 : }
1055 0 : if ((!(Read(result, (&(reply__)), (&(iter__)))))) {
1056 0 : FatalError("Error deserializing 'ObjectOrNullVariant'");
1057 0 : return false;
1058 : }
1059 : // Sentinel = 'result'
1060 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3991766165)))) {
1061 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ObjectOrNullVariant'");
1062 0 : return false;
1063 : }
1064 0 : (reply__).EndRead(iter__, (reply__).type());
1065 :
1066 0 : return true;
1067 : }
1068 :
1069 0 : auto PJavaScriptChild::SendGetPrototypeIfOrdinary(
1070 : const uint64_t& objId,
1071 : ReturnStatus* rs,
1072 : bool* isOrdinary,
1073 : ObjectOrNullVariant* result) -> bool
1074 : {
1075 0 : IPC::Message* msg__ = PJavaScript::Msg_GetPrototypeIfOrdinary(Id());
1076 :
1077 0 : Write(objId, msg__);
1078 : // Sentinel = 'objId'
1079 0 : (msg__)->WriteSentinel(89635797);
1080 :
1081 0 : (msg__)->set_sync();
1082 :
1083 :
1084 0 : Message reply__;
1085 :
1086 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1087 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
1088 : }
1089 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetPrototypeIfOrdinary", OTHER);
1090 0 : PJavaScript::Transition(PJavaScript::Msg_GetPrototypeIfOrdinary__ID, (&(mState)));
1091 :
1092 : bool sendok__;
1093 : {
1094 : AutoProfilerTracing syncIPCTracer(
1095 : "IPC",
1096 0 : "PJavaScript::Msg_GetPrototypeIfOrdinary");
1097 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
1098 : }
1099 0 : if ((!(sendok__))) {
1100 0 : return false;
1101 : }
1102 :
1103 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1104 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1105 : }
1106 :
1107 0 : PickleIterator iter__(reply__);
1108 :
1109 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
1110 0 : FatalError("Error deserializing 'ReturnStatus'");
1111 0 : return false;
1112 : }
1113 : // Sentinel = 'rs'
1114 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
1115 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
1116 0 : return false;
1117 : }
1118 0 : if ((!(Read(isOrdinary, (&(reply__)), (&(iter__)))))) {
1119 0 : FatalError("Error deserializing 'bool'");
1120 0 : return false;
1121 : }
1122 : // Sentinel = 'isOrdinary'
1123 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3108664816)))) {
1124 0 : mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
1125 0 : return false;
1126 : }
1127 0 : if ((!(Read(result, (&(reply__)), (&(iter__)))))) {
1128 0 : FatalError("Error deserializing 'ObjectOrNullVariant'");
1129 0 : return false;
1130 : }
1131 : // Sentinel = 'result'
1132 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3991766165)))) {
1133 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ObjectOrNullVariant'");
1134 0 : return false;
1135 : }
1136 0 : (reply__).EndRead(iter__, (reply__).type());
1137 :
1138 0 : return true;
1139 : }
1140 :
1141 0 : auto PJavaScriptChild::SendRegExpToShared(
1142 : const uint64_t& objId,
1143 : ReturnStatus* rs,
1144 : nsString* source,
1145 : uint32_t* flags) -> bool
1146 : {
1147 0 : IPC::Message* msg__ = PJavaScript::Msg_RegExpToShared(Id());
1148 :
1149 0 : Write(objId, msg__);
1150 : // Sentinel = 'objId'
1151 0 : (msg__)->WriteSentinel(89635797);
1152 :
1153 0 : (msg__)->set_sync();
1154 :
1155 :
1156 0 : Message reply__;
1157 :
1158 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1159 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
1160 : }
1161 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_RegExpToShared", OTHER);
1162 0 : PJavaScript::Transition(PJavaScript::Msg_RegExpToShared__ID, (&(mState)));
1163 :
1164 : bool sendok__;
1165 : {
1166 : AutoProfilerTracing syncIPCTracer(
1167 : "IPC",
1168 0 : "PJavaScript::Msg_RegExpToShared");
1169 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
1170 : }
1171 0 : if ((!(sendok__))) {
1172 0 : return false;
1173 : }
1174 :
1175 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1176 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1177 : }
1178 :
1179 0 : PickleIterator iter__(reply__);
1180 :
1181 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
1182 0 : FatalError("Error deserializing 'ReturnStatus'");
1183 0 : return false;
1184 : }
1185 : // Sentinel = 'rs'
1186 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
1187 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
1188 0 : return false;
1189 : }
1190 0 : if ((!(Read(source, (&(reply__)), (&(iter__)))))) {
1191 0 : FatalError("Error deserializing 'nsString'");
1192 0 : return false;
1193 : }
1194 : // Sentinel = 'source'
1195 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 774264369)))) {
1196 0 : mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
1197 0 : return false;
1198 : }
1199 0 : if ((!(Read(flags, (&(reply__)), (&(iter__)))))) {
1200 0 : FatalError("Error deserializing 'uint32_t'");
1201 0 : return false;
1202 : }
1203 : // Sentinel = 'flags'
1204 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2550519284)))) {
1205 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
1206 0 : return false;
1207 : }
1208 0 : (reply__).EndRead(iter__, (reply__).type());
1209 :
1210 0 : return true;
1211 : }
1212 :
1213 0 : auto PJavaScriptChild::SendGetPropertyKeys(
1214 : const uint64_t& objId,
1215 : const uint32_t& flags,
1216 : ReturnStatus* rs,
1217 : nsTArray<JSIDVariant>* ids) -> bool
1218 : {
1219 0 : IPC::Message* msg__ = PJavaScript::Msg_GetPropertyKeys(Id());
1220 :
1221 0 : Write(objId, msg__);
1222 : // Sentinel = 'objId'
1223 0 : (msg__)->WriteSentinel(89635797);
1224 0 : Write(flags, msg__);
1225 : // Sentinel = 'flags'
1226 0 : (msg__)->WriteSentinel(2550519284);
1227 :
1228 0 : (msg__)->set_sync();
1229 :
1230 :
1231 0 : Message reply__;
1232 :
1233 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1234 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
1235 : }
1236 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetPropertyKeys", OTHER);
1237 0 : PJavaScript::Transition(PJavaScript::Msg_GetPropertyKeys__ID, (&(mState)));
1238 :
1239 : bool sendok__;
1240 : {
1241 : AutoProfilerTracing syncIPCTracer(
1242 : "IPC",
1243 0 : "PJavaScript::Msg_GetPropertyKeys");
1244 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
1245 : }
1246 0 : if ((!(sendok__))) {
1247 0 : return false;
1248 : }
1249 :
1250 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1251 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1252 : }
1253 :
1254 0 : PickleIterator iter__(reply__);
1255 :
1256 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
1257 0 : FatalError("Error deserializing 'ReturnStatus'");
1258 0 : return false;
1259 : }
1260 : // Sentinel = 'rs'
1261 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
1262 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
1263 0 : return false;
1264 : }
1265 0 : if ((!(Read(ids, (&(reply__)), (&(iter__)))))) {
1266 0 : FatalError("Error deserializing 'nsTArray'");
1267 0 : return false;
1268 : }
1269 : // Sentinel = 'ids'
1270 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2133309165)))) {
1271 0 : mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
1272 0 : return false;
1273 : }
1274 0 : (reply__).EndRead(iter__, (reply__).type());
1275 :
1276 0 : return true;
1277 : }
1278 :
1279 0 : auto PJavaScriptChild::SendInstanceOf(
1280 : const uint64_t& objId,
1281 : const JSIID& iid,
1282 : ReturnStatus* rs,
1283 : bool* instanceof) -> bool
1284 : {
1285 0 : IPC::Message* msg__ = PJavaScript::Msg_InstanceOf(Id());
1286 :
1287 0 : Write(objId, msg__);
1288 : // Sentinel = 'objId'
1289 0 : (msg__)->WriteSentinel(89635797);
1290 0 : Write(iid, msg__);
1291 : // Sentinel = 'iid'
1292 0 : (msg__)->WriteSentinel(2120309073);
1293 :
1294 0 : (msg__)->set_sync();
1295 :
1296 :
1297 0 : Message reply__;
1298 :
1299 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1300 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
1301 : }
1302 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_InstanceOf", OTHER);
1303 0 : PJavaScript::Transition(PJavaScript::Msg_InstanceOf__ID, (&(mState)));
1304 :
1305 : bool sendok__;
1306 : {
1307 : AutoProfilerTracing syncIPCTracer(
1308 : "IPC",
1309 0 : "PJavaScript::Msg_InstanceOf");
1310 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
1311 : }
1312 0 : if ((!(sendok__))) {
1313 0 : return false;
1314 : }
1315 :
1316 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1317 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1318 : }
1319 :
1320 0 : PickleIterator iter__(reply__);
1321 :
1322 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
1323 0 : FatalError("Error deserializing 'ReturnStatus'");
1324 0 : return false;
1325 : }
1326 : // Sentinel = 'rs'
1327 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
1328 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
1329 0 : return false;
1330 : }
1331 0 : if ((!(Read(instanceof, (&(reply__)), (&(iter__)))))) {
1332 0 : FatalError("Error deserializing 'bool'");
1333 0 : return false;
1334 : }
1335 : // Sentinel = 'instanceof'
1336 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3780461152)))) {
1337 0 : mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
1338 0 : return false;
1339 : }
1340 0 : (reply__).EndRead(iter__, (reply__).type());
1341 :
1342 0 : return true;
1343 : }
1344 :
1345 0 : auto PJavaScriptChild::SendDOMInstanceOf(
1346 : const uint64_t& objId,
1347 : const int& prototypeID,
1348 : const int& depth,
1349 : ReturnStatus* rs,
1350 : bool* instanceof) -> bool
1351 : {
1352 0 : IPC::Message* msg__ = PJavaScript::Msg_DOMInstanceOf(Id());
1353 :
1354 0 : Write(objId, msg__);
1355 : // Sentinel = 'objId'
1356 0 : (msg__)->WriteSentinel(89635797);
1357 0 : Write(prototypeID, msg__);
1358 : // Sentinel = 'prototypeID'
1359 0 : (msg__)->WriteSentinel(1277533842);
1360 0 : Write(depth, msg__);
1361 : // Sentinel = 'depth'
1362 0 : (msg__)->WriteSentinel(1427290098);
1363 :
1364 0 : (msg__)->set_sync();
1365 :
1366 :
1367 0 : Message reply__;
1368 :
1369 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1370 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
1371 : }
1372 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_DOMInstanceOf", OTHER);
1373 0 : PJavaScript::Transition(PJavaScript::Msg_DOMInstanceOf__ID, (&(mState)));
1374 :
1375 : bool sendok__;
1376 : {
1377 : AutoProfilerTracing syncIPCTracer(
1378 : "IPC",
1379 0 : "PJavaScript::Msg_DOMInstanceOf");
1380 0 : sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
1381 : }
1382 0 : if ((!(sendok__))) {
1383 0 : return false;
1384 : }
1385 :
1386 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1387 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1388 : }
1389 :
1390 0 : PickleIterator iter__(reply__);
1391 :
1392 0 : if ((!(Read(rs, (&(reply__)), (&(iter__)))))) {
1393 0 : FatalError("Error deserializing 'ReturnStatus'");
1394 0 : return false;
1395 : }
1396 : // Sentinel = 'rs'
1397 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481063)))) {
1398 0 : mozilla::ipc::SentinelReadError("Error deserializing 'ReturnStatus'");
1399 0 : return false;
1400 : }
1401 0 : if ((!(Read(instanceof, (&(reply__)), (&(iter__)))))) {
1402 0 : FatalError("Error deserializing 'bool'");
1403 0 : return false;
1404 : }
1405 : // Sentinel = 'instanceof'
1406 0 : if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3780461152)))) {
1407 0 : mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
1408 0 : return false;
1409 : }
1410 0 : (reply__).EndRead(iter__, (reply__).type());
1411 :
1412 0 : return true;
1413 : }
1414 :
1415 0 : auto PJavaScriptChild::Send__delete__(PJavaScriptChild* actor) -> bool
1416 : {
1417 0 : if ((!(actor))) {
1418 0 : return false;
1419 : }
1420 :
1421 0 : IPC::Message* msg__ = PJavaScript::Msg___delete__((actor)->Id());
1422 :
1423 0 : (actor)->Write(actor, msg__, false);
1424 : // Sentinel = 'actor'
1425 0 : (msg__)->WriteSentinel(875202478);
1426 :
1427 :
1428 :
1429 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1430 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
1431 : }
1432 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg___delete__", OTHER);
1433 0 : PJavaScript::Transition(PJavaScript::Msg___delete____ID, (&((actor)->mState)));
1434 :
1435 0 : bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__);
1436 :
1437 0 : IProtocol* mgr = (actor)->Manager();
1438 0 : (actor)->DestroySubtree(Deletion);
1439 0 : (actor)->DeallocSubtree();
1440 0 : (mgr)->RemoveManagee(PJavaScriptMsgStart, actor);
1441 0 : return sendok__;
1442 : }
1443 :
1444 0 : auto PJavaScriptChild::RemoveManagee(
1445 : int32_t aProtocolId,
1446 : ProtocolBase* aListener) -> void
1447 : {
1448 0 : FatalError("unreached");
1449 0 : return;
1450 : }
1451 :
1452 3 : auto PJavaScriptChild::OnMessageReceived(const Message& msg__) -> PJavaScriptChild::Result
1453 : {
1454 3 : switch ((msg__).type()) {
1455 : case PJavaScript::Msg_DropObject__ID:
1456 : {
1457 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1458 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1459 : }
1460 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_DropObject", OTHER);
1461 :
1462 0 : PickleIterator iter__(msg__);
1463 : uint64_t objId;
1464 :
1465 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1466 0 : FatalError("Error deserializing 'uint64_t'");
1467 0 : return MsgValueError;
1468 : }
1469 : // Sentinel = 'objId'
1470 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1471 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1472 0 : return MsgValueError;
1473 : }
1474 0 : (msg__).EndRead(iter__, (msg__).type());
1475 0 : PJavaScript::Transition(PJavaScript::Msg_DropObject__ID, (&(mState)));
1476 0 : if ((!(RecvDropObject(mozilla::Move(objId))))) {
1477 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1478 : // Error handled in mozilla::ipc::IPCResult
1479 0 : return MsgProcessingError;
1480 : }
1481 :
1482 0 : return MsgProcessed;
1483 : }
1484 : case PJavaScript::Reply___delete____ID:
1485 : {
1486 0 : return MsgProcessed;
1487 : }
1488 : case PJavaScript::Msg_DropTemporaryStrongReferences__ID:
1489 : {
1490 3 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1491 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1492 : }
1493 6 : AUTO_PROFILER_LABEL("PJavaScript::Msg_DropTemporaryStrongReferences", OTHER);
1494 :
1495 3 : PickleIterator iter__(msg__);
1496 : uint64_t upToObjId;
1497 :
1498 3 : if ((!(Read((&(upToObjId)), (&(msg__)), (&(iter__)))))) {
1499 0 : FatalError("Error deserializing 'uint64_t'");
1500 0 : return MsgValueError;
1501 : }
1502 : // Sentinel = 'upToObjId'
1503 3 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1095532117)))) {
1504 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1505 0 : return MsgValueError;
1506 : }
1507 3 : (msg__).EndRead(iter__, (msg__).type());
1508 3 : PJavaScript::Transition(PJavaScript::Msg_DropTemporaryStrongReferences__ID, (&(mState)));
1509 3 : if ((!(RecvDropTemporaryStrongReferences(mozilla::Move(upToObjId))))) {
1510 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1511 : // Error handled in mozilla::ipc::IPCResult
1512 0 : return MsgProcessingError;
1513 : }
1514 :
1515 3 : return MsgProcessed;
1516 : }
1517 : default:
1518 : {
1519 0 : return MsgNotKnown;
1520 : }
1521 : }
1522 : }
1523 :
1524 0 : auto PJavaScriptChild::OnMessageReceived(
1525 : const Message& msg__,
1526 : Message*& reply__) -> PJavaScriptChild::Result
1527 : {
1528 0 : switch ((msg__).type()) {
1529 : case PJavaScript::Msg_PreventExtensions__ID:
1530 : {
1531 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1532 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1533 : }
1534 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_PreventExtensions", OTHER);
1535 :
1536 0 : PickleIterator iter__(msg__);
1537 : uint64_t objId;
1538 :
1539 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1540 0 : FatalError("Error deserializing 'uint64_t'");
1541 0 : return MsgValueError;
1542 : }
1543 : // Sentinel = 'objId'
1544 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1545 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1546 0 : return MsgValueError;
1547 : }
1548 0 : (msg__).EndRead(iter__, (msg__).type());
1549 0 : PJavaScript::Transition(PJavaScript::Msg_PreventExtensions__ID, (&(mState)));
1550 0 : int32_t id__ = Id();
1551 0 : ReturnStatus rs;
1552 0 : if ((!(RecvPreventExtensions(mozilla::Move(objId), (&(rs)))))) {
1553 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1554 : // Error handled in mozilla::ipc::IPCResult
1555 0 : return MsgProcessingError;
1556 : }
1557 :
1558 0 : reply__ = PJavaScript::Reply_PreventExtensions(id__);
1559 :
1560 0 : Write(rs, reply__);
1561 : // Sentinel = 'rs'
1562 0 : (reply__)->WriteSentinel(702481063);
1563 0 : (reply__)->set_sync();
1564 0 : (reply__)->set_reply();
1565 :
1566 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1567 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
1568 : }
1569 0 : return MsgProcessed;
1570 : }
1571 : case PJavaScript::Msg_GetPropertyDescriptor__ID:
1572 : {
1573 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1574 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1575 : }
1576 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetPropertyDescriptor", OTHER);
1577 :
1578 0 : PickleIterator iter__(msg__);
1579 : uint64_t objId;
1580 0 : JSIDVariant id;
1581 :
1582 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1583 0 : FatalError("Error deserializing 'uint64_t'");
1584 0 : return MsgValueError;
1585 : }
1586 : // Sentinel = 'objId'
1587 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1588 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1589 0 : return MsgValueError;
1590 : }
1591 0 : if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
1592 0 : FatalError("Error deserializing 'JSIDVariant'");
1593 0 : return MsgValueError;
1594 : }
1595 : // Sentinel = 'id'
1596 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
1597 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant'");
1598 0 : return MsgValueError;
1599 : }
1600 0 : (msg__).EndRead(iter__, (msg__).type());
1601 0 : PJavaScript::Transition(PJavaScript::Msg_GetPropertyDescriptor__ID, (&(mState)));
1602 0 : int32_t id__ = Id();
1603 0 : ReturnStatus rs;
1604 0 : PPropertyDescriptor result;
1605 0 : if ((!(RecvGetPropertyDescriptor(mozilla::Move(objId), mozilla::Move(id), (&(rs)), (&(result)))))) {
1606 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1607 : // Error handled in mozilla::ipc::IPCResult
1608 0 : return MsgProcessingError;
1609 : }
1610 :
1611 0 : reply__ = PJavaScript::Reply_GetPropertyDescriptor(id__);
1612 :
1613 0 : Write(rs, reply__);
1614 : // Sentinel = 'rs'
1615 0 : (reply__)->WriteSentinel(702481063);
1616 0 : Write(result, reply__);
1617 : // Sentinel = 'result'
1618 0 : (reply__)->WriteSentinel(3991766165);
1619 0 : (reply__)->set_sync();
1620 0 : (reply__)->set_reply();
1621 :
1622 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1623 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
1624 : }
1625 0 : return MsgProcessed;
1626 : }
1627 : case PJavaScript::Msg_GetOwnPropertyDescriptor__ID:
1628 : {
1629 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1630 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1631 : }
1632 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetOwnPropertyDescriptor", OTHER);
1633 :
1634 0 : PickleIterator iter__(msg__);
1635 : uint64_t objId;
1636 0 : JSIDVariant id;
1637 :
1638 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1639 0 : FatalError("Error deserializing 'uint64_t'");
1640 0 : return MsgValueError;
1641 : }
1642 : // Sentinel = 'objId'
1643 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1644 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1645 0 : return MsgValueError;
1646 : }
1647 0 : if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
1648 0 : FatalError("Error deserializing 'JSIDVariant'");
1649 0 : return MsgValueError;
1650 : }
1651 : // Sentinel = 'id'
1652 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
1653 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant'");
1654 0 : return MsgValueError;
1655 : }
1656 0 : (msg__).EndRead(iter__, (msg__).type());
1657 0 : PJavaScript::Transition(PJavaScript::Msg_GetOwnPropertyDescriptor__ID, (&(mState)));
1658 0 : int32_t id__ = Id();
1659 0 : ReturnStatus rs;
1660 0 : PPropertyDescriptor result;
1661 0 : if ((!(RecvGetOwnPropertyDescriptor(mozilla::Move(objId), mozilla::Move(id), (&(rs)), (&(result)))))) {
1662 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1663 : // Error handled in mozilla::ipc::IPCResult
1664 0 : return MsgProcessingError;
1665 : }
1666 :
1667 0 : reply__ = PJavaScript::Reply_GetOwnPropertyDescriptor(id__);
1668 :
1669 0 : Write(rs, reply__);
1670 : // Sentinel = 'rs'
1671 0 : (reply__)->WriteSentinel(702481063);
1672 0 : Write(result, reply__);
1673 : // Sentinel = 'result'
1674 0 : (reply__)->WriteSentinel(3991766165);
1675 0 : (reply__)->set_sync();
1676 0 : (reply__)->set_reply();
1677 :
1678 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1679 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
1680 : }
1681 0 : return MsgProcessed;
1682 : }
1683 : case PJavaScript::Msg_DefineProperty__ID:
1684 : {
1685 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1686 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1687 : }
1688 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_DefineProperty", OTHER);
1689 :
1690 0 : PickleIterator iter__(msg__);
1691 : uint64_t objId;
1692 0 : JSIDVariant id;
1693 0 : PPropertyDescriptor descriptor;
1694 :
1695 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1696 0 : FatalError("Error deserializing 'uint64_t'");
1697 0 : return MsgValueError;
1698 : }
1699 : // Sentinel = 'objId'
1700 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1701 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1702 0 : return MsgValueError;
1703 : }
1704 0 : if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
1705 0 : FatalError("Error deserializing 'JSIDVariant'");
1706 0 : return MsgValueError;
1707 : }
1708 : // Sentinel = 'id'
1709 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
1710 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant'");
1711 0 : return MsgValueError;
1712 : }
1713 0 : if ((!(Read((&(descriptor)), (&(msg__)), (&(iter__)))))) {
1714 0 : FatalError("Error deserializing 'PPropertyDescriptor'");
1715 0 : return MsgValueError;
1716 : }
1717 : // Sentinel = 'descriptor'
1718 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2435877233)))) {
1719 0 : mozilla::ipc::SentinelReadError("Error deserializing 'PPropertyDescriptor'");
1720 0 : return MsgValueError;
1721 : }
1722 0 : (msg__).EndRead(iter__, (msg__).type());
1723 0 : PJavaScript::Transition(PJavaScript::Msg_DefineProperty__ID, (&(mState)));
1724 0 : int32_t id__ = Id();
1725 0 : ReturnStatus rs;
1726 0 : if ((!(RecvDefineProperty(mozilla::Move(objId), mozilla::Move(id), mozilla::Move(descriptor), (&(rs)))))) {
1727 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1728 : // Error handled in mozilla::ipc::IPCResult
1729 0 : return MsgProcessingError;
1730 : }
1731 :
1732 0 : reply__ = PJavaScript::Reply_DefineProperty(id__);
1733 :
1734 0 : Write(rs, reply__);
1735 : // Sentinel = 'rs'
1736 0 : (reply__)->WriteSentinel(702481063);
1737 0 : (reply__)->set_sync();
1738 0 : (reply__)->set_reply();
1739 :
1740 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1741 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
1742 : }
1743 0 : return MsgProcessed;
1744 : }
1745 : case PJavaScript::Msg_Delete__ID:
1746 : {
1747 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1748 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1749 : }
1750 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_Delete", OTHER);
1751 :
1752 0 : PickleIterator iter__(msg__);
1753 : uint64_t objId;
1754 0 : JSIDVariant id;
1755 :
1756 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1757 0 : FatalError("Error deserializing 'uint64_t'");
1758 0 : return MsgValueError;
1759 : }
1760 : // Sentinel = 'objId'
1761 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1762 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1763 0 : return MsgValueError;
1764 : }
1765 0 : if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
1766 0 : FatalError("Error deserializing 'JSIDVariant'");
1767 0 : return MsgValueError;
1768 : }
1769 : // Sentinel = 'id'
1770 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
1771 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant'");
1772 0 : return MsgValueError;
1773 : }
1774 0 : (msg__).EndRead(iter__, (msg__).type());
1775 0 : PJavaScript::Transition(PJavaScript::Msg_Delete__ID, (&(mState)));
1776 0 : int32_t id__ = Id();
1777 0 : ReturnStatus rs;
1778 0 : if ((!(RecvDelete(mozilla::Move(objId), mozilla::Move(id), (&(rs)))))) {
1779 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1780 : // Error handled in mozilla::ipc::IPCResult
1781 0 : return MsgProcessingError;
1782 : }
1783 :
1784 0 : reply__ = PJavaScript::Reply_Delete(id__);
1785 :
1786 0 : Write(rs, reply__);
1787 : // Sentinel = 'rs'
1788 0 : (reply__)->WriteSentinel(702481063);
1789 0 : (reply__)->set_sync();
1790 0 : (reply__)->set_reply();
1791 :
1792 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1793 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
1794 : }
1795 0 : return MsgProcessed;
1796 : }
1797 : case PJavaScript::Msg_Has__ID:
1798 : {
1799 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1800 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1801 : }
1802 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_Has", OTHER);
1803 :
1804 0 : PickleIterator iter__(msg__);
1805 : uint64_t objId;
1806 0 : JSIDVariant id;
1807 :
1808 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1809 0 : FatalError("Error deserializing 'uint64_t'");
1810 0 : return MsgValueError;
1811 : }
1812 : // Sentinel = 'objId'
1813 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1814 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1815 0 : return MsgValueError;
1816 : }
1817 0 : if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
1818 0 : FatalError("Error deserializing 'JSIDVariant'");
1819 0 : return MsgValueError;
1820 : }
1821 : // Sentinel = 'id'
1822 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
1823 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant'");
1824 0 : return MsgValueError;
1825 : }
1826 0 : (msg__).EndRead(iter__, (msg__).type());
1827 0 : PJavaScript::Transition(PJavaScript::Msg_Has__ID, (&(mState)));
1828 0 : int32_t id__ = Id();
1829 0 : ReturnStatus rs;
1830 : bool has;
1831 0 : if ((!(RecvHas(mozilla::Move(objId), mozilla::Move(id), (&(rs)), (&(has)))))) {
1832 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1833 : // Error handled in mozilla::ipc::IPCResult
1834 0 : return MsgProcessingError;
1835 : }
1836 :
1837 0 : reply__ = PJavaScript::Reply_Has(id__);
1838 :
1839 0 : Write(rs, reply__);
1840 : // Sentinel = 'rs'
1841 0 : (reply__)->WriteSentinel(702481063);
1842 0 : Write(has, reply__);
1843 : // Sentinel = 'has'
1844 0 : (reply__)->WriteSentinel(1255409211);
1845 0 : (reply__)->set_sync();
1846 0 : (reply__)->set_reply();
1847 :
1848 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1849 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
1850 : }
1851 0 : return MsgProcessed;
1852 : }
1853 : case PJavaScript::Msg_HasOwn__ID:
1854 : {
1855 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1856 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1857 : }
1858 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_HasOwn", OTHER);
1859 :
1860 0 : PickleIterator iter__(msg__);
1861 : uint64_t objId;
1862 0 : JSIDVariant id;
1863 :
1864 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1865 0 : FatalError("Error deserializing 'uint64_t'");
1866 0 : return MsgValueError;
1867 : }
1868 : // Sentinel = 'objId'
1869 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1870 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1871 0 : return MsgValueError;
1872 : }
1873 0 : if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
1874 0 : FatalError("Error deserializing 'JSIDVariant'");
1875 0 : return MsgValueError;
1876 : }
1877 : // Sentinel = 'id'
1878 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
1879 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant'");
1880 0 : return MsgValueError;
1881 : }
1882 0 : (msg__).EndRead(iter__, (msg__).type());
1883 0 : PJavaScript::Transition(PJavaScript::Msg_HasOwn__ID, (&(mState)));
1884 0 : int32_t id__ = Id();
1885 0 : ReturnStatus rs;
1886 : bool has;
1887 0 : if ((!(RecvHasOwn(mozilla::Move(objId), mozilla::Move(id), (&(rs)), (&(has)))))) {
1888 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1889 : // Error handled in mozilla::ipc::IPCResult
1890 0 : return MsgProcessingError;
1891 : }
1892 :
1893 0 : reply__ = PJavaScript::Reply_HasOwn(id__);
1894 :
1895 0 : Write(rs, reply__);
1896 : // Sentinel = 'rs'
1897 0 : (reply__)->WriteSentinel(702481063);
1898 0 : Write(has, reply__);
1899 : // Sentinel = 'has'
1900 0 : (reply__)->WriteSentinel(1255409211);
1901 0 : (reply__)->set_sync();
1902 0 : (reply__)->set_reply();
1903 :
1904 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1905 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
1906 : }
1907 0 : return MsgProcessed;
1908 : }
1909 : case PJavaScript::Msg_Get__ID:
1910 : {
1911 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1912 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1913 : }
1914 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_Get", OTHER);
1915 :
1916 0 : PickleIterator iter__(msg__);
1917 : uint64_t objId;
1918 0 : JSVariant receiver;
1919 0 : JSIDVariant id;
1920 :
1921 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1922 0 : FatalError("Error deserializing 'uint64_t'");
1923 0 : return MsgValueError;
1924 : }
1925 : // Sentinel = 'objId'
1926 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1927 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1928 0 : return MsgValueError;
1929 : }
1930 0 : if ((!(Read((&(receiver)), (&(msg__)), (&(iter__)))))) {
1931 0 : FatalError("Error deserializing 'JSVariant'");
1932 0 : return MsgValueError;
1933 : }
1934 : // Sentinel = 'receiver'
1935 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2352325879)))) {
1936 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSVariant'");
1937 0 : return MsgValueError;
1938 : }
1939 0 : if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
1940 0 : FatalError("Error deserializing 'JSIDVariant'");
1941 0 : return MsgValueError;
1942 : }
1943 : // Sentinel = 'id'
1944 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
1945 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant'");
1946 0 : return MsgValueError;
1947 : }
1948 0 : (msg__).EndRead(iter__, (msg__).type());
1949 0 : PJavaScript::Transition(PJavaScript::Msg_Get__ID, (&(mState)));
1950 0 : int32_t id__ = Id();
1951 0 : ReturnStatus rs;
1952 0 : JSVariant result;
1953 0 : if ((!(RecvGet(mozilla::Move(objId), mozilla::Move(receiver), mozilla::Move(id), (&(rs)), (&(result)))))) {
1954 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
1955 : // Error handled in mozilla::ipc::IPCResult
1956 0 : return MsgProcessingError;
1957 : }
1958 :
1959 0 : reply__ = PJavaScript::Reply_Get(id__);
1960 :
1961 0 : Write(rs, reply__);
1962 : // Sentinel = 'rs'
1963 0 : (reply__)->WriteSentinel(702481063);
1964 0 : Write(result, reply__);
1965 : // Sentinel = 'result'
1966 0 : (reply__)->WriteSentinel(3991766165);
1967 0 : (reply__)->set_sync();
1968 0 : (reply__)->set_reply();
1969 :
1970 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1971 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
1972 : }
1973 0 : return MsgProcessed;
1974 : }
1975 : case PJavaScript::Msg_Set__ID:
1976 : {
1977 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
1978 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
1979 : }
1980 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_Set", OTHER);
1981 :
1982 0 : PickleIterator iter__(msg__);
1983 : uint64_t objId;
1984 0 : JSIDVariant id;
1985 0 : JSVariant value;
1986 0 : JSVariant receiver;
1987 :
1988 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
1989 0 : FatalError("Error deserializing 'uint64_t'");
1990 0 : return MsgValueError;
1991 : }
1992 : // Sentinel = 'objId'
1993 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
1994 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
1995 0 : return MsgValueError;
1996 : }
1997 0 : if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
1998 0 : FatalError("Error deserializing 'JSIDVariant'");
1999 0 : return MsgValueError;
2000 : }
2001 : // Sentinel = 'id'
2002 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
2003 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant'");
2004 0 : return MsgValueError;
2005 : }
2006 0 : if ((!(Read((&(value)), (&(msg__)), (&(iter__)))))) {
2007 0 : FatalError("Error deserializing 'JSVariant'");
2008 0 : return MsgValueError;
2009 : }
2010 : // Sentinel = 'value'
2011 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3456818542)))) {
2012 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSVariant'");
2013 0 : return MsgValueError;
2014 : }
2015 0 : if ((!(Read((&(receiver)), (&(msg__)), (&(iter__)))))) {
2016 0 : FatalError("Error deserializing 'JSVariant'");
2017 0 : return MsgValueError;
2018 : }
2019 : // Sentinel = 'receiver'
2020 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2352325879)))) {
2021 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSVariant'");
2022 0 : return MsgValueError;
2023 : }
2024 0 : (msg__).EndRead(iter__, (msg__).type());
2025 0 : PJavaScript::Transition(PJavaScript::Msg_Set__ID, (&(mState)));
2026 0 : int32_t id__ = Id();
2027 0 : ReturnStatus rs;
2028 0 : if ((!(RecvSet(mozilla::Move(objId), mozilla::Move(id), mozilla::Move(value), mozilla::Move(receiver), (&(rs)))))) {
2029 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2030 : // Error handled in mozilla::ipc::IPCResult
2031 0 : return MsgProcessingError;
2032 : }
2033 :
2034 0 : reply__ = PJavaScript::Reply_Set(id__);
2035 :
2036 0 : Write(rs, reply__);
2037 : // Sentinel = 'rs'
2038 0 : (reply__)->WriteSentinel(702481063);
2039 0 : (reply__)->set_sync();
2040 0 : (reply__)->set_reply();
2041 :
2042 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2043 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2044 : }
2045 0 : return MsgProcessed;
2046 : }
2047 : case PJavaScript::Msg_IsExtensible__ID:
2048 : {
2049 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2050 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2051 : }
2052 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_IsExtensible", OTHER);
2053 :
2054 0 : PickleIterator iter__(msg__);
2055 : uint64_t objId;
2056 :
2057 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2058 0 : FatalError("Error deserializing 'uint64_t'");
2059 0 : return MsgValueError;
2060 : }
2061 : // Sentinel = 'objId'
2062 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2063 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2064 0 : return MsgValueError;
2065 : }
2066 0 : (msg__).EndRead(iter__, (msg__).type());
2067 0 : PJavaScript::Transition(PJavaScript::Msg_IsExtensible__ID, (&(mState)));
2068 0 : int32_t id__ = Id();
2069 0 : ReturnStatus rs;
2070 : bool result;
2071 0 : if ((!(RecvIsExtensible(mozilla::Move(objId), (&(rs)), (&(result)))))) {
2072 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2073 : // Error handled in mozilla::ipc::IPCResult
2074 0 : return MsgProcessingError;
2075 : }
2076 :
2077 0 : reply__ = PJavaScript::Reply_IsExtensible(id__);
2078 :
2079 0 : Write(rs, reply__);
2080 : // Sentinel = 'rs'
2081 0 : (reply__)->WriteSentinel(702481063);
2082 0 : Write(result, reply__);
2083 : // Sentinel = 'result'
2084 0 : (reply__)->WriteSentinel(3991766165);
2085 0 : (reply__)->set_sync();
2086 0 : (reply__)->set_reply();
2087 :
2088 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2089 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2090 : }
2091 0 : return MsgProcessed;
2092 : }
2093 : case PJavaScript::Msg_CallOrConstruct__ID:
2094 : {
2095 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2096 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2097 : }
2098 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_CallOrConstruct", OTHER);
2099 :
2100 0 : PickleIterator iter__(msg__);
2101 : uint64_t objId;
2102 0 : nsTArray<JSParam> argv;
2103 : bool construct;
2104 :
2105 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2106 0 : FatalError("Error deserializing 'uint64_t'");
2107 0 : return MsgValueError;
2108 : }
2109 : // Sentinel = 'objId'
2110 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2111 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2112 0 : return MsgValueError;
2113 : }
2114 0 : if ((!(Read((&(argv)), (&(msg__)), (&(iter__)))))) {
2115 0 : FatalError("Error deserializing 'nsTArray'");
2116 0 : return MsgValueError;
2117 : }
2118 : // Sentinel = 'argv'
2119 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2823760590)))) {
2120 0 : mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
2121 0 : return MsgValueError;
2122 : }
2123 0 : if ((!(Read((&(construct)), (&(msg__)), (&(iter__)))))) {
2124 0 : FatalError("Error deserializing 'bool'");
2125 0 : return MsgValueError;
2126 : }
2127 : // Sentinel = 'construct'
2128 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1907020590)))) {
2129 0 : mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
2130 0 : return MsgValueError;
2131 : }
2132 0 : (msg__).EndRead(iter__, (msg__).type());
2133 0 : PJavaScript::Transition(PJavaScript::Msg_CallOrConstruct__ID, (&(mState)));
2134 0 : int32_t id__ = Id();
2135 0 : ReturnStatus rs;
2136 0 : JSVariant result;
2137 0 : nsTArray<JSParam> outparams;
2138 0 : if ((!(RecvCallOrConstruct(mozilla::Move(objId), mozilla::Move(argv), mozilla::Move(construct), (&(rs)), (&(result)), (&(outparams)))))) {
2139 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2140 : // Error handled in mozilla::ipc::IPCResult
2141 0 : return MsgProcessingError;
2142 : }
2143 :
2144 0 : reply__ = PJavaScript::Reply_CallOrConstruct(id__);
2145 :
2146 0 : Write(rs, reply__);
2147 : // Sentinel = 'rs'
2148 0 : (reply__)->WriteSentinel(702481063);
2149 0 : Write(result, reply__);
2150 : // Sentinel = 'result'
2151 0 : (reply__)->WriteSentinel(3991766165);
2152 0 : Write(outparams, reply__);
2153 : // Sentinel = 'outparams'
2154 0 : (reply__)->WriteSentinel(1380950303);
2155 0 : (reply__)->set_sync();
2156 0 : (reply__)->set_reply();
2157 :
2158 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2159 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2160 : }
2161 0 : return MsgProcessed;
2162 : }
2163 : case PJavaScript::Msg_HasInstance__ID:
2164 : {
2165 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2166 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2167 : }
2168 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_HasInstance", OTHER);
2169 :
2170 0 : PickleIterator iter__(msg__);
2171 : uint64_t objId;
2172 0 : JSVariant v;
2173 :
2174 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2175 0 : FatalError("Error deserializing 'uint64_t'");
2176 0 : return MsgValueError;
2177 : }
2178 : // Sentinel = 'objId'
2179 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2180 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2181 0 : return MsgValueError;
2182 : }
2183 0 : if ((!(Read((&(v)), (&(msg__)), (&(iter__)))))) {
2184 0 : FatalError("Error deserializing 'JSVariant'");
2185 0 : return MsgValueError;
2186 : }
2187 : // Sentinel = 'v'
2188 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2219143543)))) {
2189 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSVariant'");
2190 0 : return MsgValueError;
2191 : }
2192 0 : (msg__).EndRead(iter__, (msg__).type());
2193 0 : PJavaScript::Transition(PJavaScript::Msg_HasInstance__ID, (&(mState)));
2194 0 : int32_t id__ = Id();
2195 0 : ReturnStatus rs;
2196 : bool has;
2197 0 : if ((!(RecvHasInstance(mozilla::Move(objId), mozilla::Move(v), (&(rs)), (&(has)))))) {
2198 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2199 : // Error handled in mozilla::ipc::IPCResult
2200 0 : return MsgProcessingError;
2201 : }
2202 :
2203 0 : reply__ = PJavaScript::Reply_HasInstance(id__);
2204 :
2205 0 : Write(rs, reply__);
2206 : // Sentinel = 'rs'
2207 0 : (reply__)->WriteSentinel(702481063);
2208 0 : Write(has, reply__);
2209 : // Sentinel = 'has'
2210 0 : (reply__)->WriteSentinel(1255409211);
2211 0 : (reply__)->set_sync();
2212 0 : (reply__)->set_reply();
2213 :
2214 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2215 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2216 : }
2217 0 : return MsgProcessed;
2218 : }
2219 : case PJavaScript::Msg_GetBuiltinClass__ID:
2220 : {
2221 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2222 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2223 : }
2224 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetBuiltinClass", OTHER);
2225 :
2226 0 : PickleIterator iter__(msg__);
2227 : uint64_t objId;
2228 :
2229 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2230 0 : FatalError("Error deserializing 'uint64_t'");
2231 0 : return MsgValueError;
2232 : }
2233 : // Sentinel = 'objId'
2234 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2235 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2236 0 : return MsgValueError;
2237 : }
2238 0 : (msg__).EndRead(iter__, (msg__).type());
2239 0 : PJavaScript::Transition(PJavaScript::Msg_GetBuiltinClass__ID, (&(mState)));
2240 0 : int32_t id__ = Id();
2241 0 : ReturnStatus rs;
2242 : uint32_t classValue;
2243 0 : if ((!(RecvGetBuiltinClass(mozilla::Move(objId), (&(rs)), (&(classValue)))))) {
2244 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2245 : // Error handled in mozilla::ipc::IPCResult
2246 0 : return MsgProcessingError;
2247 : }
2248 :
2249 0 : reply__ = PJavaScript::Reply_GetBuiltinClass(id__);
2250 :
2251 0 : Write(rs, reply__);
2252 : // Sentinel = 'rs'
2253 0 : (reply__)->WriteSentinel(702481063);
2254 0 : Write(classValue, reply__);
2255 : // Sentinel = 'classValue'
2256 0 : (reply__)->WriteSentinel(2941051785);
2257 0 : (reply__)->set_sync();
2258 0 : (reply__)->set_reply();
2259 :
2260 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2261 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2262 : }
2263 0 : return MsgProcessed;
2264 : }
2265 : case PJavaScript::Msg_IsArray__ID:
2266 : {
2267 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2268 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2269 : }
2270 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_IsArray", OTHER);
2271 :
2272 0 : PickleIterator iter__(msg__);
2273 : uint64_t objId;
2274 :
2275 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2276 0 : FatalError("Error deserializing 'uint64_t'");
2277 0 : return MsgValueError;
2278 : }
2279 : // Sentinel = 'objId'
2280 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2281 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2282 0 : return MsgValueError;
2283 : }
2284 0 : (msg__).EndRead(iter__, (msg__).type());
2285 0 : PJavaScript::Transition(PJavaScript::Msg_IsArray__ID, (&(mState)));
2286 0 : int32_t id__ = Id();
2287 0 : ReturnStatus rs;
2288 : uint32_t ans;
2289 0 : if ((!(RecvIsArray(mozilla::Move(objId), (&(rs)), (&(ans)))))) {
2290 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2291 : // Error handled in mozilla::ipc::IPCResult
2292 0 : return MsgProcessingError;
2293 : }
2294 :
2295 0 : reply__ = PJavaScript::Reply_IsArray(id__);
2296 :
2297 0 : Write(rs, reply__);
2298 : // Sentinel = 'rs'
2299 0 : (reply__)->WriteSentinel(702481063);
2300 0 : Write(ans, reply__);
2301 : // Sentinel = 'ans'
2302 0 : (reply__)->WriteSentinel(2706041751);
2303 0 : (reply__)->set_sync();
2304 0 : (reply__)->set_reply();
2305 :
2306 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2307 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2308 : }
2309 0 : return MsgProcessed;
2310 : }
2311 : case PJavaScript::Msg_ClassName__ID:
2312 : {
2313 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2314 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2315 : }
2316 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_ClassName", OTHER);
2317 :
2318 0 : PickleIterator iter__(msg__);
2319 : uint64_t objId;
2320 :
2321 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2322 0 : FatalError("Error deserializing 'uint64_t'");
2323 0 : return MsgValueError;
2324 : }
2325 : // Sentinel = 'objId'
2326 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2327 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2328 0 : return MsgValueError;
2329 : }
2330 0 : (msg__).EndRead(iter__, (msg__).type());
2331 0 : PJavaScript::Transition(PJavaScript::Msg_ClassName__ID, (&(mState)));
2332 0 : int32_t id__ = Id();
2333 0 : nsCString name;
2334 0 : if ((!(RecvClassName(mozilla::Move(objId), (&(name)))))) {
2335 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2336 : // Error handled in mozilla::ipc::IPCResult
2337 0 : return MsgProcessingError;
2338 : }
2339 :
2340 0 : reply__ = PJavaScript::Reply_ClassName(id__);
2341 :
2342 0 : Write(name, reply__);
2343 : // Sentinel = 'name'
2344 0 : (reply__)->WriteSentinel(15034981);
2345 0 : (reply__)->set_sync();
2346 0 : (reply__)->set_reply();
2347 :
2348 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2349 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2350 : }
2351 0 : return MsgProcessed;
2352 : }
2353 : case PJavaScript::Msg_GetPrototype__ID:
2354 : {
2355 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2356 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2357 : }
2358 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetPrototype", OTHER);
2359 :
2360 0 : PickleIterator iter__(msg__);
2361 : uint64_t objId;
2362 :
2363 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2364 0 : FatalError("Error deserializing 'uint64_t'");
2365 0 : return MsgValueError;
2366 : }
2367 : // Sentinel = 'objId'
2368 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2369 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2370 0 : return MsgValueError;
2371 : }
2372 0 : (msg__).EndRead(iter__, (msg__).type());
2373 0 : PJavaScript::Transition(PJavaScript::Msg_GetPrototype__ID, (&(mState)));
2374 0 : int32_t id__ = Id();
2375 0 : ReturnStatus rs;
2376 0 : ObjectOrNullVariant result;
2377 0 : if ((!(RecvGetPrototype(mozilla::Move(objId), (&(rs)), (&(result)))))) {
2378 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2379 : // Error handled in mozilla::ipc::IPCResult
2380 0 : return MsgProcessingError;
2381 : }
2382 :
2383 0 : reply__ = PJavaScript::Reply_GetPrototype(id__);
2384 :
2385 0 : Write(rs, reply__);
2386 : // Sentinel = 'rs'
2387 0 : (reply__)->WriteSentinel(702481063);
2388 0 : Write(result, reply__);
2389 : // Sentinel = 'result'
2390 0 : (reply__)->WriteSentinel(3991766165);
2391 0 : (reply__)->set_sync();
2392 0 : (reply__)->set_reply();
2393 :
2394 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2395 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2396 : }
2397 0 : return MsgProcessed;
2398 : }
2399 : case PJavaScript::Msg_GetPrototypeIfOrdinary__ID:
2400 : {
2401 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2402 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2403 : }
2404 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetPrototypeIfOrdinary", OTHER);
2405 :
2406 0 : PickleIterator iter__(msg__);
2407 : uint64_t objId;
2408 :
2409 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2410 0 : FatalError("Error deserializing 'uint64_t'");
2411 0 : return MsgValueError;
2412 : }
2413 : // Sentinel = 'objId'
2414 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2415 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2416 0 : return MsgValueError;
2417 : }
2418 0 : (msg__).EndRead(iter__, (msg__).type());
2419 0 : PJavaScript::Transition(PJavaScript::Msg_GetPrototypeIfOrdinary__ID, (&(mState)));
2420 0 : int32_t id__ = Id();
2421 0 : ReturnStatus rs;
2422 : bool isOrdinary;
2423 0 : ObjectOrNullVariant result;
2424 0 : if ((!(RecvGetPrototypeIfOrdinary(mozilla::Move(objId), (&(rs)), (&(isOrdinary)), (&(result)))))) {
2425 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2426 : // Error handled in mozilla::ipc::IPCResult
2427 0 : return MsgProcessingError;
2428 : }
2429 :
2430 0 : reply__ = PJavaScript::Reply_GetPrototypeIfOrdinary(id__);
2431 :
2432 0 : Write(rs, reply__);
2433 : // Sentinel = 'rs'
2434 0 : (reply__)->WriteSentinel(702481063);
2435 0 : Write(isOrdinary, reply__);
2436 : // Sentinel = 'isOrdinary'
2437 0 : (reply__)->WriteSentinel(3108664816);
2438 0 : Write(result, reply__);
2439 : // Sentinel = 'result'
2440 0 : (reply__)->WriteSentinel(3991766165);
2441 0 : (reply__)->set_sync();
2442 0 : (reply__)->set_reply();
2443 :
2444 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2445 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2446 : }
2447 0 : return MsgProcessed;
2448 : }
2449 : case PJavaScript::Msg_RegExpToShared__ID:
2450 : {
2451 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2452 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2453 : }
2454 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_RegExpToShared", OTHER);
2455 :
2456 0 : PickleIterator iter__(msg__);
2457 : uint64_t objId;
2458 :
2459 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2460 0 : FatalError("Error deserializing 'uint64_t'");
2461 0 : return MsgValueError;
2462 : }
2463 : // Sentinel = 'objId'
2464 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2465 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2466 0 : return MsgValueError;
2467 : }
2468 0 : (msg__).EndRead(iter__, (msg__).type());
2469 0 : PJavaScript::Transition(PJavaScript::Msg_RegExpToShared__ID, (&(mState)));
2470 0 : int32_t id__ = Id();
2471 0 : ReturnStatus rs;
2472 0 : nsString source;
2473 : uint32_t flags;
2474 0 : if ((!(RecvRegExpToShared(mozilla::Move(objId), (&(rs)), (&(source)), (&(flags)))))) {
2475 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2476 : // Error handled in mozilla::ipc::IPCResult
2477 0 : return MsgProcessingError;
2478 : }
2479 :
2480 0 : reply__ = PJavaScript::Reply_RegExpToShared(id__);
2481 :
2482 0 : Write(rs, reply__);
2483 : // Sentinel = 'rs'
2484 0 : (reply__)->WriteSentinel(702481063);
2485 0 : Write(source, reply__);
2486 : // Sentinel = 'source'
2487 0 : (reply__)->WriteSentinel(774264369);
2488 0 : Write(flags, reply__);
2489 : // Sentinel = 'flags'
2490 0 : (reply__)->WriteSentinel(2550519284);
2491 0 : (reply__)->set_sync();
2492 0 : (reply__)->set_reply();
2493 :
2494 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2495 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2496 : }
2497 0 : return MsgProcessed;
2498 : }
2499 : case PJavaScript::Msg_GetPropertyKeys__ID:
2500 : {
2501 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2502 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2503 : }
2504 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_GetPropertyKeys", OTHER);
2505 :
2506 0 : PickleIterator iter__(msg__);
2507 : uint64_t objId;
2508 : uint32_t flags;
2509 :
2510 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2511 0 : FatalError("Error deserializing 'uint64_t'");
2512 0 : return MsgValueError;
2513 : }
2514 : // Sentinel = 'objId'
2515 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2516 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2517 0 : return MsgValueError;
2518 : }
2519 0 : if ((!(Read((&(flags)), (&(msg__)), (&(iter__)))))) {
2520 0 : FatalError("Error deserializing 'uint32_t'");
2521 0 : return MsgValueError;
2522 : }
2523 : // Sentinel = 'flags'
2524 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2550519284)))) {
2525 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
2526 0 : return MsgValueError;
2527 : }
2528 0 : (msg__).EndRead(iter__, (msg__).type());
2529 0 : PJavaScript::Transition(PJavaScript::Msg_GetPropertyKeys__ID, (&(mState)));
2530 0 : int32_t id__ = Id();
2531 0 : ReturnStatus rs;
2532 0 : nsTArray<JSIDVariant> ids;
2533 0 : if ((!(RecvGetPropertyKeys(mozilla::Move(objId), mozilla::Move(flags), (&(rs)), (&(ids)))))) {
2534 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2535 : // Error handled in mozilla::ipc::IPCResult
2536 0 : return MsgProcessingError;
2537 : }
2538 :
2539 0 : reply__ = PJavaScript::Reply_GetPropertyKeys(id__);
2540 :
2541 0 : Write(rs, reply__);
2542 : // Sentinel = 'rs'
2543 0 : (reply__)->WriteSentinel(702481063);
2544 0 : Write(ids, reply__);
2545 : // Sentinel = 'ids'
2546 0 : (reply__)->WriteSentinel(2133309165);
2547 0 : (reply__)->set_sync();
2548 0 : (reply__)->set_reply();
2549 :
2550 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2551 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2552 : }
2553 0 : return MsgProcessed;
2554 : }
2555 : case PJavaScript::Msg_InstanceOf__ID:
2556 : {
2557 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2558 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2559 : }
2560 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_InstanceOf", OTHER);
2561 :
2562 0 : PickleIterator iter__(msg__);
2563 : uint64_t objId;
2564 0 : JSIID iid;
2565 :
2566 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2567 0 : FatalError("Error deserializing 'uint64_t'");
2568 0 : return MsgValueError;
2569 : }
2570 : // Sentinel = 'objId'
2571 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2572 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2573 0 : return MsgValueError;
2574 : }
2575 0 : if ((!(Read((&(iid)), (&(msg__)), (&(iter__)))))) {
2576 0 : FatalError("Error deserializing 'JSIID'");
2577 0 : return MsgValueError;
2578 : }
2579 : // Sentinel = 'iid'
2580 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2120309073)))) {
2581 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIID'");
2582 0 : return MsgValueError;
2583 : }
2584 0 : (msg__).EndRead(iter__, (msg__).type());
2585 0 : PJavaScript::Transition(PJavaScript::Msg_InstanceOf__ID, (&(mState)));
2586 0 : int32_t id__ = Id();
2587 0 : ReturnStatus rs;
2588 : bool instanceof;
2589 0 : if ((!(RecvInstanceOf(mozilla::Move(objId), mozilla::Move(iid), (&(rs)), (&(instanceof)))))) {
2590 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2591 : // Error handled in mozilla::ipc::IPCResult
2592 0 : return MsgProcessingError;
2593 : }
2594 :
2595 0 : reply__ = PJavaScript::Reply_InstanceOf(id__);
2596 :
2597 0 : Write(rs, reply__);
2598 : // Sentinel = 'rs'
2599 0 : (reply__)->WriteSentinel(702481063);
2600 0 : Write(instanceof, reply__);
2601 : // Sentinel = 'instanceof'
2602 0 : (reply__)->WriteSentinel(3780461152);
2603 0 : (reply__)->set_sync();
2604 0 : (reply__)->set_reply();
2605 :
2606 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2607 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2608 : }
2609 0 : return MsgProcessed;
2610 : }
2611 : case PJavaScript::Msg_DOMInstanceOf__ID:
2612 : {
2613 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2614 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
2615 : }
2616 0 : AUTO_PROFILER_LABEL("PJavaScript::Msg_DOMInstanceOf", OTHER);
2617 :
2618 0 : PickleIterator iter__(msg__);
2619 : uint64_t objId;
2620 : int prototypeID;
2621 : int depth;
2622 :
2623 0 : if ((!(Read((&(objId)), (&(msg__)), (&(iter__)))))) {
2624 0 : FatalError("Error deserializing 'uint64_t'");
2625 0 : return MsgValueError;
2626 : }
2627 : // Sentinel = 'objId'
2628 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 89635797)))) {
2629 0 : mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
2630 0 : return MsgValueError;
2631 : }
2632 0 : if ((!(Read((&(prototypeID)), (&(msg__)), (&(iter__)))))) {
2633 0 : FatalError("Error deserializing 'int'");
2634 0 : return MsgValueError;
2635 : }
2636 : // Sentinel = 'prototypeID'
2637 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1277533842)))) {
2638 0 : mozilla::ipc::SentinelReadError("Error deserializing 'int'");
2639 0 : return MsgValueError;
2640 : }
2641 0 : if ((!(Read((&(depth)), (&(msg__)), (&(iter__)))))) {
2642 0 : FatalError("Error deserializing 'int'");
2643 0 : return MsgValueError;
2644 : }
2645 : // Sentinel = 'depth'
2646 0 : if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1427290098)))) {
2647 0 : mozilla::ipc::SentinelReadError("Error deserializing 'int'");
2648 0 : return MsgValueError;
2649 : }
2650 0 : (msg__).EndRead(iter__, (msg__).type());
2651 0 : PJavaScript::Transition(PJavaScript::Msg_DOMInstanceOf__ID, (&(mState)));
2652 0 : int32_t id__ = Id();
2653 0 : ReturnStatus rs;
2654 : bool instanceof;
2655 0 : if ((!(RecvDOMInstanceOf(mozilla::Move(objId), mozilla::Move(prototypeID), mozilla::Move(depth), (&(rs)), (&(instanceof)))))) {
2656 0 : mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
2657 : // Error handled in mozilla::ipc::IPCResult
2658 0 : return MsgProcessingError;
2659 : }
2660 :
2661 0 : reply__ = PJavaScript::Reply_DOMInstanceOf(id__);
2662 :
2663 0 : Write(rs, reply__);
2664 : // Sentinel = 'rs'
2665 0 : (reply__)->WriteSentinel(702481063);
2666 0 : Write(instanceof, reply__);
2667 : // Sentinel = 'instanceof'
2668 0 : (reply__)->WriteSentinel(3780461152);
2669 0 : (reply__)->set_sync();
2670 0 : (reply__)->set_reply();
2671 :
2672 0 : if (mozilla::ipc::LoggingEnabledFor("PJavaScriptChild")) {
2673 0 : mozilla::ipc::LogMessageForProtocol("PJavaScriptChild", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
2674 : }
2675 0 : return MsgProcessed;
2676 : }
2677 : default:
2678 : {
2679 0 : return MsgNotKnown;
2680 : }
2681 : }
2682 : }
2683 :
2684 0 : auto PJavaScriptChild::OnCallReceived(
2685 : const Message& msg__,
2686 : Message*& reply__) -> PJavaScriptChild::Result
2687 : {
2688 0 : MOZ_ASSERT_UNREACHABLE("message protocol not supported");
2689 : return MsgNotKnown;
2690 : }
2691 :
2692 0 : auto PJavaScriptChild::GetProtocolTypeId() -> int32_t
2693 : {
2694 0 : return PJavaScriptMsgStart;
2695 : }
2696 :
2697 0 : auto PJavaScriptChild::ProtocolName() const -> const char*
2698 : {
2699 0 : return "PJavaScriptChild";
2700 : }
2701 :
2702 0 : auto PJavaScriptChild::DestroySubtree(ActorDestroyReason why) -> void
2703 : {
2704 : // Unregister from our manager.
2705 0 : Unregister(Id());
2706 :
2707 : // Reject owning pending promises.
2708 0 : (GetIPCChannel())->RejectPendingPromisesForActor(this);
2709 :
2710 : // Finally, destroy "us".
2711 0 : ActorDestroy(why);
2712 0 : }
2713 :
2714 0 : auto PJavaScriptChild::DeallocSubtree() -> void
2715 : {
2716 0 : }
2717 :
2718 0 : auto PJavaScriptChild::Write(
2719 : const PPropertyDescriptor& v__,
2720 : Message* msg__) -> void
2721 : {
2722 0 : Write((v__).obj(), msg__);
2723 : // Sentinel = 'obj'
2724 0 : (msg__)->WriteSentinel(4045743844);
2725 0 : Write((v__).attrs(), msg__);
2726 : // Sentinel = 'attrs'
2727 0 : (msg__)->WriteSentinel(3014987797);
2728 0 : Write((v__).value(), msg__);
2729 : // Sentinel = 'value'
2730 0 : (msg__)->WriteSentinel(3456818542);
2731 0 : Write((v__).getter(), msg__);
2732 : // Sentinel = 'getter'
2733 0 : (msg__)->WriteSentinel(1833087827);
2734 0 : Write((v__).setter(), msg__);
2735 : // Sentinel = 'setter'
2736 0 : (msg__)->WriteSentinel(1658215455);
2737 0 : }
2738 :
2739 0 : auto PJavaScriptChild::Read(
2740 : PPropertyDescriptor* v__,
2741 : const Message* msg__,
2742 : PickleIterator* iter__) -> bool
2743 : {
2744 0 : if ((!(Read((&((v__)->obj())), msg__, iter__)))) {
2745 0 : FatalError("Error deserializing 'obj' (ObjectOrNullVariant) member of 'PPropertyDescriptor'");
2746 0 : return false;
2747 : }
2748 : // Sentinel = 'obj'
2749 0 : if ((!((msg__)->ReadSentinel(iter__, 4045743844)))) {
2750 0 : mozilla::ipc::SentinelReadError("Error deserializing 'obj' (ObjectOrNullVariant) member of 'PPropertyDescriptor'");
2751 0 : return false;
2752 : }
2753 0 : if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
2754 0 : FatalError("Error deserializing 'attrs' (uint32_t) member of 'PPropertyDescriptor'");
2755 0 : return false;
2756 : }
2757 : // Sentinel = 'attrs'
2758 0 : if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
2759 0 : mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (uint32_t) member of 'PPropertyDescriptor'");
2760 0 : return false;
2761 : }
2762 0 : if ((!(Read((&((v__)->value())), msg__, iter__)))) {
2763 0 : FatalError("Error deserializing 'value' (JSVariant) member of 'PPropertyDescriptor'");
2764 0 : return false;
2765 : }
2766 : // Sentinel = 'value'
2767 0 : if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
2768 0 : mozilla::ipc::SentinelReadError("Error deserializing 'value' (JSVariant) member of 'PPropertyDescriptor'");
2769 0 : return false;
2770 : }
2771 0 : if ((!(Read((&((v__)->getter())), msg__, iter__)))) {
2772 0 : FatalError("Error deserializing 'getter' (GetterSetter) member of 'PPropertyDescriptor'");
2773 0 : return false;
2774 : }
2775 : // Sentinel = 'getter'
2776 0 : if ((!((msg__)->ReadSentinel(iter__, 1833087827)))) {
2777 0 : mozilla::ipc::SentinelReadError("Error deserializing 'getter' (GetterSetter) member of 'PPropertyDescriptor'");
2778 0 : return false;
2779 : }
2780 0 : if ((!(Read((&((v__)->setter())), msg__, iter__)))) {
2781 0 : FatalError("Error deserializing 'setter' (GetterSetter) member of 'PPropertyDescriptor'");
2782 0 : return false;
2783 : }
2784 : // Sentinel = 'setter'
2785 0 : if ((!((msg__)->ReadSentinel(iter__, 1658215455)))) {
2786 0 : mozilla::ipc::SentinelReadError("Error deserializing 'setter' (GetterSetter) member of 'PPropertyDescriptor'");
2787 0 : return false;
2788 : }
2789 0 : return true;
2790 : }
2791 :
2792 0 : auto PJavaScriptChild::Write(
2793 : const ObjectOrNullVariant& v__,
2794 : Message* msg__) -> void
2795 : {
2796 : typedef ObjectOrNullVariant type__;
2797 0 : Write(int((v__).type()), msg__);
2798 : // Sentinel = 'ObjectOrNullVariant'
2799 0 : (msg__)->WriteSentinel(3684900147);
2800 :
2801 0 : switch ((v__).type()) {
2802 : case type__::TObjectVariant:
2803 : {
2804 0 : Write((v__).get_ObjectVariant(), msg__);
2805 : // Sentinel = 'TObjectVariant'
2806 0 : (msg__)->WriteSentinel(78811130);
2807 0 : return;
2808 : }
2809 : case type__::TNullVariant:
2810 : {
2811 0 : Write((v__).get_NullVariant(), msg__);
2812 : // Sentinel = 'TNullVariant'
2813 0 : (msg__)->WriteSentinel(3606183426);
2814 0 : return;
2815 : }
2816 : default:
2817 : {
2818 0 : FatalError("unknown union type");
2819 0 : return;
2820 : }
2821 : }
2822 : }
2823 :
2824 0 : auto PJavaScriptChild::Read(
2825 : ObjectOrNullVariant* v__,
2826 : const Message* msg__,
2827 : PickleIterator* iter__) -> bool
2828 : {
2829 : typedef ObjectOrNullVariant type__;
2830 : int type;
2831 0 : if ((!(Read((&(type)), msg__, iter__)))) {
2832 0 : mozilla::ipc::UnionTypeReadError("ObjectOrNullVariant");
2833 0 : return false;
2834 : }
2835 : // Sentinel = 'ObjectOrNullVariant'
2836 0 : if ((!((msg__)->ReadSentinel(iter__, 3684900147)))) {
2837 0 : mozilla::ipc::SentinelReadError("ObjectOrNullVariant");
2838 0 : return false;
2839 : }
2840 :
2841 0 : switch (type) {
2842 : case type__::TObjectVariant:
2843 : {
2844 0 : ObjectVariant tmp = ObjectVariant();
2845 0 : (*(v__)) = tmp;
2846 0 : if ((!(Read((&((v__)->get_ObjectVariant())), msg__, iter__)))) {
2847 0 : FatalError("Error deserializing Union type");
2848 0 : return false;
2849 : }
2850 : // Sentinel = 'TObjectVariant'
2851 0 : if ((!((msg__)->ReadSentinel(iter__, 78811130)))) {
2852 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
2853 0 : return false;
2854 : }
2855 0 : return true;
2856 : }
2857 : case type__::TNullVariant:
2858 : {
2859 0 : NullVariant tmp = NullVariant();
2860 0 : (*(v__)) = tmp;
2861 0 : if ((!(Read((&((v__)->get_NullVariant())), msg__, iter__)))) {
2862 0 : FatalError("Error deserializing Union type");
2863 0 : return false;
2864 : }
2865 : // Sentinel = 'TNullVariant'
2866 0 : if ((!((msg__)->ReadSentinel(iter__, 3606183426)))) {
2867 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
2868 0 : return false;
2869 : }
2870 0 : return true;
2871 : }
2872 : default:
2873 : {
2874 0 : FatalError("unknown union type");
2875 0 : return false;
2876 : }
2877 : }
2878 : }
2879 :
2880 0 : auto PJavaScriptChild::Write(
2881 : const nsTArray<JSParam>& v__,
2882 : Message* msg__) -> void
2883 : {
2884 0 : uint32_t length = (v__).Length();
2885 0 : Write(length, msg__);
2886 : // Sentinel = ('length', 'JSParam[]')
2887 0 : (msg__)->WriteSentinel(2498907590);
2888 :
2889 0 : for (auto& elem : v__) {
2890 0 : Write(elem, msg__);
2891 : // Sentinel = 'JSParam[]'
2892 0 : (msg__)->WriteSentinel(926701209);
2893 : }
2894 0 : }
2895 :
2896 0 : auto PJavaScriptChild::Read(
2897 : nsTArray<JSParam>* v__,
2898 : const Message* msg__,
2899 : PickleIterator* iter__) -> bool
2900 : {
2901 0 : nsTArray<JSParam> fa;
2902 : uint32_t length;
2903 0 : if ((!(Read((&(length)), msg__, iter__)))) {
2904 0 : mozilla::ipc::ArrayLengthReadError("JSParam[]");
2905 0 : return false;
2906 : }
2907 : // Sentinel = ('length', 'JSParam[]')
2908 0 : if ((!((msg__)->ReadSentinel(iter__, 2498907590)))) {
2909 0 : mozilla::ipc::SentinelReadError("JSParam[]");
2910 0 : return false;
2911 : }
2912 :
2913 0 : JSParam* elems = (fa).AppendElements(length);
2914 0 : for (uint32_t i = 0; (i) < (length); (++(i))) {
2915 0 : if ((!(Read((&(elems[i])), msg__, iter__)))) {
2916 0 : FatalError("Error deserializing 'JSParam[i]'");
2917 0 : return false;
2918 : }
2919 : // Sentinel = 'JSParam[]'
2920 0 : if ((!((msg__)->ReadSentinel(iter__, 926701209)))) {
2921 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSParam[i]'");
2922 0 : return false;
2923 : }
2924 : }
2925 0 : (v__)->SwapElements(fa);
2926 0 : return true;
2927 : }
2928 :
2929 0 : auto PJavaScriptChild::Write(
2930 : const ReturnStopIteration& v__,
2931 : Message* msg__) -> void
2932 : {
2933 0 : }
2934 :
2935 0 : auto PJavaScriptChild::Read(
2936 : ReturnStopIteration* v__,
2937 : const Message* msg__,
2938 : PickleIterator* iter__) -> bool
2939 : {
2940 0 : return true;
2941 : }
2942 :
2943 0 : auto PJavaScriptChild::Write(
2944 : const ReturnSuccess& v__,
2945 : Message* msg__) -> void
2946 : {
2947 0 : }
2948 :
2949 0 : auto PJavaScriptChild::Read(
2950 : ReturnSuccess* v__,
2951 : const Message* msg__,
2952 : PickleIterator* iter__) -> bool
2953 : {
2954 0 : return true;
2955 : }
2956 :
2957 0 : auto PJavaScriptChild::Write(
2958 : const JSIDVariant& v__,
2959 : Message* msg__) -> void
2960 : {
2961 : typedef JSIDVariant type__;
2962 0 : Write(int((v__).type()), msg__);
2963 : // Sentinel = 'JSIDVariant'
2964 0 : (msg__)->WriteSentinel(2438943890);
2965 :
2966 0 : switch ((v__).type()) {
2967 : case type__::TSymbolVariant:
2968 : {
2969 0 : Write((v__).get_SymbolVariant(), msg__);
2970 : // Sentinel = 'TSymbolVariant'
2971 0 : (msg__)->WriteSentinel(549729725);
2972 0 : return;
2973 : }
2974 : case type__::TnsString:
2975 : {
2976 0 : Write((v__).get_nsString(), msg__);
2977 : // Sentinel = 'TnsString'
2978 0 : (msg__)->WriteSentinel(2161603959);
2979 0 : return;
2980 : }
2981 : case type__::Tint32_t:
2982 : {
2983 0 : Write((v__).get_int32_t(), msg__);
2984 : // Sentinel = 'Tint32_t'
2985 0 : (msg__)->WriteSentinel(4219052577);
2986 0 : return;
2987 : }
2988 : default:
2989 : {
2990 0 : FatalError("unknown union type");
2991 0 : return;
2992 : }
2993 : }
2994 : }
2995 :
2996 0 : auto PJavaScriptChild::Read(
2997 : JSIDVariant* v__,
2998 : const Message* msg__,
2999 : PickleIterator* iter__) -> bool
3000 : {
3001 : typedef JSIDVariant type__;
3002 : int type;
3003 0 : if ((!(Read((&(type)), msg__, iter__)))) {
3004 0 : mozilla::ipc::UnionTypeReadError("JSIDVariant");
3005 0 : return false;
3006 : }
3007 : // Sentinel = 'JSIDVariant'
3008 0 : if ((!((msg__)->ReadSentinel(iter__, 2438943890)))) {
3009 0 : mozilla::ipc::SentinelReadError("JSIDVariant");
3010 0 : return false;
3011 : }
3012 :
3013 0 : switch (type) {
3014 : case type__::TSymbolVariant:
3015 : {
3016 0 : SymbolVariant tmp = SymbolVariant();
3017 0 : (*(v__)) = tmp;
3018 0 : if ((!(Read((&((v__)->get_SymbolVariant())), msg__, iter__)))) {
3019 0 : FatalError("Error deserializing Union type");
3020 0 : return false;
3021 : }
3022 : // Sentinel = 'TSymbolVariant'
3023 0 : if ((!((msg__)->ReadSentinel(iter__, 549729725)))) {
3024 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3025 0 : return false;
3026 : }
3027 0 : return true;
3028 : }
3029 : case type__::TnsString:
3030 : {
3031 0 : nsString tmp = nsString();
3032 0 : (*(v__)) = tmp;
3033 0 : if ((!(Read((&((v__)->get_nsString())), msg__, iter__)))) {
3034 0 : FatalError("Error deserializing Union type");
3035 0 : return false;
3036 : }
3037 : // Sentinel = 'TnsString'
3038 0 : if ((!((msg__)->ReadSentinel(iter__, 2161603959)))) {
3039 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3040 0 : return false;
3041 : }
3042 0 : return true;
3043 : }
3044 : case type__::Tint32_t:
3045 : {
3046 0 : int32_t tmp = int32_t();
3047 0 : (*(v__)) = tmp;
3048 0 : if ((!(Read((&((v__)->get_int32_t())), msg__, iter__)))) {
3049 0 : FatalError("Error deserializing Union type");
3050 0 : return false;
3051 : }
3052 : // Sentinel = 'Tint32_t'
3053 0 : if ((!((msg__)->ReadSentinel(iter__, 4219052577)))) {
3054 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3055 0 : return false;
3056 : }
3057 0 : return true;
3058 : }
3059 : default:
3060 : {
3061 0 : FatalError("unknown union type");
3062 0 : return false;
3063 : }
3064 : }
3065 : }
3066 :
3067 0 : auto PJavaScriptChild::Write(
3068 : const PJavaScriptChild* v__,
3069 : Message* msg__,
3070 : bool nullable__) -> void
3071 : {
3072 : int32_t id;
3073 0 : if ((!(v__))) {
3074 0 : if ((!(nullable__))) {
3075 0 : FatalError("NULL actor value passed to non-nullable param");
3076 : }
3077 0 : id = 0;
3078 : }
3079 : else {
3080 0 : id = (v__)->Id();
3081 0 : if ((1) == (id)) {
3082 0 : FatalError("actor has been |delete|d");
3083 : }
3084 : }
3085 :
3086 0 : Write(id, msg__);
3087 0 : }
3088 :
3089 0 : auto PJavaScriptChild::Read(
3090 : PJavaScriptChild** v__,
3091 : const Message* msg__,
3092 : PickleIterator* iter__,
3093 : bool nullable__) -> bool
3094 : {
3095 0 : Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PJavaScript", PJavaScriptMsgStart);
3096 0 : if ((actor).isNothing()) {
3097 0 : return false;
3098 : }
3099 :
3100 0 : (*(v__)) = static_cast<PJavaScriptChild*>((actor).value());
3101 0 : return true;
3102 : }
3103 :
3104 0 : auto PJavaScriptChild::Write(
3105 : const JSVariant& v__,
3106 : Message* msg__) -> void
3107 : {
3108 : typedef JSVariant type__;
3109 0 : Write(int((v__).type()), msg__);
3110 : // Sentinel = 'JSVariant'
3111 0 : (msg__)->WriteSentinel(4205756945);
3112 :
3113 0 : switch ((v__).type()) {
3114 : case type__::TUndefinedVariant:
3115 : {
3116 0 : Write((v__).get_UndefinedVariant(), msg__);
3117 : // Sentinel = 'TUndefinedVariant'
3118 0 : (msg__)->WriteSentinel(309349602);
3119 0 : return;
3120 : }
3121 : case type__::TNullVariant:
3122 : {
3123 0 : Write((v__).get_NullVariant(), msg__);
3124 : // Sentinel = 'TNullVariant'
3125 0 : (msg__)->WriteSentinel(3606183426);
3126 0 : return;
3127 : }
3128 : case type__::TObjectVariant:
3129 : {
3130 0 : Write((v__).get_ObjectVariant(), msg__);
3131 : // Sentinel = 'TObjectVariant'
3132 0 : (msg__)->WriteSentinel(78811130);
3133 0 : return;
3134 : }
3135 : case type__::TSymbolVariant:
3136 : {
3137 0 : Write((v__).get_SymbolVariant(), msg__);
3138 : // Sentinel = 'TSymbolVariant'
3139 0 : (msg__)->WriteSentinel(549729725);
3140 0 : return;
3141 : }
3142 : case type__::TnsString:
3143 : {
3144 0 : Write((v__).get_nsString(), msg__);
3145 : // Sentinel = 'TnsString'
3146 0 : (msg__)->WriteSentinel(2161603959);
3147 0 : return;
3148 : }
3149 : case type__::Tdouble:
3150 : {
3151 0 : Write((v__).get_double(), msg__);
3152 : // Sentinel = 'Tdouble'
3153 0 : (msg__)->WriteSentinel(3456933244);
3154 0 : return;
3155 : }
3156 : case type__::Tbool:
3157 : {
3158 0 : Write((v__).get_bool(), msg__);
3159 : // Sentinel = 'Tbool'
3160 0 : (msg__)->WriteSentinel(1958350201);
3161 0 : return;
3162 : }
3163 : case type__::TJSIID:
3164 : {
3165 0 : Write((v__).get_JSIID(), msg__);
3166 : // Sentinel = 'TJSIID'
3167 0 : (msg__)->WriteSentinel(3312553047);
3168 0 : return;
3169 : }
3170 : default:
3171 : {
3172 0 : FatalError("unknown union type");
3173 0 : return;
3174 : }
3175 : }
3176 : }
3177 :
3178 0 : auto PJavaScriptChild::Read(
3179 : JSVariant* v__,
3180 : const Message* msg__,
3181 : PickleIterator* iter__) -> bool
3182 : {
3183 : typedef JSVariant type__;
3184 : int type;
3185 0 : if ((!(Read((&(type)), msg__, iter__)))) {
3186 0 : mozilla::ipc::UnionTypeReadError("JSVariant");
3187 0 : return false;
3188 : }
3189 : // Sentinel = 'JSVariant'
3190 0 : if ((!((msg__)->ReadSentinel(iter__, 4205756945)))) {
3191 0 : mozilla::ipc::SentinelReadError("JSVariant");
3192 0 : return false;
3193 : }
3194 :
3195 0 : switch (type) {
3196 : case type__::TUndefinedVariant:
3197 : {
3198 0 : UndefinedVariant tmp = UndefinedVariant();
3199 0 : (*(v__)) = tmp;
3200 0 : if ((!(Read((&((v__)->get_UndefinedVariant())), msg__, iter__)))) {
3201 0 : FatalError("Error deserializing Union type");
3202 0 : return false;
3203 : }
3204 : // Sentinel = 'TUndefinedVariant'
3205 0 : if ((!((msg__)->ReadSentinel(iter__, 309349602)))) {
3206 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3207 0 : return false;
3208 : }
3209 0 : return true;
3210 : }
3211 : case type__::TNullVariant:
3212 : {
3213 0 : NullVariant tmp = NullVariant();
3214 0 : (*(v__)) = tmp;
3215 0 : if ((!(Read((&((v__)->get_NullVariant())), msg__, iter__)))) {
3216 0 : FatalError("Error deserializing Union type");
3217 0 : return false;
3218 : }
3219 : // Sentinel = 'TNullVariant'
3220 0 : if ((!((msg__)->ReadSentinel(iter__, 3606183426)))) {
3221 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3222 0 : return false;
3223 : }
3224 0 : return true;
3225 : }
3226 : case type__::TObjectVariant:
3227 : {
3228 0 : ObjectVariant tmp = ObjectVariant();
3229 0 : (*(v__)) = tmp;
3230 0 : if ((!(Read((&((v__)->get_ObjectVariant())), msg__, iter__)))) {
3231 0 : FatalError("Error deserializing Union type");
3232 0 : return false;
3233 : }
3234 : // Sentinel = 'TObjectVariant'
3235 0 : if ((!((msg__)->ReadSentinel(iter__, 78811130)))) {
3236 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3237 0 : return false;
3238 : }
3239 0 : return true;
3240 : }
3241 : case type__::TSymbolVariant:
3242 : {
3243 0 : SymbolVariant tmp = SymbolVariant();
3244 0 : (*(v__)) = tmp;
3245 0 : if ((!(Read((&((v__)->get_SymbolVariant())), msg__, iter__)))) {
3246 0 : FatalError("Error deserializing Union type");
3247 0 : return false;
3248 : }
3249 : // Sentinel = 'TSymbolVariant'
3250 0 : if ((!((msg__)->ReadSentinel(iter__, 549729725)))) {
3251 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3252 0 : return false;
3253 : }
3254 0 : return true;
3255 : }
3256 : case type__::TnsString:
3257 : {
3258 0 : nsString tmp = nsString();
3259 0 : (*(v__)) = tmp;
3260 0 : if ((!(Read((&((v__)->get_nsString())), msg__, iter__)))) {
3261 0 : FatalError("Error deserializing Union type");
3262 0 : return false;
3263 : }
3264 : // Sentinel = 'TnsString'
3265 0 : if ((!((msg__)->ReadSentinel(iter__, 2161603959)))) {
3266 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3267 0 : return false;
3268 : }
3269 0 : return true;
3270 : }
3271 : case type__::Tdouble:
3272 : {
3273 0 : double tmp = double();
3274 0 : (*(v__)) = tmp;
3275 0 : if ((!(Read((&((v__)->get_double())), msg__, iter__)))) {
3276 0 : FatalError("Error deserializing Union type");
3277 0 : return false;
3278 : }
3279 : // Sentinel = 'Tdouble'
3280 0 : if ((!((msg__)->ReadSentinel(iter__, 3456933244)))) {
3281 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3282 0 : return false;
3283 : }
3284 0 : return true;
3285 : }
3286 : case type__::Tbool:
3287 : {
3288 0 : bool tmp = bool();
3289 0 : (*(v__)) = tmp;
3290 0 : if ((!(Read((&((v__)->get_bool())), msg__, iter__)))) {
3291 0 : FatalError("Error deserializing Union type");
3292 0 : return false;
3293 : }
3294 : // Sentinel = 'Tbool'
3295 0 : if ((!((msg__)->ReadSentinel(iter__, 1958350201)))) {
3296 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3297 0 : return false;
3298 : }
3299 0 : return true;
3300 : }
3301 : case type__::TJSIID:
3302 : {
3303 0 : JSIID tmp = JSIID();
3304 0 : (*(v__)) = tmp;
3305 0 : if ((!(Read((&((v__)->get_JSIID())), msg__, iter__)))) {
3306 0 : FatalError("Error deserializing Union type");
3307 0 : return false;
3308 : }
3309 : // Sentinel = 'TJSIID'
3310 0 : if ((!((msg__)->ReadSentinel(iter__, 3312553047)))) {
3311 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3312 0 : return false;
3313 : }
3314 0 : return true;
3315 : }
3316 : default:
3317 : {
3318 0 : FatalError("unknown union type");
3319 0 : return false;
3320 : }
3321 : }
3322 : }
3323 :
3324 0 : auto PJavaScriptChild::Write(
3325 : const ReturnStatus& v__,
3326 : Message* msg__) -> void
3327 : {
3328 : typedef ReturnStatus type__;
3329 0 : Write(int((v__).type()), msg__);
3330 : // Sentinel = 'ReturnStatus'
3331 0 : (msg__)->WriteSentinel(4037656036);
3332 :
3333 0 : switch ((v__).type()) {
3334 : case type__::TReturnSuccess:
3335 : {
3336 0 : Write((v__).get_ReturnSuccess(), msg__);
3337 : // Sentinel = 'TReturnSuccess'
3338 0 : (msg__)->WriteSentinel(3801605049);
3339 0 : return;
3340 : }
3341 : case type__::TReturnStopIteration:
3342 : {
3343 0 : Write((v__).get_ReturnStopIteration(), msg__);
3344 : // Sentinel = 'TReturnStopIteration'
3345 0 : (msg__)->WriteSentinel(2114083607);
3346 0 : return;
3347 : }
3348 : case type__::TReturnDeadCPOW:
3349 : {
3350 0 : Write((v__).get_ReturnDeadCPOW(), msg__);
3351 : // Sentinel = 'TReturnDeadCPOW'
3352 0 : (msg__)->WriteSentinel(3868213212);
3353 0 : return;
3354 : }
3355 : case type__::TReturnException:
3356 : {
3357 0 : Write((v__).get_ReturnException(), msg__);
3358 : // Sentinel = 'TReturnException'
3359 0 : (msg__)->WriteSentinel(972596505);
3360 0 : return;
3361 : }
3362 : case type__::TReturnObjectOpResult:
3363 : {
3364 0 : Write((v__).get_ReturnObjectOpResult(), msg__);
3365 : // Sentinel = 'TReturnObjectOpResult'
3366 0 : (msg__)->WriteSentinel(2860338480);
3367 0 : return;
3368 : }
3369 : default:
3370 : {
3371 0 : FatalError("unknown union type");
3372 0 : return;
3373 : }
3374 : }
3375 : }
3376 :
3377 0 : auto PJavaScriptChild::Read(
3378 : ReturnStatus* v__,
3379 : const Message* msg__,
3380 : PickleIterator* iter__) -> bool
3381 : {
3382 : typedef ReturnStatus type__;
3383 : int type;
3384 0 : if ((!(Read((&(type)), msg__, iter__)))) {
3385 0 : mozilla::ipc::UnionTypeReadError("ReturnStatus");
3386 0 : return false;
3387 : }
3388 : // Sentinel = 'ReturnStatus'
3389 0 : if ((!((msg__)->ReadSentinel(iter__, 4037656036)))) {
3390 0 : mozilla::ipc::SentinelReadError("ReturnStatus");
3391 0 : return false;
3392 : }
3393 :
3394 0 : switch (type) {
3395 : case type__::TReturnSuccess:
3396 : {
3397 0 : ReturnSuccess tmp = ReturnSuccess();
3398 0 : (*(v__)) = tmp;
3399 0 : if ((!(Read((&((v__)->get_ReturnSuccess())), msg__, iter__)))) {
3400 0 : FatalError("Error deserializing Union type");
3401 0 : return false;
3402 : }
3403 : // Sentinel = 'TReturnSuccess'
3404 0 : if ((!((msg__)->ReadSentinel(iter__, 3801605049)))) {
3405 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3406 0 : return false;
3407 : }
3408 0 : return true;
3409 : }
3410 : case type__::TReturnStopIteration:
3411 : {
3412 0 : ReturnStopIteration tmp = ReturnStopIteration();
3413 0 : (*(v__)) = tmp;
3414 0 : if ((!(Read((&((v__)->get_ReturnStopIteration())), msg__, iter__)))) {
3415 0 : FatalError("Error deserializing Union type");
3416 0 : return false;
3417 : }
3418 : // Sentinel = 'TReturnStopIteration'
3419 0 : if ((!((msg__)->ReadSentinel(iter__, 2114083607)))) {
3420 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3421 0 : return false;
3422 : }
3423 0 : return true;
3424 : }
3425 : case type__::TReturnDeadCPOW:
3426 : {
3427 0 : ReturnDeadCPOW tmp = ReturnDeadCPOW();
3428 0 : (*(v__)) = tmp;
3429 0 : if ((!(Read((&((v__)->get_ReturnDeadCPOW())), msg__, iter__)))) {
3430 0 : FatalError("Error deserializing Union type");
3431 0 : return false;
3432 : }
3433 : // Sentinel = 'TReturnDeadCPOW'
3434 0 : if ((!((msg__)->ReadSentinel(iter__, 3868213212)))) {
3435 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3436 0 : return false;
3437 : }
3438 0 : return true;
3439 : }
3440 : case type__::TReturnException:
3441 : {
3442 0 : ReturnException tmp = ReturnException();
3443 0 : (*(v__)) = tmp;
3444 0 : if ((!(Read((&((v__)->get_ReturnException())), msg__, iter__)))) {
3445 0 : FatalError("Error deserializing Union type");
3446 0 : return false;
3447 : }
3448 : // Sentinel = 'TReturnException'
3449 0 : if ((!((msg__)->ReadSentinel(iter__, 972596505)))) {
3450 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3451 0 : return false;
3452 : }
3453 0 : return true;
3454 : }
3455 : case type__::TReturnObjectOpResult:
3456 : {
3457 0 : ReturnObjectOpResult tmp = ReturnObjectOpResult();
3458 0 : (*(v__)) = tmp;
3459 0 : if ((!(Read((&((v__)->get_ReturnObjectOpResult())), msg__, iter__)))) {
3460 0 : FatalError("Error deserializing Union type");
3461 0 : return false;
3462 : }
3463 : // Sentinel = 'TReturnObjectOpResult'
3464 0 : if ((!((msg__)->ReadSentinel(iter__, 2860338480)))) {
3465 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3466 0 : return false;
3467 : }
3468 0 : return true;
3469 : }
3470 : default:
3471 : {
3472 0 : FatalError("unknown union type");
3473 0 : return false;
3474 : }
3475 : }
3476 : }
3477 :
3478 0 : auto PJavaScriptChild::Write(
3479 : const RegisteredSymbol& v__,
3480 : Message* msg__) -> void
3481 : {
3482 0 : Write((v__).key(), msg__);
3483 : // Sentinel = 'key'
3484 0 : (msg__)->WriteSentinel(35142870);
3485 0 : }
3486 :
3487 0 : auto PJavaScriptChild::Read(
3488 : RegisteredSymbol* v__,
3489 : const Message* msg__,
3490 : PickleIterator* iter__) -> bool
3491 : {
3492 0 : if ((!(Read((&((v__)->key())), msg__, iter__)))) {
3493 0 : FatalError("Error deserializing 'key' (nsString) member of 'RegisteredSymbol'");
3494 0 : return false;
3495 : }
3496 : // Sentinel = 'key'
3497 0 : if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
3498 0 : mozilla::ipc::SentinelReadError("Error deserializing 'key' (nsString) member of 'RegisteredSymbol'");
3499 0 : return false;
3500 : }
3501 0 : return true;
3502 : }
3503 :
3504 0 : auto PJavaScriptChild::Write(
3505 : const WellKnownSymbol& v__,
3506 : Message* msg__) -> void
3507 : {
3508 0 : Write((v__).which(), msg__);
3509 : // Sentinel = 'which'
3510 0 : (msg__)->WriteSentinel(328170422);
3511 0 : }
3512 :
3513 0 : auto PJavaScriptChild::Read(
3514 : WellKnownSymbol* v__,
3515 : const Message* msg__,
3516 : PickleIterator* iter__) -> bool
3517 : {
3518 0 : if ((!(Read((&((v__)->which())), msg__, iter__)))) {
3519 0 : FatalError("Error deserializing 'which' (uint32_t) member of 'WellKnownSymbol'");
3520 0 : return false;
3521 : }
3522 : // Sentinel = 'which'
3523 0 : if ((!((msg__)->ReadSentinel(iter__, 328170422)))) {
3524 0 : mozilla::ipc::SentinelReadError("Error deserializing 'which' (uint32_t) member of 'WellKnownSymbol'");
3525 0 : return false;
3526 : }
3527 0 : return true;
3528 : }
3529 :
3530 0 : auto PJavaScriptChild::Write(
3531 : const ReturnException& v__,
3532 : Message* msg__) -> void
3533 : {
3534 0 : Write((v__).exn(), msg__);
3535 : // Sentinel = 'exn'
3536 0 : (msg__)->WriteSentinel(2420675560);
3537 0 : }
3538 :
3539 0 : auto PJavaScriptChild::Read(
3540 : ReturnException* v__,
3541 : const Message* msg__,
3542 : PickleIterator* iter__) -> bool
3543 : {
3544 0 : if ((!(Read((&((v__)->exn())), msg__, iter__)))) {
3545 0 : FatalError("Error deserializing 'exn' (JSVariant) member of 'ReturnException'");
3546 0 : return false;
3547 : }
3548 : // Sentinel = 'exn'
3549 0 : if ((!((msg__)->ReadSentinel(iter__, 2420675560)))) {
3550 0 : mozilla::ipc::SentinelReadError("Error deserializing 'exn' (JSVariant) member of 'ReturnException'");
3551 0 : return false;
3552 : }
3553 0 : return true;
3554 : }
3555 :
3556 0 : auto PJavaScriptChild::Write(
3557 : const JSIID& v__,
3558 : Message* msg__) -> void
3559 : {
3560 0 : Write((v__).m0(), msg__);
3561 : // Sentinel = 'm0'
3562 0 : (msg__)->WriteSentinel(2819154229);
3563 0 : Write((v__).m1(), msg__);
3564 : // Sentinel = 'm1'
3565 0 : (msg__)->WriteSentinel(2819154228);
3566 0 : Write((v__).m2(), msg__);
3567 : // Sentinel = 'm2'
3568 0 : (msg__)->WriteSentinel(2819154231);
3569 0 : Write((v__).m3_0(), msg__);
3570 : // Sentinel = 'm3_0'
3571 0 : (msg__)->WriteSentinel(2771419453);
3572 0 : Write((v__).m3_1(), msg__);
3573 : // Sentinel = 'm3_1'
3574 0 : (msg__)->WriteSentinel(2771419452);
3575 0 : Write((v__).m3_2(), msg__);
3576 : // Sentinel = 'm3_2'
3577 0 : (msg__)->WriteSentinel(2771419455);
3578 0 : Write((v__).m3_3(), msg__);
3579 : // Sentinel = 'm3_3'
3580 0 : (msg__)->WriteSentinel(2771419454);
3581 0 : Write((v__).m3_4(), msg__);
3582 : // Sentinel = 'm3_4'
3583 0 : (msg__)->WriteSentinel(2771419449);
3584 0 : Write((v__).m3_5(), msg__);
3585 : // Sentinel = 'm3_5'
3586 0 : (msg__)->WriteSentinel(2771419448);
3587 0 : Write((v__).m3_6(), msg__);
3588 : // Sentinel = 'm3_6'
3589 0 : (msg__)->WriteSentinel(2771419451);
3590 0 : Write((v__).m3_7(), msg__);
3591 : // Sentinel = 'm3_7'
3592 0 : (msg__)->WriteSentinel(2771419450);
3593 0 : }
3594 :
3595 0 : auto PJavaScriptChild::Read(
3596 : JSIID* v__,
3597 : const Message* msg__,
3598 : PickleIterator* iter__) -> bool
3599 : {
3600 0 : if ((!(Read((&((v__)->m0())), msg__, iter__)))) {
3601 0 : FatalError("Error deserializing 'm0' (uint32_t) member of 'JSIID'");
3602 0 : return false;
3603 : }
3604 : // Sentinel = 'm0'
3605 0 : if ((!((msg__)->ReadSentinel(iter__, 2819154229)))) {
3606 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm0' (uint32_t) member of 'JSIID'");
3607 0 : return false;
3608 : }
3609 0 : if ((!(Read((&((v__)->m1())), msg__, iter__)))) {
3610 0 : FatalError("Error deserializing 'm1' (uint16_t) member of 'JSIID'");
3611 0 : return false;
3612 : }
3613 : // Sentinel = 'm1'
3614 0 : if ((!((msg__)->ReadSentinel(iter__, 2819154228)))) {
3615 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm1' (uint16_t) member of 'JSIID'");
3616 0 : return false;
3617 : }
3618 0 : if ((!(Read((&((v__)->m2())), msg__, iter__)))) {
3619 0 : FatalError("Error deserializing 'm2' (uint16_t) member of 'JSIID'");
3620 0 : return false;
3621 : }
3622 : // Sentinel = 'm2'
3623 0 : if ((!((msg__)->ReadSentinel(iter__, 2819154231)))) {
3624 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm2' (uint16_t) member of 'JSIID'");
3625 0 : return false;
3626 : }
3627 0 : if ((!(Read((&((v__)->m3_0())), msg__, iter__)))) {
3628 0 : FatalError("Error deserializing 'm3_0' (uint8_t) member of 'JSIID'");
3629 0 : return false;
3630 : }
3631 : // Sentinel = 'm3_0'
3632 0 : if ((!((msg__)->ReadSentinel(iter__, 2771419453)))) {
3633 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm3_0' (uint8_t) member of 'JSIID'");
3634 0 : return false;
3635 : }
3636 0 : if ((!(Read((&((v__)->m3_1())), msg__, iter__)))) {
3637 0 : FatalError("Error deserializing 'm3_1' (uint8_t) member of 'JSIID'");
3638 0 : return false;
3639 : }
3640 : // Sentinel = 'm3_1'
3641 0 : if ((!((msg__)->ReadSentinel(iter__, 2771419452)))) {
3642 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm3_1' (uint8_t) member of 'JSIID'");
3643 0 : return false;
3644 : }
3645 0 : if ((!(Read((&((v__)->m3_2())), msg__, iter__)))) {
3646 0 : FatalError("Error deserializing 'm3_2' (uint8_t) member of 'JSIID'");
3647 0 : return false;
3648 : }
3649 : // Sentinel = 'm3_2'
3650 0 : if ((!((msg__)->ReadSentinel(iter__, 2771419455)))) {
3651 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm3_2' (uint8_t) member of 'JSIID'");
3652 0 : return false;
3653 : }
3654 0 : if ((!(Read((&((v__)->m3_3())), msg__, iter__)))) {
3655 0 : FatalError("Error deserializing 'm3_3' (uint8_t) member of 'JSIID'");
3656 0 : return false;
3657 : }
3658 : // Sentinel = 'm3_3'
3659 0 : if ((!((msg__)->ReadSentinel(iter__, 2771419454)))) {
3660 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm3_3' (uint8_t) member of 'JSIID'");
3661 0 : return false;
3662 : }
3663 0 : if ((!(Read((&((v__)->m3_4())), msg__, iter__)))) {
3664 0 : FatalError("Error deserializing 'm3_4' (uint8_t) member of 'JSIID'");
3665 0 : return false;
3666 : }
3667 : // Sentinel = 'm3_4'
3668 0 : if ((!((msg__)->ReadSentinel(iter__, 2771419449)))) {
3669 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm3_4' (uint8_t) member of 'JSIID'");
3670 0 : return false;
3671 : }
3672 0 : if ((!(Read((&((v__)->m3_5())), msg__, iter__)))) {
3673 0 : FatalError("Error deserializing 'm3_5' (uint8_t) member of 'JSIID'");
3674 0 : return false;
3675 : }
3676 : // Sentinel = 'm3_5'
3677 0 : if ((!((msg__)->ReadSentinel(iter__, 2771419448)))) {
3678 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm3_5' (uint8_t) member of 'JSIID'");
3679 0 : return false;
3680 : }
3681 0 : if ((!(Read((&((v__)->m3_6())), msg__, iter__)))) {
3682 0 : FatalError("Error deserializing 'm3_6' (uint8_t) member of 'JSIID'");
3683 0 : return false;
3684 : }
3685 : // Sentinel = 'm3_6'
3686 0 : if ((!((msg__)->ReadSentinel(iter__, 2771419451)))) {
3687 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm3_6' (uint8_t) member of 'JSIID'");
3688 0 : return false;
3689 : }
3690 0 : if ((!(Read((&((v__)->m3_7())), msg__, iter__)))) {
3691 0 : FatalError("Error deserializing 'm3_7' (uint8_t) member of 'JSIID'");
3692 0 : return false;
3693 : }
3694 : // Sentinel = 'm3_7'
3695 0 : if ((!((msg__)->ReadSentinel(iter__, 2771419450)))) {
3696 0 : mozilla::ipc::SentinelReadError("Error deserializing 'm3_7' (uint8_t) member of 'JSIID'");
3697 0 : return false;
3698 : }
3699 0 : return true;
3700 : }
3701 :
3702 0 : auto PJavaScriptChild::Write(
3703 : const JSParam& v__,
3704 : Message* msg__) -> void
3705 : {
3706 : typedef JSParam type__;
3707 0 : Write(int((v__).type()), msg__);
3708 : // Sentinel = 'JSParam'
3709 0 : (msg__)->WriteSentinel(3026526459);
3710 :
3711 0 : switch ((v__).type()) {
3712 : case type__::Tvoid_t:
3713 : {
3714 0 : Write((v__).get_void_t(), msg__);
3715 : // Sentinel = 'Tvoid_t'
3716 0 : (msg__)->WriteSentinel(3041273328);
3717 0 : return;
3718 : }
3719 : case type__::TJSVariant:
3720 : {
3721 0 : Write((v__).get_JSVariant(), msg__);
3722 : // Sentinel = 'TJSVariant'
3723 0 : (msg__)->WriteSentinel(1996745510);
3724 0 : return;
3725 : }
3726 : default:
3727 : {
3728 0 : FatalError("unknown union type");
3729 0 : return;
3730 : }
3731 : }
3732 : }
3733 :
3734 0 : auto PJavaScriptChild::Read(
3735 : JSParam* v__,
3736 : const Message* msg__,
3737 : PickleIterator* iter__) -> bool
3738 : {
3739 : typedef JSParam type__;
3740 : int type;
3741 0 : if ((!(Read((&(type)), msg__, iter__)))) {
3742 0 : mozilla::ipc::UnionTypeReadError("JSParam");
3743 0 : return false;
3744 : }
3745 : // Sentinel = 'JSParam'
3746 0 : if ((!((msg__)->ReadSentinel(iter__, 3026526459)))) {
3747 0 : mozilla::ipc::SentinelReadError("JSParam");
3748 0 : return false;
3749 : }
3750 :
3751 0 : switch (type) {
3752 : case type__::Tvoid_t:
3753 : {
3754 : void_t tmp = void_t();
3755 0 : (*(v__)) = tmp;
3756 0 : if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
3757 0 : FatalError("Error deserializing Union type");
3758 0 : return false;
3759 : }
3760 : // Sentinel = 'Tvoid_t'
3761 0 : if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
3762 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3763 0 : return false;
3764 : }
3765 0 : return true;
3766 : }
3767 : case type__::TJSVariant:
3768 : {
3769 0 : JSVariant tmp = JSVariant();
3770 0 : (*(v__)) = tmp;
3771 0 : if ((!(Read((&((v__)->get_JSVariant())), msg__, iter__)))) {
3772 0 : FatalError("Error deserializing Union type");
3773 0 : return false;
3774 : }
3775 : // Sentinel = 'TJSVariant'
3776 0 : if ((!((msg__)->ReadSentinel(iter__, 1996745510)))) {
3777 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3778 0 : return false;
3779 : }
3780 0 : return true;
3781 : }
3782 : default:
3783 : {
3784 0 : FatalError("unknown union type");
3785 0 : return false;
3786 : }
3787 : }
3788 : }
3789 :
3790 0 : auto PJavaScriptChild::Write(
3791 : const ObjectVariant& v__,
3792 : Message* msg__) -> void
3793 : {
3794 : typedef ObjectVariant type__;
3795 0 : Write(int((v__).type()), msg__);
3796 : // Sentinel = 'ObjectVariant'
3797 0 : (msg__)->WriteSentinel(3403328885);
3798 :
3799 0 : switch ((v__).type()) {
3800 : case type__::TLocalObject:
3801 : {
3802 0 : Write((v__).get_LocalObject(), msg__);
3803 : // Sentinel = 'TLocalObject'
3804 0 : (msg__)->WriteSentinel(2788453632);
3805 0 : return;
3806 : }
3807 : case type__::TRemoteObject:
3808 : {
3809 0 : Write((v__).get_RemoteObject(), msg__);
3810 : // Sentinel = 'TRemoteObject'
3811 0 : (msg__)->WriteSentinel(807590902);
3812 0 : return;
3813 : }
3814 : default:
3815 : {
3816 0 : FatalError("unknown union type");
3817 0 : return;
3818 : }
3819 : }
3820 : }
3821 :
3822 0 : auto PJavaScriptChild::Read(
3823 : ObjectVariant* v__,
3824 : const Message* msg__,
3825 : PickleIterator* iter__) -> bool
3826 : {
3827 : typedef ObjectVariant type__;
3828 : int type;
3829 0 : if ((!(Read((&(type)), msg__, iter__)))) {
3830 0 : mozilla::ipc::UnionTypeReadError("ObjectVariant");
3831 0 : return false;
3832 : }
3833 : // Sentinel = 'ObjectVariant'
3834 0 : if ((!((msg__)->ReadSentinel(iter__, 3403328885)))) {
3835 0 : mozilla::ipc::SentinelReadError("ObjectVariant");
3836 0 : return false;
3837 : }
3838 :
3839 0 : switch (type) {
3840 : case type__::TLocalObject:
3841 : {
3842 0 : LocalObject tmp = LocalObject();
3843 0 : (*(v__)) = tmp;
3844 0 : if ((!(Read((&((v__)->get_LocalObject())), msg__, iter__)))) {
3845 0 : FatalError("Error deserializing Union type");
3846 0 : return false;
3847 : }
3848 : // Sentinel = 'TLocalObject'
3849 0 : if ((!((msg__)->ReadSentinel(iter__, 2788453632)))) {
3850 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3851 0 : return false;
3852 : }
3853 0 : return true;
3854 : }
3855 : case type__::TRemoteObject:
3856 : {
3857 0 : RemoteObject tmp = RemoteObject();
3858 0 : (*(v__)) = tmp;
3859 0 : if ((!(Read((&((v__)->get_RemoteObject())), msg__, iter__)))) {
3860 0 : FatalError("Error deserializing Union type");
3861 0 : return false;
3862 : }
3863 : // Sentinel = 'TRemoteObject'
3864 0 : if ((!((msg__)->ReadSentinel(iter__, 807590902)))) {
3865 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3866 0 : return false;
3867 : }
3868 0 : return true;
3869 : }
3870 : default:
3871 : {
3872 0 : FatalError("unknown union type");
3873 0 : return false;
3874 : }
3875 : }
3876 : }
3877 :
3878 0 : auto PJavaScriptChild::Write(
3879 : const ReturnObjectOpResult& v__,
3880 : Message* msg__) -> void
3881 : {
3882 0 : Write((v__).code(), msg__);
3883 : // Sentinel = 'code'
3884 0 : (msg__)->WriteSentinel(3318913027);
3885 0 : }
3886 :
3887 0 : auto PJavaScriptChild::Read(
3888 : ReturnObjectOpResult* v__,
3889 : const Message* msg__,
3890 : PickleIterator* iter__) -> bool
3891 : {
3892 0 : if ((!(Read((&((v__)->code())), msg__, iter__)))) {
3893 0 : FatalError("Error deserializing 'code' (uint32_t) member of 'ReturnObjectOpResult'");
3894 0 : return false;
3895 : }
3896 : // Sentinel = 'code'
3897 0 : if ((!((msg__)->ReadSentinel(iter__, 3318913027)))) {
3898 0 : mozilla::ipc::SentinelReadError("Error deserializing 'code' (uint32_t) member of 'ReturnObjectOpResult'");
3899 0 : return false;
3900 : }
3901 0 : return true;
3902 : }
3903 :
3904 0 : auto PJavaScriptChild::Write(
3905 : const GetterSetter& v__,
3906 : Message* msg__) -> void
3907 : {
3908 : typedef GetterSetter type__;
3909 0 : Write(int((v__).type()), msg__);
3910 : // Sentinel = 'GetterSetter'
3911 0 : (msg__)->WriteSentinel(288324348);
3912 :
3913 0 : switch ((v__).type()) {
3914 : case type__::Tuint64_t:
3915 : {
3916 0 : Write((v__).get_uint64_t(), msg__);
3917 : // Sentinel = 'Tuint64_t'
3918 0 : (msg__)->WriteSentinel(1935076742);
3919 0 : return;
3920 : }
3921 : case type__::TObjectVariant:
3922 : {
3923 0 : Write((v__).get_ObjectVariant(), msg__);
3924 : // Sentinel = 'TObjectVariant'
3925 0 : (msg__)->WriteSentinel(78811130);
3926 0 : return;
3927 : }
3928 : default:
3929 : {
3930 0 : FatalError("unknown union type");
3931 0 : return;
3932 : }
3933 : }
3934 : }
3935 :
3936 0 : auto PJavaScriptChild::Read(
3937 : GetterSetter* v__,
3938 : const Message* msg__,
3939 : PickleIterator* iter__) -> bool
3940 : {
3941 : typedef GetterSetter type__;
3942 : int type;
3943 0 : if ((!(Read((&(type)), msg__, iter__)))) {
3944 0 : mozilla::ipc::UnionTypeReadError("GetterSetter");
3945 0 : return false;
3946 : }
3947 : // Sentinel = 'GetterSetter'
3948 0 : if ((!((msg__)->ReadSentinel(iter__, 288324348)))) {
3949 0 : mozilla::ipc::SentinelReadError("GetterSetter");
3950 0 : return false;
3951 : }
3952 :
3953 0 : switch (type) {
3954 : case type__::Tuint64_t:
3955 : {
3956 0 : uint64_t tmp = uint64_t();
3957 0 : (*(v__)) = tmp;
3958 0 : if ((!(Read((&((v__)->get_uint64_t())), msg__, iter__)))) {
3959 0 : FatalError("Error deserializing Union type");
3960 0 : return false;
3961 : }
3962 : // Sentinel = 'Tuint64_t'
3963 0 : if ((!((msg__)->ReadSentinel(iter__, 1935076742)))) {
3964 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3965 0 : return false;
3966 : }
3967 0 : return true;
3968 : }
3969 : case type__::TObjectVariant:
3970 : {
3971 0 : ObjectVariant tmp = ObjectVariant();
3972 0 : (*(v__)) = tmp;
3973 0 : if ((!(Read((&((v__)->get_ObjectVariant())), msg__, iter__)))) {
3974 0 : FatalError("Error deserializing Union type");
3975 0 : return false;
3976 : }
3977 : // Sentinel = 'TObjectVariant'
3978 0 : if ((!((msg__)->ReadSentinel(iter__, 78811130)))) {
3979 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
3980 0 : return false;
3981 : }
3982 0 : return true;
3983 : }
3984 : default:
3985 : {
3986 0 : FatalError("unknown union type");
3987 0 : return false;
3988 : }
3989 : }
3990 : }
3991 :
3992 0 : auto PJavaScriptChild::Write(
3993 : const LocalObject& v__,
3994 : Message* msg__) -> void
3995 : {
3996 0 : Write((v__).serializedId(), msg__);
3997 : // Sentinel = 'serializedId'
3998 0 : (msg__)->WriteSentinel(517551973);
3999 0 : }
4000 :
4001 0 : auto PJavaScriptChild::Read(
4002 : LocalObject* v__,
4003 : const Message* msg__,
4004 : PickleIterator* iter__) -> bool
4005 : {
4006 0 : if ((!(Read((&((v__)->serializedId())), msg__, iter__)))) {
4007 0 : FatalError("Error deserializing 'serializedId' (uint64_t) member of 'LocalObject'");
4008 0 : return false;
4009 : }
4010 : // Sentinel = 'serializedId'
4011 0 : if ((!((msg__)->ReadSentinel(iter__, 517551973)))) {
4012 0 : mozilla::ipc::SentinelReadError("Error deserializing 'serializedId' (uint64_t) member of 'LocalObject'");
4013 0 : return false;
4014 : }
4015 0 : return true;
4016 : }
4017 :
4018 0 : auto PJavaScriptChild::Write(
4019 : const SymbolVariant& v__,
4020 : Message* msg__) -> void
4021 : {
4022 : typedef SymbolVariant type__;
4023 0 : Write(int((v__).type()), msg__);
4024 : // Sentinel = 'SymbolVariant'
4025 0 : (msg__)->WriteSentinel(2359697882);
4026 :
4027 0 : switch ((v__).type()) {
4028 : case type__::TWellKnownSymbol:
4029 : {
4030 0 : Write((v__).get_WellKnownSymbol(), msg__);
4031 : // Sentinel = 'TWellKnownSymbol'
4032 0 : (msg__)->WriteSentinel(3625871441);
4033 0 : return;
4034 : }
4035 : case type__::TRegisteredSymbol:
4036 : {
4037 0 : Write((v__).get_RegisteredSymbol(), msg__);
4038 : // Sentinel = 'TRegisteredSymbol'
4039 0 : (msg__)->WriteSentinel(3546540137);
4040 0 : return;
4041 : }
4042 : default:
4043 : {
4044 0 : FatalError("unknown union type");
4045 0 : return;
4046 : }
4047 : }
4048 : }
4049 :
4050 0 : auto PJavaScriptChild::Read(
4051 : SymbolVariant* v__,
4052 : const Message* msg__,
4053 : PickleIterator* iter__) -> bool
4054 : {
4055 : typedef SymbolVariant type__;
4056 : int type;
4057 0 : if ((!(Read((&(type)), msg__, iter__)))) {
4058 0 : mozilla::ipc::UnionTypeReadError("SymbolVariant");
4059 0 : return false;
4060 : }
4061 : // Sentinel = 'SymbolVariant'
4062 0 : if ((!((msg__)->ReadSentinel(iter__, 2359697882)))) {
4063 0 : mozilla::ipc::SentinelReadError("SymbolVariant");
4064 0 : return false;
4065 : }
4066 :
4067 0 : switch (type) {
4068 : case type__::TWellKnownSymbol:
4069 : {
4070 0 : WellKnownSymbol tmp = WellKnownSymbol();
4071 0 : (*(v__)) = tmp;
4072 0 : if ((!(Read((&((v__)->get_WellKnownSymbol())), msg__, iter__)))) {
4073 0 : FatalError("Error deserializing Union type");
4074 0 : return false;
4075 : }
4076 : // Sentinel = 'TWellKnownSymbol'
4077 0 : if ((!((msg__)->ReadSentinel(iter__, 3625871441)))) {
4078 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
4079 0 : return false;
4080 : }
4081 0 : return true;
4082 : }
4083 : case type__::TRegisteredSymbol:
4084 : {
4085 0 : RegisteredSymbol tmp = RegisteredSymbol();
4086 0 : (*(v__)) = tmp;
4087 0 : if ((!(Read((&((v__)->get_RegisteredSymbol())), msg__, iter__)))) {
4088 0 : FatalError("Error deserializing Union type");
4089 0 : return false;
4090 : }
4091 : // Sentinel = 'TRegisteredSymbol'
4092 0 : if ((!((msg__)->ReadSentinel(iter__, 3546540137)))) {
4093 0 : mozilla::ipc::SentinelReadError("Error deserializing Union type");
4094 0 : return false;
4095 : }
4096 0 : return true;
4097 : }
4098 : default:
4099 : {
4100 0 : FatalError("unknown union type");
4101 0 : return false;
4102 : }
4103 : }
4104 : }
4105 :
4106 0 : auto PJavaScriptChild::Write(
4107 : const UndefinedVariant& v__,
4108 : Message* msg__) -> void
4109 : {
4110 0 : }
4111 :
4112 0 : auto PJavaScriptChild::Read(
4113 : UndefinedVariant* v__,
4114 : const Message* msg__,
4115 : PickleIterator* iter__) -> bool
4116 : {
4117 0 : return true;
4118 : }
4119 :
4120 0 : auto PJavaScriptChild::Write(
4121 : const nsTArray<JSIDVariant>& v__,
4122 : Message* msg__) -> void
4123 : {
4124 0 : uint32_t length = (v__).Length();
4125 0 : Write(length, msg__);
4126 : // Sentinel = ('length', 'JSIDVariant[]')
4127 0 : (msg__)->WriteSentinel(1767238529);
4128 :
4129 0 : for (auto& elem : v__) {
4130 0 : Write(elem, msg__);
4131 : // Sentinel = 'JSIDVariant[]'
4132 0 : (msg__)->WriteSentinel(2483222176);
4133 : }
4134 0 : }
4135 :
4136 0 : auto PJavaScriptChild::Read(
4137 : nsTArray<JSIDVariant>* v__,
4138 : const Message* msg__,
4139 : PickleIterator* iter__) -> bool
4140 : {
4141 0 : nsTArray<JSIDVariant> fa;
4142 : uint32_t length;
4143 0 : if ((!(Read((&(length)), msg__, iter__)))) {
4144 0 : mozilla::ipc::ArrayLengthReadError("JSIDVariant[]");
4145 0 : return false;
4146 : }
4147 : // Sentinel = ('length', 'JSIDVariant[]')
4148 0 : if ((!((msg__)->ReadSentinel(iter__, 1767238529)))) {
4149 0 : mozilla::ipc::SentinelReadError("JSIDVariant[]");
4150 0 : return false;
4151 : }
4152 :
4153 0 : JSIDVariant* elems = (fa).AppendElements(length);
4154 0 : for (uint32_t i = 0; (i) < (length); (++(i))) {
4155 0 : if ((!(Read((&(elems[i])), msg__, iter__)))) {
4156 0 : FatalError("Error deserializing 'JSIDVariant[i]'");
4157 0 : return false;
4158 : }
4159 : // Sentinel = 'JSIDVariant[]'
4160 0 : if ((!((msg__)->ReadSentinel(iter__, 2483222176)))) {
4161 0 : mozilla::ipc::SentinelReadError("Error deserializing 'JSIDVariant[i]'");
4162 0 : return false;
4163 : }
4164 : }
4165 0 : (v__)->SwapElements(fa);
4166 0 : return true;
4167 : }
4168 :
4169 0 : auto PJavaScriptChild::Write(
4170 : const RemoteObject& v__,
4171 : Message* msg__) -> void
4172 : {
4173 0 : Write((v__).serializedId(), msg__);
4174 : // Sentinel = 'serializedId'
4175 0 : (msg__)->WriteSentinel(517551973);
4176 0 : Write((v__).isCallable(), msg__);
4177 : // Sentinel = 'isCallable'
4178 0 : (msg__)->WriteSentinel(581027930);
4179 0 : Write((v__).isConstructor(), msg__);
4180 : // Sentinel = 'isConstructor'
4181 0 : (msg__)->WriteSentinel(2453797865);
4182 0 : Write((v__).isDOMObject(), msg__);
4183 : // Sentinel = 'isDOMObject'
4184 0 : (msg__)->WriteSentinel(4083735162);
4185 0 : Write((v__).objectTag(), msg__);
4186 : // Sentinel = 'objectTag'
4187 0 : (msg__)->WriteSentinel(4009834374);
4188 0 : }
4189 :
4190 0 : auto PJavaScriptChild::Read(
4191 : RemoteObject* v__,
4192 : const Message* msg__,
4193 : PickleIterator* iter__) -> bool
4194 : {
4195 0 : if ((!(Read((&((v__)->serializedId())), msg__, iter__)))) {
4196 0 : FatalError("Error deserializing 'serializedId' (uint64_t) member of 'RemoteObject'");
4197 0 : return false;
4198 : }
4199 : // Sentinel = 'serializedId'
4200 0 : if ((!((msg__)->ReadSentinel(iter__, 517551973)))) {
4201 0 : mozilla::ipc::SentinelReadError("Error deserializing 'serializedId' (uint64_t) member of 'RemoteObject'");
4202 0 : return false;
4203 : }
4204 0 : if ((!(Read((&((v__)->isCallable())), msg__, iter__)))) {
4205 0 : FatalError("Error deserializing 'isCallable' (bool) member of 'RemoteObject'");
4206 0 : return false;
4207 : }
4208 : // Sentinel = 'isCallable'
4209 0 : if ((!((msg__)->ReadSentinel(iter__, 581027930)))) {
4210 0 : mozilla::ipc::SentinelReadError("Error deserializing 'isCallable' (bool) member of 'RemoteObject'");
4211 0 : return false;
4212 : }
4213 0 : if ((!(Read((&((v__)->isConstructor())), msg__, iter__)))) {
4214 0 : FatalError("Error deserializing 'isConstructor' (bool) member of 'RemoteObject'");
4215 0 : return false;
4216 : }
4217 : // Sentinel = 'isConstructor'
4218 0 : if ((!((msg__)->ReadSentinel(iter__, 2453797865)))) {
4219 0 : mozilla::ipc::SentinelReadError("Error deserializing 'isConstructor' (bool) member of 'RemoteObject'");
4220 0 : return false;
4221 : }
4222 0 : if ((!(Read((&((v__)->isDOMObject())), msg__, iter__)))) {
4223 0 : FatalError("Error deserializing 'isDOMObject' (bool) member of 'RemoteObject'");
4224 0 : return false;
4225 : }
4226 : // Sentinel = 'isDOMObject'
4227 0 : if ((!((msg__)->ReadSentinel(iter__, 4083735162)))) {
4228 0 : mozilla::ipc::SentinelReadError("Error deserializing 'isDOMObject' (bool) member of 'RemoteObject'");
4229 0 : return false;
4230 : }
4231 0 : if ((!(Read((&((v__)->objectTag())), msg__, iter__)))) {
4232 0 : FatalError("Error deserializing 'objectTag' (nsCString) member of 'RemoteObject'");
4233 0 : return false;
4234 : }
4235 : // Sentinel = 'objectTag'
4236 0 : if ((!((msg__)->ReadSentinel(iter__, 4009834374)))) {
4237 0 : mozilla::ipc::SentinelReadError("Error deserializing 'objectTag' (nsCString) member of 'RemoteObject'");
4238 0 : return false;
4239 : }
4240 0 : return true;
4241 : }
4242 :
4243 0 : auto PJavaScriptChild::Write(
4244 : const NullVariant& v__,
4245 : Message* msg__) -> void
4246 : {
4247 0 : }
4248 :
4249 0 : auto PJavaScriptChild::Read(
4250 : NullVariant* v__,
4251 : const Message* msg__,
4252 : PickleIterator* iter__) -> bool
4253 : {
4254 0 : return true;
4255 : }
4256 :
4257 0 : auto PJavaScriptChild::Write(
4258 : const ReturnDeadCPOW& v__,
4259 : Message* msg__) -> void
4260 : {
4261 0 : }
4262 :
4263 0 : auto PJavaScriptChild::Read(
4264 : ReturnDeadCPOW* v__,
4265 : const Message* msg__,
4266 : PickleIterator* iter__) -> bool
4267 : {
4268 0 : return true;
4269 : }
4270 :
4271 :
4272 :
4273 : } // namespace jsipc
4274 : } // namespace mozilla
|