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

Unified Diff: third_party/WebKit/LayoutTests/custom-elements/imports/sync-create-element-order.html

Issue 2279693002: Fix typos in custom element + imports layout tests (Closed)
Patch Set: Created 4 years, 4 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/custom-elements/imports/sync-create-element-order.html
diff --git a/third_party/WebKit/LayoutTests/custom-elements/imports/sync-create-element-order.html b/third_party/WebKit/LayoutTests/custom-elements/imports/sync-create-element-order.html
index 6587255b97cb07908c28c26e3ef4972e38693f3c..182df2b60d08f3daf883d2f8309d07f7dd9eb090 100644
--- a/third_party/WebKit/LayoutTests/custom-elements/imports/sync-create-element-order.html
+++ b/third_party/WebKit/LayoutTests/custom-elements/imports/sync-create-element-order.html
@@ -34,10 +34,10 @@ import1.href = 'resources/import-custom.html';
// TODO(kochi): crbug.com/640465 synchronous creation fails in imports.
import1.onload = test.step_func_done(() => {
- let elementsInMaster = document.querySelector('x-x');
- let elementsInImport = import1.import.querySelector('x-x');
+ let elementInMaster = document.querySelector('x-x');
+ let elementInImport = import1.import.querySelector('x-x');
- assert_array_equals(reactions, [elementsInMaster, elementsInImport],
+ assert_array_equals(reactions, [elementInMaster, elementInImport],
'Constructor should run in the order elements are created');
});

Powered by Google App Engine
This is Rietveld 408576698