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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/object-tag-javascript-url.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-tag-javascript-url.html
diff --git a/LayoutTests/http/tests/security/xssAuditor/object-tag-javascript-url.html b/LayoutTests/http/tests/security/xssAuditor/object-tag-javascript-url.html
index 0172d81ee4d4cef5f22195fbb7bb2cf62e3fb988..cbd54233313f4b2e7c71180b9524909e39fdee55 100644
--- a/LayoutTests/http/tests/security/xssAuditor/object-tag-javascript-url.html
+++ b/LayoutTests/http/tests/security/xssAuditor/object-tag-javascript-url.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-intertag.pl?relay-target-ids-for-event=beforeload&q=<object id='object' data='javascript:alert(document.domain)'></object>">
+<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?wait-for-load=1&q=<object id='object' data='javascript:alert(document.domain)'></object>">
</iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698