| Index: LayoutTests/dom/html/level2/html/HTMLFrameElement09.js
|
| diff --git a/LayoutTests/dom/html/level2/html/HTMLFrameElement09.js b/LayoutTests/dom/html/level2/html/HTMLFrameElement09.js
|
| index a5b7dd0b632a39107f4d68e45a199aaaf4df1676..d07089e421c319f788d66b92c0cd922ca9a7620e 100644
|
| --- a/LayoutTests/dom/html/level2/html/HTMLFrameElement09.js
|
| +++ b/LayoutTests/dom/html/level2/html/HTMLFrameElement09.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", "frame2");
|
| -
|
| +
|
| 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,14 +71,13 @@ function loadComplete() {
|
| }
|
| }
|
|
|
| -
|
| /**
|
| -*
|
| +*
|
| The contentDocument attribute specifies the document this frame contains,
|
| if there is any and it is available, or null otherwise.
|
|
|
| Retrieve the contentDocument attribute of the first FRAME element
|
| - and examine its TITLE value.
|
| + and examine its TITLE value.
|
|
|
| * @author NIST
|
| * @author Rick Rivello
|
| @@ -96,7 +90,7 @@ function HTMLFrameElement09() {
|
| var cd;
|
| var vtitle;
|
| var doc;
|
| -
|
| +
|
| var docRef = null;
|
| if (typeof(this.doc) != 'undefined') {
|
| docRef = this.doc;
|
| @@ -108,11 +102,8 @@ function HTMLFrameElement09() {
|
| vtitle = cd.title;
|
|
|
| assertEquals("titleLink","NIST DOM HTML Test - FRAMESET",vtitle);
|
| -
|
| -}
|
| -
|
| -
|
|
|
| +}
|
|
|
| function runTest() {
|
| HTMLFrameElement09();
|
|
|