Files
webcomponentsjs/tests/HTMLImports/runner.html
Daniel Freedman 3efad399c0 Use WCT 4
Fix travis for building on modern node
Fix Template HTMLImports loading dependence in wct 4
2015-12-15 15:26:57 -08:00

51 lines
1.6 KiB
HTML

<!doctype html>
<!--
@license
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<title>HTMLImports Tests</title>
<meta charset="utf-8">
<!-- HTMLImports -->
<script>
WCT = {
waitFor: function(callback) {
this.HTMLImports.whenReady(callback);
}
};
</script>
<script src="../../src/HTMLImports/HTMLImports.js"></script>
<script src="../../../web-component-tester/browser.js"></script>
<script>
var suites = [
'html/HTMLImports.html',
'html/parser.html',
'html/style-links.html',
'html/style-paths.html',
'html/load.html',
'html/load-404.html',
'html/load-loop.html',
'html/base/load-base.html',
'html/currentScript.html',
'html/dedupe.html',
'html/dynamic.html',
'html/dynamic-all-imports-detail.html',
'html/dynamic-errors-detail.html',
'html/csp.html',
'html/customevent-detail.html',
'html/encoding.html',
'html/HTMLImportsLoaded-native.html',
];
// NOTE: The MO polyfill does not function on disconnected documents
// like html imports so dynamic elements in imports are not supported.
if (!navigator.userAgent.match(/MSIE 10/)) {
suites.push('html/dynamic-elements.html');
}
WCT.loadSuites(suites);
</script>