summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/example/unit/test_check_nsIException.js
blob: b496551ceebcb1e1b970e8fe2b170b7c70f35464 (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 () {
    Services.env.QueryInterface(Ci.nsIFile);
  }, "NS_NOINTERFACE");
}