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

Side by Side Diff: LayoutTests/fast/loader/javascript-url-iframe-remove-on-navigate.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <iframe src="http://does.not.exist/" id="target"></iframe>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
6 }
7
8 setTimeout(function() {
9 document.getElementById("target").src = "javascript:alert('FAIL')";
10 }, 0);
11
12 window.addEventListener("popstate", function() {
13 document.write("PASS - Javascript URL blocked without crashing.");
14 if (window.testRunner)
15 testRunner.notifyDone();
16 }, false);
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698