Update web-platform-tests to revision 66dc9c93f2c8ebd7c8fdc28fae20d92713c97806

This commit is contained in:
WPT Sync Bot 2019-06-26 10:22:48 +00:00
parent e488ea750b
commit 12f4ae132e
1651 changed files with 8123 additions and 14152 deletions

View file

@ -7,6 +7,9 @@
<div id="host"></div>
<script>
let svgScript = document.createElementNS("http://www.w3.org/2000/svg", "script");
svgScript.innerHTML = `test(function() {}, "svg:script runs correctly in a shadow tree");`;
svgScript.innerHTML = "window.scriptRan = true";
document.getElementById("host").attachShadow({ mode: "open" }).appendChild(svgScript);
test(function() {
assert_true(window.scriptRan);
}, "svg:script runs correctly in a shadow tree");
</script>