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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/shadow-dom/HTMLSlotElement-interface.html

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 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/external/wpt/shadow-dom/HTMLSlotElement-interface.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/shadow-dom/HTMLSlotElement-interface.html b/third_party/WebKit/LayoutTests/external/wpt/shadow-dom/HTMLSlotElement-interface.html
index a9ab4661b5577ff4a970edb086509dd8e8f38392..4327e5d03e0356b94514d41f9994a5aa0e982bd0 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/shadow-dom/HTMLSlotElement-interface.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/shadow-dom/HTMLSlotElement-interface.html
@@ -139,7 +139,7 @@ function testMutatingSlotName(options)
slotElement.removeAttribute('name');
assert_array_equals(slotElement.assignedNodes(options), [child], 'assignedNodes must be empty when there are no matching elements for the slot name');
- }, 'assignedNodes must update when a default slot is introduced dynamically by a slot rename');
+ }, 'assignedNodes(' + (options ? JSON.stringify(options) : '') + ') must update when a default slot is introduced dynamically by a slot rename');
}
testMutatingSlotName(null);
@@ -193,7 +193,7 @@ function testInsertingAndRemovingSlots(options)
assert_array_equals(secondSlotElement.assignedNodes(options), [],
'assignedNodes on formerly-first but now second unnamed slot element must return an empty array');
- }, 'assignedNodes must update when slot elements are inserted or removed');
+ }, 'assignedNodes(' + (options ? JSON.stringify(options) : '') + ') must update when slot elements are inserted or removed');
}
testInsertingAndRemovingSlots(null);

Powered by Google App Engine
This is Rietveld 408576698