 _fireEvent(type, data = null) {
    let event = Cu.cloneInto(
      {
        detail: {
          type,
          data,
        },
      },
      this.contentWindow
    );
    this.contentWindow.dispatchEvent(
      new this.contentWindow.CustomEvent("ContentSearchService", event)
    );
  }
}
PK