Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html

Issue 1954153002: Revert of Import web-platform-tests@88b9a65ce806b5f67e0a535bf2f1602c2df6af58 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html
index d7445d4328b1b04c0e4d53d409f4d35ac03d0887..5c35f6b66010464b0f5cff6d69626dab5f5afd8c 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/leaktests/html-collection.html
@@ -20,8 +20,7 @@
<script></script>
</template>
<div id='doc'></div>
-<div id='host-open'></div>
-<div id='host-closed'></div>
+<div id='host'></div>
</body>
<script>
'use strict';
@@ -42,13 +41,9 @@
fillTemplate(doc, 'doc-');
// Construct shadow subtree with 'shadow-*' ids.
-var host = document.getElementById('host-open');
+var host = document.getElementById('host');
var shadow = host.attachShadow({mode: 'open'});
-fillTemplate(shadow, 'shadow-open-');
-
-host = document.getElementById('host-closed');
-shadow = host.attachShadow({mode: 'closed'});
-fillTemplate(shadow, 'shadow-closed-');
+fillTemplate(shadow, 'shadow-');
function testCollection(collection) {
var elements = document[collection];

Powered by Google App Engine
This is Rietveld 408576698