diff options
author | ager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 08:46:07 +0000 |
---|---|---|
committer | ager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 08:46:07 +0000 |
commit | 040ea9e9e07cfb1845875852771fe9db8d2b4592 (patch) | |
tree | 321925151b4933a56a565dd69b52d23a0b698f82 | |
parent | 7b9531b524c6453abe9bc9c2f77928e7cc0b2965 (diff) | |
download | chromium_src-040ea9e9e07cfb1845875852771fe9db8d2b4592.zip chromium_src-040ea9e9e07cfb1845875852771fe9db8d2b4592.tar.gz chromium_src-040ea9e9e07cfb1845875852771fe9db8d2b4592.tar.bz2 |
Forgot to set the eol-style svn property on these files.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2788 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed, 62 insertions, 62 deletions
diff --git a/webkit/data/layout_tests/chrome/fast/dom/resources/wrapper-context-inner.html b/webkit/data/layout_tests/chrome/fast/dom/resources/wrapper-context-inner.html index fe82461..c47aa6e 100644 --- a/webkit/data/layout_tests/chrome/fast/dom/resources/wrapper-context-inner.html +++ b/webkit/data/layout_tests/chrome/fast/dom/resources/wrapper-context-inner.html @@ -1,28 +1,28 @@ -<html>
-<body onload="RunTest()">
-<script>
-// Used from the top frame to know when this frame has been loaded.
-var loaded = false;
-
-// After the top frame has accessed the document of this frame, we
-// test that the document wrapper was created in this context and
-// not in the top context.
-function RunTest() {
- loaded = true;
- if (top.innerDocument) {
- var paragraph = document.createElement('p');
- if (HTMLElement.prototype.isPrototypeOf(paragraph)) {
- top.WriteOutput("PASS");
- } else {
- top.WriteOutput("FAIL");
- }
- if (window.layoutTestController) {
- layoutTestController.notifyDone();
- }
- } else {
- setTimeout(RunTest, 100);
- }
-}
-</script>
-</body>
-</html>
+<html> +<body onload="RunTest()"> +<script> +// Used from the top frame to know when this frame has been loaded. +var loaded = false; + +// After the top frame has accessed the document of this frame, we +// test that the document wrapper was created in this context and +// not in the top context. +function RunTest() { + loaded = true; + if (top.innerDocument) { + var paragraph = document.createElement('p'); + if (HTMLElement.prototype.isPrototypeOf(paragraph)) { + top.WriteOutput("PASS"); + } else { + top.WriteOutput("FAIL"); + } + if (window.layoutTestController) { + layoutTestController.notifyDone(); + } + } else { + setTimeout(RunTest, 100); + } +} +</script> +</body> +</html> diff --git a/webkit/data/layout_tests/chrome/fast/dom/wrapper-context-expected.txt b/webkit/data/layout_tests/chrome/fast/dom/wrapper-context-expected.txt index 0cdd613..7ef22e9 100644 --- a/webkit/data/layout_tests/chrome/fast/dom/wrapper-context-expected.txt +++ b/webkit/data/layout_tests/chrome/fast/dom/wrapper-context-expected.txt @@ -1 +1 @@ -PASS
+PASS diff --git a/webkit/data/layout_tests/chrome/fast/dom/wrapper-context.html b/webkit/data/layout_tests/chrome/fast/dom/wrapper-context.html index e81c40a..3f038d8 100644 --- a/webkit/data/layout_tests/chrome/fast/dom/wrapper-context.html +++ b/webkit/data/layout_tests/chrome/fast/dom/wrapper-context.html @@ -1,33 +1,33 @@ -<html>
-<body onload="AccessInnerDocument()">
-<div id="output"></div>
-<iframe id="inner" src="resources/wrapper-context-inner.html"></iframe>
-<script>
-if (window.layoutTestController) {
- layoutTestController.waitUntilDone();
- layoutTestController.dumpAsText();
-}
-
-// Write to the output div.
-function WriteOutput(s) {
- var paragraph = document.createElement("p");
- paragraph.innerHTML = s;
- document.getElementById("output").appendChild(paragraph);
-}
-
-// Used from the inner frame to know when this frame has accessed
-// the document of the inner frame.
-var innerDocument;
-
-// Once the inner frame has loaded, access it's document and assign
-// the wrapper to innerDocument.
-function AccessInnerDocument() {
- if (inner.loaded) {
- innerDocument = inner.document;
- } else {
- setTimeout(AccessInnerDocument, 100);
- }
-}
-</script>
-</body>
-</html>
+<html> +<body onload="AccessInnerDocument()"> +<div id="output"></div> +<iframe id="inner" src="resources/wrapper-context-inner.html"></iframe> +<script> +if (window.layoutTestController) { + layoutTestController.waitUntilDone(); + layoutTestController.dumpAsText(); +} + +// Write to the output div. +function WriteOutput(s) { + var paragraph = document.createElement("p"); + paragraph.innerHTML = s; + document.getElementById("output").appendChild(paragraph); +} + +// Used from the inner frame to know when this frame has accessed +// the document of the inner frame. +var innerDocument; + +// Once the inner frame has loaded, access it's document and assign +// the wrapper to innerDocument. +function AccessInnerDocument() { + if (inner.loaded) { + innerDocument = inner.document; + } else { + setTimeout(AccessInnerDocument, 100); + } +} +</script> +</body> +</html> |