| 27 | } |
| 28 | |
| 29 | bool JobQueue::getHostDefinedData(JSContext *cx, JS::MutableHandle<JSObject *> data) const { |
| 30 | data.set(nullptr); // We don't need the host defined data |
| 31 | return true; // `true` indicates no error |
| 32 | } |
| 33 | |
| 34 | bool JobQueue::enqueuePromiseJob(JSContext *cx, |
| 35 | [[maybe_unused]] JS::HandleObject promise, |