summaryrefslogtreecommitdiff
path: root/devtools/shared/sourcemap/tests/unit/head_sourcemap.js
blob: 12d4c078ebc8fa865195b180ffbe9e3c3bea7fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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;