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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-Element-getElementsByTagName.js

Issue 2254503003: W3C auto test importer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 'Modifies TestExpectations and/or downloads new baselines for tests' 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/imported/wpt/dom/nodes/Document-Element-getElementsByTagName.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-Element-getElementsByTagName.js b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-Element-getElementsByTagName.js
index 3d206062d3a2b6a6945c685ca8858247b3732da9..edbac646d5ae84bfc86a952a9b3759a01e7b5470 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-Element-getElementsByTagName.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-Element-getElementsByTagName.js
@@ -162,17 +162,17 @@ function test_getElementsByTagName(context, element) {
test(function() {
var t = element.appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "test:aÇ"))
this.add_cleanup(function() {element.removeChild(t)})
- assert_array_equals(context.getElementsByTagName("AÇ"), [t], "All uppercase input")
- assert_array_equals(context.getElementsByTagName("aÇ"), [t], "Ascii lowercase input")
- assert_array_equals(context.getElementsByTagName("aç"), [], "All lowercase input")
+ assert_array_equals(context.getElementsByTagName("TEST:AÇ"), [t], "All uppercase input")
+ assert_array_equals(context.getElementsByTagName("test:aÇ"), [t], "Ascii lowercase input")
+ assert_array_equals(context.getElementsByTagName("test:aç"), [], "All lowercase input")
}, "Element in HTML namespace, prefix, non-ascii characters in name")
test(function() {
- var t = element.appendChild(document.createElementNS("test", "test:AÇ"))
+ var t = element.appendChild(document.createElementNS("test", "TEST:AÇ"))
this.add_cleanup(function() {element.removeChild(t)})
- assert_array_equals(context.getElementsByTagName("AÇ"), [t], "All uppercase input")
- assert_array_equals(context.getElementsByTagName("aÇ"), [], "Ascii lowercase input")
- assert_array_equals(context.getElementsByTagName("aç"), [], "All lowercase input")
+ assert_array_equals(context.getElementsByTagName("TEST:AÇ"), [t], "All uppercase input")
+ assert_array_equals(context.getElementsByTagName("test:aÇ"), [], "Ascii lowercase input")
+ assert_array_equals(context.getElementsByTagName("test:aç"), [], "All lowercase input")
}, "Element in non-HTML namespace, prefix, non-ascii characters in name")
test(function() {

Powered by Google App Engine
This is Rietveld 408576698