Index: third_party/WebKit/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception.php b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception.php |
index 78f9988bb6dd3b9dc6c6160e9b6163b50b1e13cf..a9766550bcf127e63e6dd29098c9a25e9b976c8d 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception.php |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception.php |
@@ -14,8 +14,8 @@ header("Suborigin: foobar"); |
var frame = document.querySelector('iframe'); |
window.onload = function () { |
- shouldThrow("frame.contentWindow.event", '"SecurityError: Blocked a frame with origin \\"http://foobar_127.0.0.1:8000\\" from accessing a cross-origin frame."'); |
- shouldThrow("frame.contentWindow.event = 1;", '"SecurityError: Blocked a frame with origin \\"http://foobar_127.0.0.1:8000\\" from accessing a cross-origin frame."'); |
+ shouldThrow("frame.contentWindow.event", '"SecurityError: Blocked a frame with origin \\"http-so://foobar.127.0.0.1:8000\\" from accessing a cross-origin frame."'); |
+ shouldThrow("frame.contentWindow.event = 1;", '"SecurityError: Blocked a frame with origin \\"http-so://foobar.127.0.0.1:8000\\" from accessing a cross-origin frame."'); |
finishJSTest(); |
}; |
</script> |