blob: d27ecd573cb95fef8157cb8085824d472c0f25fc [file] [log] [blame]
/*
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @description
*/
import "dart:html";
import "../../../../Utils/expect.dart";
import "../../../../Utils/async_utils.dart";
import "../../../testcommon.dart";
import "pwd.dart";
main() {
document.body.setInnerHtml('''
<link href="$root/prefetch.link" rel="prefetch">
''', treeSanitizer: new NullTreeSanitizer());
var link = document.body.querySelector('link');
link.onLoad.listen((_) => asyncEnd());
asyncStart();
}