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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/custom/register-element-with-U212A.html

Issue 2963173004: document.registerElement() rejects a valid unregistered type with U+212A. (Closed)
Patch Set: Rebased the patch Created 3 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/custom/V0CustomElementRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/custom/register-element-with-U212A.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/custom/register-element-with-U212A.html b/third_party/WebKit/LayoutTests/fast/dom/custom/register-element-with-U212A.html
new file mode 100644
index 0000000000000000000000000000000000000000..30c3f1081991286c2f65f031eb5adc1406c402bf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/custom/register-element-with-U212A.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script>
+test(function () {
+
+ var A = document.registerElement('x-tkent');
+ assert_true(document.createElement('x-tkent') instanceof A);
+
+ var B = document.registerElement('x-t\u212Aent');
+ assert_true(document.createElement('x-t\u212Aent') instanceof B);
+
+}, 'registerElement should register type with U+212A');
+
+</script>
+
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/custom/V0CustomElementRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698