Index: sdk/lib/html/dartium/html_dartium.dart |
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart |
index c8ffdd6d5dad4a1bf436fc78e8c6b3444a2ab8d9..80f607fc2eeccb90f237fb184fb6c5e36122e072 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -40554,7 +40554,7 @@ class _SameOriginUriPolicy implements UriPolicy { |
_hiddenAnchor.protocol == _loc.protocol) || |
(_hiddenAnchor.hostname == '' && |
_hiddenAnchor.port == '' && |
- _hiddenAnchor.protocol == ':'); |
+ (_hiddenAnchor.protocol == ':' || _hiddenAnchor.protocol == '')); |
} |
} |