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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/frames/deep-nested-about-blank.html

Issue 1410093006: Exempt about: URLs from self-reference check for nested frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
1 <script src="../../resources/testharness.js"></script>
2 <script src="../../resources/testharnessreport.js"></script>
3 <script>
4 window.onload = function() {
5 var frames = new Set();
6 var win = window;
7 for (i = 0; i < 10; i++) {
8 var frame = win.document.createElement('iframe');
9 win.document.body.appendChild(frame);
10 frames.add(frame);
11 win = win[0];
12 }
13 test(function() {
14 frames.forEach( function(value) { assert_not_equals(value.clientHeig ht, 0) } )
dcheng 2015/11/18 03:23:18 How come this can't use a check for contentDocumen
Xiaocheng 2015/11/18 10:26:00 TL;DR: For a nested frame created in this way, its
dcheng 2015/11/18 21:32:51 Hmm. I think there's some room for cleanup in the
15 }, "all nested about:blank iframes should be displayed correctly");
dcheng 2015/11/18 03:23:18 Nit: "nested about:blank iframes should not be blo
Xiaocheng 2015/11/18 10:26:00 Done.
16 }
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698