summaryrefslogtreecommitdiffstats
path: root/devtools/client/sourceeditor/test/browser_codemirror.js
blob: 381a6530f9d21e1e388b86bc1eb25f0ef070a2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* vim: set ts=2 et sw=2 tw=80: */
/* 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);
  });
}