| 339 | } |
| 340 | |
| 341 | __attribute__((export_name("check_init"))) ComponentizeRuntime::InitError |
| 342 | check_init() { |
| 343 | JSAutoRealm ar(Runtime.cx, Runtime.engine->global()); |
| 344 | JS::RootedValue exc(Runtime.cx); |
| 345 | if (JS_GetPendingException(Runtime.cx, &exc)) { |
| 346 | ReportAndClearException(Runtime.cx); |
| 347 | } |
| 348 | return Runtime.init_err; |
| 349 | } |
| 350 | |
| 351 | __attribute__((export_name("componentize.wizer"))) void |
| 352 | componentize_initialize() { |
no test coverage detected