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

Unified Diff: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp

Issue 2578653002: Do not call lower() on domains set from DOM after canonicalization (Closed)
Patch Set: add test Created 4 years 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/http/tests/security/document-domain-canonicalizes.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/platform/weborigin/SecurityOrigin.cpp
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp
index c84b6ea9a22c2219d5a85a8e85b8c5b1a9aa1612..f3a8f830ad2d390b7cd742e8996af51cf634c99b 100644
--- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp
@@ -203,7 +203,7 @@ PassRefPtr<SecurityOrigin> SecurityOrigin::isolatedCopy() const {
void SecurityOrigin::setDomainFromDOM(const String& newDomain) {
m_domainWasSetInDOM = true;
- m_domain = newDomain.lower();
+ m_domain = newDomain;
}
bool SecurityOrigin::isSecure(const KURL& url) {
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/document-domain-canonicalizes.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698