Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index 69817c104bcabd2b130f4373b79488a564158054..14bfb3eef1fd7b9201cb072440eef82c9c380e5a 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -39275,7 +39275,7 @@ class _SameOriginUriPolicy implements UriPolicy { |
_hiddenAnchor.protocol == _loc.protocol) || |
(_hiddenAnchor.hostname == '' && |
_hiddenAnchor.port == '' && |
- _hiddenAnchor.protocol == ':'); |
+ (_hiddenAnchor.protocol == ':' || _hiddenAnchor.protocol == '')); |
} |
} |