mirror of
https://github.com/classilla/tenfourfox.git
synced 2026-01-26 09:16:38 +00:00
19 lines
354 B
JavaScript
19 lines
354 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
"use strict";
|
|
var Cc = Components.classes;
|
|
var Ci = Components.interfaces;
|
|
var Cu = Components.utils;
|
|
var Cr = Components.results;
|
|
|
|
function doesNotThrow(f) {
|
|
try {
|
|
f();
|
|
} catch(e) {
|
|
ok(false, e + e.stack);
|
|
}
|
|
}
|
|
|
|
var assert = this;
|