summaryrefslogtreecommitdiffstats
path: root/content/shell/layout_test_controller.js
blob: 41cc8d40026a53562e073527586688cfd5eaad99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

var layoutTestController = layoutTestController || {};

(function() {
  native function NotifyDone();
  native function SetDumpAsText();
  native function SetDumpChildFramesAsText();
  native function SetWaitUntilDone();

  layoutTestController = new function() {
    this.notifyDone = NotifyDone;
    this.dumpAsText = SetDumpAsText;
    this.dumpChildFramesAsText = SetDumpChildFramesAsText;
    this.waitUntilDone = SetWaitUntilDone;
  }();
})();