OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
5 function log(msg) | 5 function log(msg) |
6 { | 6 { |
7 document.getElementById('console').appendChild(document.createTextNo
de(msg + '\n')); | 7 document.getElementById('console').appendChild(document.createTextNo
de(msg + '\n')); |
8 } | 8 } |
9 </script> | 9 </script> |
10 </head> | 10 </head> |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 var Element = 1; | 200 var Element = 1; |
201 log(Element == 1 ? "PASS: Element successfully shadowed" : "FAIL: Elemen
t was not shadowed"); | 201 log(Element == 1 ? "PASS: Element successfully shadowed" : "FAIL: Elemen
t was not shadowed"); |
202 var Text = 1; | 202 var Text = 1; |
203 log(Text == 1 ? "PASS: Text successfully shadowed" : "FAIL: Text was not
shadowed"); | 203 log(Text == 1 ? "PASS: Text successfully shadowed" : "FAIL: Text was not
shadowed"); |
204 var Comment = 1; | 204 var Comment = 1; |
205 log(Comment == 1 ? "PASS: Comment successfully shadowed" : "FAIL: Commen
t was not shadowed"); | 205 log(Comment == 1 ? "PASS: Comment successfully shadowed" : "FAIL: Commen
t was not shadowed"); |
206 var CDATASection = 1; | 206 var CDATASection = 1; |
207 log(CDATASection == 1 ? "PASS: CDATASection successfully shadowed" : "FA
IL: CDATASection was not shadowed"); | 207 log(CDATASection == 1 ? "PASS: CDATASection successfully shadowed" : "FA
IL: CDATASection was not shadowed"); |
208 var DocumentType = 1; | 208 var DocumentType = 1; |
209 log(DocumentType == 1 ? "PASS: DocumentType successfully shadowed" : "FA
IL: DocumentType was not shadowed"); | 209 log(DocumentType == 1 ? "PASS: DocumentType successfully shadowed" : "FA
IL: DocumentType was not shadowed"); |
210 var Notation = 1; | |
211 log(Notation == 1 ? "PASS: Notation successfully shadowed" : "FAIL: Nota
tion was not shadowed"); | |
212 var ProcessingInstruction = 1; | 210 var ProcessingInstruction = 1; |
213 log(ProcessingInstruction == 1 ? "PASS: ProcessingInstruction successful
ly shadowed" : "FAIL: ProcessingInstruction was not shadowed"); | 211 log(ProcessingInstruction == 1 ? "PASS: ProcessingInstruction successful
ly shadowed" : "FAIL: ProcessingInstruction was not shadowed"); |
214 var HTMLDocument = 1; | 212 var HTMLDocument = 1; |
215 log(HTMLDocument == 1 ? "PASS: HTMLDocument successfully shadowed" : "FA
IL: HTMLDocument was not shadowed"); | 213 log(HTMLDocument == 1 ? "PASS: HTMLDocument successfully shadowed" : "FA
IL: HTMLDocument was not shadowed"); |
216 var HTMLElement = 1; | 214 var HTMLElement = 1; |
217 log(HTMLElement == 1 ? "PASS: HTMLElement successfully shadowed" : "FAIL
: HTMLElement was not shadowed"); | 215 log(HTMLElement == 1 ? "PASS: HTMLElement successfully shadowed" : "FAIL
: HTMLElement was not shadowed"); |
218 var HTMLAnchorElement = 1; | 216 var HTMLAnchorElement = 1; |
219 log(HTMLAnchorElement == 1 ? "PASS: HTMLAnchorElement successfully shado
wed" : "FAIL: HTMLAnchorElement was not shadowed"); | 217 log(HTMLAnchorElement == 1 ? "PASS: HTMLAnchorElement successfully shado
wed" : "FAIL: HTMLAnchorElement was not shadowed"); |
220 var HTMLAppletElement = 1; | 218 var HTMLAppletElement = 1; |
221 log(HTMLAppletElement == 1 ? "PASS: HTMLAppletElement successfully shado
wed" : "FAIL: HTMLAppletElement was not shadowed"); | 219 log(HTMLAppletElement == 1 ? "PASS: HTMLAppletElement successfully shado
wed" : "FAIL: HTMLAppletElement was not shadowed"); |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 log(Range == 1 ? "PASS: Range successfully shadowed" : "FAIL: Range was
not shadowed"); | 333 log(Range == 1 ? "PASS: Range successfully shadowed" : "FAIL: Range was
not shadowed"); |
336 var XMLDocument = 1; | 334 var XMLDocument = 1; |
337 log(XMLDocument == 1 ? "PASS: XMLDocument successfully shadowed" : "FAIL
: XMLDocument was not shadowed"); | 335 log(XMLDocument == 1 ? "PASS: XMLDocument successfully shadowed" : "FAIL
: XMLDocument was not shadowed"); |
338 var DOMParser = 1; | 336 var DOMParser = 1; |
339 log(DOMParser == 1 ? "PASS: DOMParser successfully shadowed" : "FAIL: DO
MParser was not shadowed"); | 337 log(DOMParser == 1 ? "PASS: DOMParser successfully shadowed" : "FAIL: DO
MParser was not shadowed"); |
340 var XMLSerializer = 1; | 338 var XMLSerializer = 1; |
341 log(XMLSerializer == 1 ? "PASS: XMLSerializer successfully shadowed" : "
FAIL: XMLSerializer was not shadowed"); | 339 log(XMLSerializer == 1 ? "PASS: XMLSerializer successfully shadowed" : "
FAIL: XMLSerializer was not shadowed"); |
342 </script> | 340 </script> |
343 </body> | 341 </body> |
344 </html> | 342 </html> |
OLD | NEW |