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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/object-src-inject.html

Issue 205523003: Remove beforeload events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove more tests Created 6 years, 9 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/object-src-inject.html
diff --git a/LayoutTests/http/tests/security/xssAuditor/object-src-inject.html b/LayoutTests/http/tests/security/xssAuditor/object-src-inject.html
index cd810f899a2330e905375d8e45527ae43b90df3a..3a44fcb6c605bde5947d31c3f91dc7d11b6f9e4a 100644
--- a/LayoutTests/http/tests/security/xssAuditor/object-src-inject.html
+++ b/LayoutTests/http/tests/security/xssAuditor/object-src-inject.html
@@ -7,12 +7,12 @@ if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setXSSAuditorEnabled(true);
testRunner.waitUntilDone();
- notifyDoneAfterReceivingBeforeloadFromIds(["object"]);
+ notifyDoneAfterReceivingLoaded();
}
</script>
</head>
<body>
-<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-object-src.pl?relay-target-ids-for-event=beforeload&q=http://127.0.0.1:8000/security/xssAuditor/resources/dummy.swf">
+<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-object-src.pl?wait-for-load=1&q=http://127.0.0.1:8000/security/xssAuditor/resources/dummy.swf">
</iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698