Update shadow DOM and custom elements tests
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / shadow-dom / resources / shadow-dom-utils.js
index 07db343..37c9a9a 100644 (file)
@@ -59,6 +59,8 @@ var HTML5_ELEMENT_NAMES = [
     'wbr'
 ];
 
+var ATTACHSHADOW_DISALLOWED_ELEMENTS = HTML5_ELEMENT_NAMES.filter(el => !ATTACHSHADOW_SAFELISTED_ELEMENTS.includes(el));
+
 function unit(f) {
     return function () {
         var ctx = newContext();