summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/ForceRefreshChild.sys.mjs
blob: b2b965be9e2cfbbb2ef6311367082e324cd1cafa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
export class ForceRefreshChild extends JSWindowActorChild {
  constructor() {
    super();
  }

  handleEvent(evt) {
    this.sendAsyncMessage("test:event", {
      type: evt.type,
      detail: evt.details,
    });
  }
}