OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 Copyright © 2001-2004 World Wide Web Consortium, | 3 Copyright © 2001-2004 World Wide Web Consortium, |
4 (Massachusetts Institute of Technology, European Research Consortium | 4 (Massachusetts Institute of Technology, European Research Consortium |
5 for Informatics and Mathematics, Keio University). All | 5 for Informatics and Mathematics, Keio University). All |
6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
n the | 6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
n the |
7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even | 7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
9 | 9 |
10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 | 10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 var docRef = null; | 94 var docRef = null; |
95 if (typeof(this.doc) != 'undefined') { | 95 if (typeof(this.doc) != 'undefined') { |
96 docRef = this.doc; | 96 docRef = this.doc; |
97 } | 97 } |
98 doc = load(docRef, "doc", "applet"); | 98 doc = load(docRef, "doc", "applet"); |
99 nodeList = doc.getElementsByTagName("applet"); | 99 nodeList = doc.getElementsByTagName("applet"); |
100 assertSize("Asize",1,nodeList); | 100 assertSize("Asize",1,nodeList); |
101 testNode = nodeList.item(0); | 101 testNode = nodeList.item(0); |
102 vcodebase = testNode.codeBase; | 102 vcodebase = testNode.codeBase; |
103 | 103 |
104 assertEquals("codebase","applets",vcodebase); | 104 assertURIEquals("codebase",null,null,null,"applets",null,null,null,null,vc
odebase); |
105 | 105 |
106 } | 106 } |
107 | 107 |
108 | 108 |
109 | 109 |
110 | 110 |
111 function runTest() { | 111 function runTest() { |
112 HTMLAppletElement05(); | 112 HTMLAppletElement05(); |
113 } | 113 } |
OLD | NEW |