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

Side by Side Diff: webkit/data/layout_tests/chrome/fast/dom/htmliframeelement-document.html

Issue 55025: Remove tests that have been upstreamed. Update test_expectations list... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 <HTML>
2
3 <script>
4 if (window.layoutTestController)
5 layoutTestController.dumpAsText();
6 </script>
7
8 <BODY>
9 <p>This tests that an old Safari extension, HTMLIFrameElement.document.
10 If HTMLIFrameElement.document exists, it should be an alias of HTMLIFrameElement .contentDocument. </p>
11
12 <p>If the test pass, it should display PASSED after the the iframe box</p>
13 <iframe id='iframe_'></iframe>
14 <div id='console'>Text should be replaced on success</div>
15
16 </BODY>
17
18 <script>
19 var iframe = document.getElementById('iframe_');
20 var console = document.getElementById('console');
21 var txt = 'This test: PASSED';
22 if (iframe.document && iframe.document !== iframe.contentWindow.document)
23 txt = 'This test: FAILED!!!';
24 console.innerHTML = txt;
25 </script>
26
27 </HTML>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698