Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: LayoutTests/http/tests/security/xssAuditor/full-block-script-tag.html

Issue 414223004: Implement NavigationScheduler::schedulePageBlock() as a redirect to empty substitute data. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');
}

Powered by Google App Engine
This is Rietveld 408576698