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(s) | 5 function log(s) |
6 { | 6 { |
7 document.getElementById("console").appendChild(document.createTextNo
de(s + "\n")); | 7 document.getElementById("console").appendChild(document.createTextNo
de(s + "\n")); |
8 } | 8 } |
9 | 9 |
10 function shouldThrow(a) | 10 function shouldThrow(a) |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 var DocumentTypeOld = window.DocumentType; | 70 var DocumentTypeOld = window.DocumentType; |
71 var DOMExceptionOld = window.DOMException; | 71 var DOMExceptionOld = window.DOMException; |
72 var DOMImplementationOld = window.DOMImplementation; | 72 var DOMImplementationOld = window.DOMImplementation; |
73 var DOMParserOld = window.DOMParser; | 73 var DOMParserOld = window.DOMParser; |
74 var ElementOld = window.Element; | 74 var ElementOld = window.Element; |
75 var EntityOld = window.Entity; | 75 var EntityOld = window.Entity; |
76 var EntityReferenceOld = window.EntityReference; | 76 var EntityReferenceOld = window.EntityReference; |
77 var EvalErrorOld = window.EvalError; | 77 var EvalErrorOld = window.EvalError; |
78 var EventOld = window.Event; | 78 var EventOld = window.Event; |
79 var HTMLAnchorElementOld = window.HTMLAnchorElement; | 79 var HTMLAnchorElementOld = window.HTMLAnchorElement; |
80 var HTMLAppletElementOld = window.HTMLAppletElement; | |
81 var HTMLAreaElementOld = window.HTMLAreaElement; | 80 var HTMLAreaElementOld = window.HTMLAreaElement; |
82 var HTMLBaseElementOld = window.HTMLBaseElement; | 81 var HTMLBaseElementOld = window.HTMLBaseElement; |
83 var HTMLBodyElementOld = window.HTMLBodyElement; | 82 var HTMLBodyElementOld = window.HTMLBodyElement; |
84 var HTMLBRElementOld = window.HTMLBRElement; | 83 var HTMLBRElementOld = window.HTMLBRElement; |
85 var HTMLButtonElementOld = window.HTMLButtonElement; | 84 var HTMLButtonElementOld = window.HTMLButtonElement; |
86 var HTMLCanvasElementOld = window.HTMLCanvasElement; | 85 var HTMLCanvasElementOld = window.HTMLCanvasElement; |
87 var HTMLDirectoryElementOld = window.HTMLDirectoryElement; | 86 var HTMLDirectoryElementOld = window.HTMLDirectoryElement; |
88 var HTMLDivElementOld = window.HTMLDivElement; | 87 var HTMLDivElementOld = window.HTMLDivElement; |
89 var HTMLDListElementOld = window.HTMLDListElement; | 88 var HTMLDListElementOld = window.HTMLDListElement; |
90 var HTMLDocumentOld = window.HTMLDocument; | 89 var HTMLDocumentOld = window.HTMLDocument; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 shouldBe("window.DocumentType", "DocumentTypeOld"); | 267 shouldBe("window.DocumentType", "DocumentTypeOld"); |
269 shouldBe("window.DOMException", "DOMExceptionOld"); | 268 shouldBe("window.DOMException", "DOMExceptionOld"); |
270 shouldBe("window.DOMImplementation", "DOMImplementationOld"); | 269 shouldBe("window.DOMImplementation", "DOMImplementationOld"); |
271 shouldBe("window.DOMParser", "DOMParserOld"); | 270 shouldBe("window.DOMParser", "DOMParserOld"); |
272 shouldBe("window.Element", "ElementOld"); | 271 shouldBe("window.Element", "ElementOld"); |
273 shouldBe("window.Entity", "EntityOld"); | 272 shouldBe("window.Entity", "EntityOld"); |
274 shouldBe("window.EntityReference", "EntityReferenceOld"); | 273 shouldBe("window.EntityReference", "EntityReferenceOld"); |
275 shouldBe("window.EvalError", "EvalErrorOld"); | 274 shouldBe("window.EvalError", "EvalErrorOld"); |
276 shouldBe("window.Event", "EventOld"); | 275 shouldBe("window.Event", "EventOld"); |
277 shouldBe("window.HTMLAnchorElement", "HTMLAnchorElementOld"); | 276 shouldBe("window.HTMLAnchorElement", "HTMLAnchorElementOld"); |
278 shouldBe("window.HTMLAppletElement", "HTMLAppletElementOld"); | |
279 shouldBe("window.HTMLAreaElement", "HTMLAreaElementOld"); | 277 shouldBe("window.HTMLAreaElement", "HTMLAreaElementOld"); |
280 shouldBe("window.HTMLBaseElement", "HTMLBaseElementOld"); | 278 shouldBe("window.HTMLBaseElement", "HTMLBaseElementOld"); |
281 shouldBe("window.HTMLBodyElement", "HTMLBodyElementOld"); | 279 shouldBe("window.HTMLBodyElement", "HTMLBodyElementOld"); |
282 shouldBe("window.HTMLBRElement", "HTMLBRElementOld"); | 280 shouldBe("window.HTMLBRElement", "HTMLBRElementOld"); |
283 shouldBe("window.HTMLButtonElement", "HTMLButtonElementOld"); | 281 shouldBe("window.HTMLButtonElement", "HTMLButtonElementOld"); |
284 shouldBe("window.HTMLCanvasElement", "HTMLCanvasElementOld"); | 282 shouldBe("window.HTMLCanvasElement", "HTMLCanvasElementOld"); |
285 shouldBe("window.HTMLDirectoryElement", "HTMLDirectoryElementOld"); | 283 shouldBe("window.HTMLDirectoryElement", "HTMLDirectoryElementOld"); |
286 shouldBe("window.HTMLDivElement", "HTMLDivElementOld"); | 284 shouldBe("window.HTMLDivElement", "HTMLDivElementOld"); |
287 shouldBe("window.HTMLDListElement", "HTMLDListElementOld"); | 285 shouldBe("window.HTMLDListElement", "HTMLDListElementOld"); |
288 shouldBe("window.HTMLDocument", "HTMLDocumentOld"); | 286 shouldBe("window.HTMLDocument", "HTMLDocumentOld"); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 shouldBe("window.scrollBy", "scrollByOld"); | 460 shouldBe("window.scrollBy", "scrollByOld"); |
463 shouldBe("window.scrollTo", "scrollToOld"); | 461 shouldBe("window.scrollTo", "scrollToOld"); |
464 shouldBe("window.setInterval", "setIntervalOld"); | 462 shouldBe("window.setInterval", "setIntervalOld"); |
465 shouldBe("window.setTimeout", "setTimeoutOld"); | 463 shouldBe("window.setTimeout", "setTimeoutOld"); |
466 | 464 |
467 shouldBe("window.stop", "stopOld"); | 465 shouldBe("window.stop", "stopOld"); |
468 }, 0); | 466 }, 0); |
469 </script> | 467 </script> |
470 </body> | 468 </body> |
471 </html> | 469 </html> |
OLD | NEW |