OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * A configuration for running layoutr tests with testrunner. | 6 * A configuration for running layoutr tests with testrunner. |
7 * This configuration is similar to the interactive_html_config | 7 * This configuration is similar to the interactive_html_config |
8 * as it runs each test in its own IFrame. However, where the former | 8 * as it runs each test in its own IFrame. However, where the former |
9 * recreated the IFrame for each test, here the IFrames are preserved. | 9 * recreated the IFrame for each test, here the IFrames are preserved. |
10 * Furthermore we post a message on completion. | 10 * Furthermore we post a message on completion. |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 */ | 301 */ |
302 void useHtmlLayoutConfiguration() { | 302 void useHtmlLayoutConfiguration() { |
303 if (window.location.search == '') { // This is the parent. | 303 if (window.location.search == '') { // This is the parent. |
304 _prepareDom(); | 304 _prepareDom(); |
305 configure(new ParentHtmlConfiguration()); | 305 configure(new ParentHtmlConfiguration()); |
306 } else { | 306 } else { |
307 configure(new ChildHtmlConfiguration()); | 307 configure(new ChildHtmlConfiguration()); |
308 } | 308 } |
309 } | 309 } |
310 | 310 |
OLD | NEW |