Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: lib/src/runner/browser/browser.dart

Issue 1070313002: Add firefox support. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Don't double-compile test suites Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/backend/test_platform.dart ('k') | lib/src/runner/browser/chrome.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library test.runner.browser.browser;
6
7 import 'dart:async';
8
9 /// An interface for running browser instances.
10 ///
11 /// This is intentionally coarse-grained: browsers are controlled primary from
12 /// inside a single tab. Thus this interface only provides support for closing
13 /// the browser and seeing if it closes itself.
14 ///
15 /// Any errors starting or running the browser process are reported through
16 /// [onExit].
17 abstract class Browser {
18 /// A future that completes when the browser exits.
19 ///
20 /// If there's a problem starting or running the browser, this will complete
21 /// with an error.
22 Future get onExit;
23
24 /// Kills the browser process.
25 ///
26 /// Returns the same [Future] as [onExit], except that it won't emit
27 /// exceptions.
28 Future close();
29 }
OLDNEW
« no previous file with comments | « lib/src/backend/test_platform.dart ('k') | lib/src/runner/browser/chrome.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698