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

Unified Diff: third_party/WebKit/Source/core/html/custom/V0CustomElementRegistry.cpp

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 | « third_party/WebKit/LayoutTests/fast/dom/custom/register-element-with-U212A.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/custom/V0CustomElementRegistry.cpp
diff --git a/third_party/WebKit/Source/core/html/custom/V0CustomElementRegistry.cpp b/third_party/WebKit/Source/core/html/custom/V0CustomElementRegistry.cpp
index 5b10f83b0058fd2d163afa49918ca74af1142654..f3648be6f9161fe81c2b1f04541dd524a2b58bfe 100644
--- a/third_party/WebKit/Source/core/html/custom/V0CustomElementRegistry.cpp
+++ b/third_party/WebKit/Source/core/html/custom/V0CustomElementRegistry.cpp
@@ -48,7 +48,7 @@ V0CustomElementDefinition* V0CustomElementRegistry::RegisterElement(
const AtomicString& user_supplied_name,
V0CustomElement::NameSet valid_names,
ExceptionState& exception_state) {
- AtomicString type = user_supplied_name.DeprecatedLower();
+ AtomicString type = user_supplied_name.LowerASCII();
if (!constructor_builder->IsFeatureAllowed()) {
V0CustomElementException::ThrowException(
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/custom/register-element-with-U212A.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698