mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-05-11 15:56:04 +00:00
almost everything works!
This commit is contained in:
@@ -12,17 +12,17 @@
|
||||
<head>
|
||||
<title></title>
|
||||
<meta charset="UTF-8">
|
||||
<script src="../../tools/chai/chai.js"></script>
|
||||
<script src="../../tools/htmltest.js"></script>
|
||||
<script src="../../../../web-component-tester/browser.js"></script>
|
||||
<!-- force ShadowDOM polyfill -->
|
||||
<script src="../../../webcomponents.js" shadow></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test('force poly', function() {
|
||||
chai.assert(window.WebComponents, 'WebComponents scope missing');
|
||||
chai.assert.equal(WebComponents.flags.shadow, true, 'improper "shadow" flag');
|
||||
chai.assert(window.ShadowDOMPolyfill, 'ShadowDOMPolyfill missing');
|
||||
done();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user