Index: LayoutTests/http/tests/security/contentSecurityPolicy/resources/reflected-xss-and-xss-protection.js |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/reflected-xss-and-xss-protection.js b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/reflected-xss-and-xss-protection.js |
index 5348cd49ffd152b35e322eae0d72356a62297311..06bf088848001e00df15654f0883661640c5e5c1 100644 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/reflected-xss-and-xss-protection.js |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/reflected-xss-and-xss-protection.js |
@@ -30,7 +30,7 @@ function testMixedHeader(csp, xssProtection) { |
function frameLoaded() { |
var frame = document.querySelector('iframe'); |
try { |
- alert('Loaded ' + frame.contentWindow.location + ' into the IFrame.'); |
+ alert('Loaded ' + frame.contentWindow.location.href + ' into the IFrame.'); |
} catch (e) { |
alert('Loaded cross-origin frame.'); |
} |