summaryrefslogtreecommitdiffstats
path: root/ipc/glue/test/browser/browser_utility_hard_kill.js
blob: 516ef64045c43a05af29bf3cf29c999449a7108b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

add_task(async () => {
  await startUtilityProcess(["unknown"]);

  SimpleTest.expectChildProcessCrash();

  info("Hard kill Utility Process");
  await cleanUtilityProcessShutdown("unknown", true /* preferKill */);
});