summaryrefslogtreecommitdiffstats
path: root/dom/worklet/tests/common.js
blob: 9d70f6aa7e39c6108d47cb7bac2416589d89041f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function loadTest(file) {
  var iframe = document.createElement('iframe');
  iframe.src = file;

  document.body.appendChild(iframe);
}

function setupTest() {
  window.SimpleTest = parent.SimpleTest;
  window.is = parent.is;
  window.isnot = parent.isnot;
  window.ok = parent.ok;
  window.info = parent.info;
}