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

Side by Side Diff: webkit/data/layout_tests/chrome/fast/dom/wrapper-context.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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <body>
3 Tests that node wrappers are created in the context to which they belong.
4 You should see PASS below.
5 <br>
6 <div id="output"></div>
7 <iframe id="inner" src="resources/wrapper-context-inner.html"></iframe>
8 <script>
9 if (window.layoutTestController) {
10 layoutTestController.dumpAsText();
11 layoutTestController.waitUntilDone();
12 }
13
14 function writeOutput(s) {
15 var paragraph = document.createElement("p");
16 paragraph.innerHTML = s;
17 document.getElementById("output").appendChild(paragraph);
18 }
19
20 // Used to create the document wrapper.
21 var innerDocument;
22
23 // Once the inner frame has loaded, run the test.
24 function innerHasLoaded() {
25 writeOutput("Running...");
26 innerDocument = inner.document;
27 inner.runTest();
28 }
29 </script>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698