tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_check_nsIException.js (288B)


      1 /* Any copyright is dedicated to the Public Domain.
      2 * http://creativecommons.org/publicdomain/zero/1.0/ */
      3 
      4 /* import-globals-from ../../head.js */
      5 
      6 function run_test() {
      7  do_check_throws_nsIException(function () {
      8    Services.env.QueryInterface(Ci.nsIFile);
      9  }, "NS_NOINTERFACE");
     10 }