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

Side by Side Diff: LayoutTests/fast/js/document-all-between-frames.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
8 window.passUp = null;
9 </script>
10 <iframe id="subframe" src="resources/document-all-between-frames-subframe.html"> </iframe>
11 <script>
12 window.jsTestIsAsync = true;
13 window.passUp = [];
14 function waitForResponse() {
15 if (window.passUp.length < (9 * 300) + 1) {
16 setTimeout(waitForResponse, 100);
17 return;
18 }
19 for (var i = 0; i < window.passUp.length; i++) {
20 debug(window.passUp[i]);
21 }
22 if (testRunner) {
23 testRunner.notifyDone();
24 }
25 }
26
27 var subframe = document.getElementById("subframe");
28 subframe.contentWindow.passDown = document.all;
29 if (document.all) {
30 debug("FAIL: document.all didn't masquerade as undefined");
31 } else {
32 debug("document.all masqueraded as undefined");
33 }
34 setTimeout(waitForResponse, 100);
35 </script>
36 <script src="resources/js-test-post.js"></script>
37 </body>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698