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

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