summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/example/unit/test_check_nsIException_failing.js
blob: 5f559247d92aaac0036401150467b837201982be (plain)
1
2
3
4
5
6
7
8
9
10
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

/* import-globals-from ../../head.js */

function run_test() {
  do_check_throws_nsIException(function() {
    throw Error("I find your relaxed dishabille unpalatable");
  }, "NS_NOINTERFACE");
}