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

Side by Side Diff: webkit/data/layout_tests/chrome/fast/dom/resources/wrapper-context-inner.html

Issue 6442: Let's try this again. The regressions were caused by an incorrect use... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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
« no previous file with comments | « no previous file | webkit/data/layout_tests/chrome/fast/dom/wrapper-context.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <html>
2 <body onload="RunTest()">
3 <script>
4 // Used from the top frame to know when this frame has been loaded.
5 var loaded = false;
6
7 // After the top frame has accessed the document of this frame, we
8 // test that the document wrapper was created in this context and
9 // not in the top context.
10 function RunTest() {
11 loaded = true;
12 if (top.innerDocument) {
13 var paragraph = document.createElement('p');
14 if (HTMLElement.prototype.isPrototypeOf(paragraph)) {
15 top.WriteOutput("PASS");
16 } else {
17 top.WriteOutput("FAIL");
18 }
19 if (window.layoutTestController) {
20 layoutTestController.notifyDone();
21 }
22 } else {
23 setTimeout(RunTest, 100);
24 }
25 }
26 </script>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « no previous file | webkit/data/layout_tests/chrome/fast/dom/wrapper-context.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698