summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/example/unit/test_check_nsIException_failing.js
blob: 5cee188e9ad742ab3757739c71a0a9c7ae3cf501 (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");
}