Lines Matching refs:ecmaVm

70         TestHelper::CreateEcmaVMWithScope(ecmaVm, thread, scope);
75 TestHelper::DestroyEcmaVMWithScope(ecmaVm, scope);
79 EcmaVM *ecmaVm {nullptr};
90 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
91 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
92 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
114 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
115 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
116 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
117 ecmaVm->GetJsDebuggerManager()->SetIsDebugApp(true);
118 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true);
122 ecmaVm->GetJsDebuggerManager()->SetIsDebugApp(false);
123 ecmaVm->GetJsDebuggerManager()->SetDebugMode(false);
140 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
141 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
142 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
170 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
171 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
172 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
174 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsDebugMode());
190 EXPECT_TRUE(ecmaVm->GetJsDebuggerManager()->IsDebugMode());
203 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
204 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
205 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
207 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true);
218 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsDebugMode());
231 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
232 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
233 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
259 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
260 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
261 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
290 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
291 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
292 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
321 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
322 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
323 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
349 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
350 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
351 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
389 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
390 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
391 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
417 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
418 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
419 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
447 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
448 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
449 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
474 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
475 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
476 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
502 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
503 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
504 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
533 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
534 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
535 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
564 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
565 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
566 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
591 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
592 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
593 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
620 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
621 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
622 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
651 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
652 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
653 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
681 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
682 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
683 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
708 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
709 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
710 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
736 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
737 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
738 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
740 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true);
772 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
773 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
774 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
800 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
801 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
802 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
829 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
830 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
831 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
859 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
860 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
861 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
889 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
890 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
891 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
893 EXPECT_FALSE(ecmaVm->GetJsDebuggerManager()->IsMixedDebugEnabled());
907 EXPECT_TRUE(ecmaVm->GetJsDebuggerManager()->IsMixedDebugEnabled());
921 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
922 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
923 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
948 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
949 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
950 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
978 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
979 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
980 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1007 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1008 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1009 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1034 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1035 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1036 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1068 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1069 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1070 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1095 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1096 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1097 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1124 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1125 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1126 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1151 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1152 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1153 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1180 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1181 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1182 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1183 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true);
1209 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1210 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1211 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1212 ecmaVm->GetJsDebuggerManager()->SetDebugMode(true);
1245 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1246 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1247 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1276 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1277 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1278 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1304 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1305 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1306 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1332 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1333 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1334 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1367 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1368 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1369 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1403 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1404 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1405 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1433 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1434 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1435 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1461 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1462 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1463 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1491 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1492 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1493 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1521 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1522 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1523 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1548 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1549 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1550 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1579 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1580 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1581 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1610 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1611 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1612 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1629 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1631 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1632 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1653 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1655 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1656 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1677 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1679 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1680 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1701 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1703 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1704 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1725 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1727 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1728 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1749 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1751 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1752 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1773 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1774 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1775 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());
1792 ProtocolChannel *protocolChannel = new ProtocolHandler(callback, ecmaVm);
1793 auto runtimeImpl = std::make_unique<RuntimeImpl>(ecmaVm, protocolChannel);
1794 auto debuggerImpl = std::make_unique<DebuggerImpl>(ecmaVm, protocolChannel, runtimeImpl.get());