summaryrefslogtreecommitdiffstats
path: root/devtools/client/sourceeditor/test/browser_codemirror.js
blob: 70eec52ec58a321281a129aecf48b7166fc81dae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

const URI = "chrome://mochitests/content/browser/devtools/client/" +
            "sourceeditor/test/codemirror/codemirror.html";
loadHelperScript("helper_codemirror_runner.js");

function test() {
  requestLongerTimeout(3);
  waitForExplicitFinish();

  addTab(URI).then(function (tab) {
    runCodeMirrorTest(tab.linkedBrowser);
  });
}