Index: Source/platform/weborigin/KURL.cpp |
diff --git a/Source/platform/weborigin/KURL.cpp b/Source/platform/weborigin/KURL.cpp |
index b8513b0cf8ffe9026517d40647c3d039e0fc9efc..c92c06c370ef513c215b45589769a0530d5dd782 100644 |
--- a/Source/platform/weborigin/KURL.cpp |
+++ b/Source/platform/weborigin/KURL.cpp |
@@ -707,6 +707,9 @@ void KURL::print() const |
bool equalIgnoringFragmentIdentifier(const KURL& a, const KURL& b) |
{ |
+ if (a.protocolIsData() && b.protocolIsData()) |
+ return a.m_string == b.m_string; |
+ |
// Compute the length of each URL without its ref. Note that the reference |
// begin (if it exists) points to the character *after* the '#', so we need |
// to subtract one. |