Index: LayoutTests/dom/html/level2/html/HTMLIFrameElement11.js |
diff --git a/LayoutTests/dom/html/level2/html/HTMLIFrameElement11.js b/LayoutTests/dom/html/level2/html/HTMLIFrameElement11.js |
index d239fcd1103d34561ed0328607a8b74b25a10d35..7bdc07f965a182c5ef0b5f3453a7716e3d076101 100644 |
--- a/LayoutTests/dom/html/level2/html/HTMLIFrameElement11.js |
+++ b/LayoutTests/dom/html/level2/html/HTMLIFrameElement11.js |
@@ -1,17 +1,14 @@ |
- |
/* |
-Copyright © 2001-2004 World Wide Web Consortium, |
-(Massachusetts Institute of Technology, European Research Consortium |
-for Informatics and Mathematics, Keio University). All |
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the |
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
+Copyright © 2001-2004 World Wide Web Consortium, |
+(Massachusetts Institute of Technology, European Research Consortium |
+for Informatics and Mathematics, Keio University). All |
+Rights Reserved. This work is distributed under the W3C® Software License [1] in the |
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 |
*/ |
- |
- |
/** |
* Gets URI that identifies the test. |
* @return uri identifier of test |
@@ -41,13 +38,13 @@ function setUpPage() { |
builder = createConfiguredBuilder(); |
docsLoaded = 0; |
- |
+ |
var docRef = null; |
if (typeof(this.doc) != 'undefined') { |
docRef = this.doc; |
} |
docsLoaded += preload(docRef, "doc", "iframe2"); |
- |
+ |
if (docsLoaded == 1) { |
// WebKit fix: corrected variable name from 'setUpPage': |
// <http://bugs.webkit.org/show_bug.cgi?id=21506> |
@@ -61,10 +58,8 @@ function setUpPage() { |
} |
} |
- |
- |
// |
-// This method is called on the completion of |
+// This method is called on the completion of |
// each asychronous load started in setUpTests. |
// |
// When every synchronous loaded document has completed, |
@@ -76,11 +71,10 @@ function loadComplete() { |
} |
} |
- |
/** |
-* |
+* |
Retrieve the contentDocument attribute of the second IFRAME element |
- and examine its title. |
+ and examine its title. |
* @author NIST |
* @author Rick Rivello |
@@ -93,7 +87,7 @@ function HTMLIFrameElement11() { |
var cd; |
var vtitle; |
var doc; |
- |
+ |
var docRef = null; |
if (typeof(this.doc) != 'undefined') { |
docRef = this.doc; |
@@ -105,11 +99,8 @@ function HTMLIFrameElement11() { |
vtitle = cd.title; |
assertEquals("titleLink","NIST DOM HTML Test - FRAMESET",vtitle); |
- |
-} |
- |
- |
+} |
function runTest() { |
HTMLIFrameElement11(); |