OLD | NEW |
| (Empty) |
1 // Copyright (c) 2014, 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 /// File imported by browser_perf_testing.dart controller page to determine when | |
6 /// a performance test is done. This is specific to each performance test. | |
7 | |
8 // The function that does the test to determine if this performance test is | |
9 // completed, given a String containing the event queue (most recent event is | |
10 // last). | |
11 function testIsComplete(message) { | |
12 return message.indexOf('alldone') != -1; | |
13 } | |
OLD | NEW |