Index: LayoutTests/http/tests/security/xssAuditor/full-block-script-tag.html |
diff --git a/LayoutTests/http/tests/security/xssAuditor/full-block-script-tag.html b/LayoutTests/http/tests/security/xssAuditor/full-block-script-tag.html |
index 0b514f79a91b079e2b3c9cbd5a2e568137527a00..98e03df5a869488cd8f47631904de9c0c26b1373 100644 |
--- a/LayoutTests/http/tests/security/xssAuditor/full-block-script-tag.html |
+++ b/LayoutTests/http/tests/security/xssAuditor/full-block-script-tag.html |
@@ -1,7 +1,7 @@ |
<!DOCTYPE html> |
<html> |
<head> |
-<script src="http://localhost:8000/security/xssAuditor/resources/utilities.js"></script> |
+<script src="/security/xssAuditor/resources/utilities.js"></script> |
<script> |
if (window.testRunner) { |
testRunner.dumpAsText(); |
@@ -14,9 +14,9 @@ function checkframe() |
{ |
try { |
var ref = document.getElementById("frame").contentDocument.referrer; |
- console.log('FAIL: Referrer is "' + ref + '"'); |
+ console.log('PASS: Referrer is "' + ref + '"'); |
} catch (e) { |
- console.log('PASS: Cross-origin access threw: \'' + e.toString() + '\'.'); |
+ console.log('FAIL: same-origin access threw: \'' + e.toString() + '\'.'); |
} |
checkIfFrameLocationMatchesSrcAndCallDone('frame'); |
} |