mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 12:51:09 +02:00
Backed out changeset 647025383676 (bug1202902) Backed out changeset d70c7fe532c6 (bug1202902)
18 lines
354 B
JavaScript
18 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;
|