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

Unified Diff: LayoutTests/fast/frames/adopt-from-created-document.html

Issue 221673003: Defer iframe JavaScript URL evaluation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/fast/frames/adopt-from-created-document.html
diff --git a/LayoutTests/fast/frames/adopt-from-created-document.html b/LayoutTests/fast/frames/adopt-from-created-document.html
index 2a9829b0c0e0ef20b3b97c6303c324a9460808af..33855d562b30a5d65c9231a3f181e4da39552184 100644
--- a/LayoutTests/fast/frames/adopt-from-created-document.html
+++ b/LayoutTests/fast/frames/adopt-from-created-document.html
@@ -8,10 +8,10 @@ var doc = document.implementation.createDocument('http://www.w3.org/1999/xhtml',
alert(2);
var ifr = doc.createElement('iframe');
alert(3);
-ifr.setAttribute('src', 'javascript:alert(6)');
+ifr.setAttribute('src', 'javascript:alert(7)');
alert(4);
var adopted = document.adoptNode(ifr)
alert(5);
document.body.appendChild(adopted);
-alert(7);
+alert(6);
</script>
abarth-chromium 2014/04/02 00:54:57 I'm worried that we're going to break web sites wi

Powered by Google App Engine
This is Rietveld 408576698