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 27 matching lines...) Expand all Loading... |
38 var event = 1; | 38 var event = 1; |
39 log(event == 1 ? "PASS: event successfully shadowed" : "FAIL: event was
not shadowed"); | 39 log(event == 1 ? "PASS: event successfully shadowed" : "FAIL: event was
not shadowed"); |
40 var innerHeight = 1; | 40 var innerHeight = 1; |
41 log(innerHeight == 1 ? "PASS: innerHeight successfully shadowed" : "FAIL
: innerHeight was not shadowed"); | 41 log(innerHeight == 1 ? "PASS: innerHeight successfully shadowed" : "FAIL
: innerHeight was not shadowed"); |
42 var innerWidth = 1; | 42 var innerWidth = 1; |
43 log(innerWidth == 1 ? "PASS: innerWidth successfully shadowed" : "FAIL:
innerWidth was not shadowed"); | 43 log(innerWidth == 1 ? "PASS: innerWidth successfully shadowed" : "FAIL:
innerWidth was not shadowed"); |
44 var length = 1; | 44 var length = 1; |
45 log(length == 1 ? "PASS: length successfully shadowed" : "FAIL: length w
as not shadowed"); | 45 log(length == 1 ? "PASS: length successfully shadowed" : "FAIL: length w
as not shadowed"); |
46 var name = 1; | 46 var name = 1; |
47 log(name == 1 ? "PASS: name successfully shadowed" : "FAIL: name was not
shadowed"); | 47 log(name == 1 ? "PASS: name successfully shadowed" : "FAIL: name was not
shadowed"); |
48 var navigator = 1; | |
49 log(navigator == 1 ? "PASS: navigator successfully shadowed" : "FAIL: na
vigator was not shadowed"); | |
50 var clientInformation = 1; | 48 var clientInformation = 1; |
51 log(clientInformation == 1 ? "PASS: clientInformation successfully shado
wed" : "FAIL: clientInformation was not shadowed"); | 49 log(clientInformation == 1 ? "PASS: clientInformation successfully shado
wed" : "FAIL: clientInformation was not shadowed"); |
52 var screen = 1; | 50 var screen = 1; |
53 log(screen == 1 ? "PASS: screen successfully shadowed" : "FAIL: screen w
as not shadowed"); | 51 log(screen == 1 ? "PASS: screen successfully shadowed" : "FAIL: screen w
as not shadowed"); |
54 var offscreenBuffering = 2; | 52 var offscreenBuffering = 2; |
55 log(offscreenBuffering == 2 ? "PASS: offscreenBuffering successfully sha
dowed" : "FAIL: offscreenBuffering was not shadowed"); | 53 log(offscreenBuffering == 2 ? "PASS: offscreenBuffering successfully sha
dowed" : "FAIL: offscreenBuffering was not shadowed"); |
56 var opener = 1; | 54 var opener = 1; |
57 log(opener == 1 ? "PASS: opener successfully shadowed" : "FAIL: opener w
as not shadowed"); | 55 log(opener == 1 ? "PASS: opener successfully shadowed" : "FAIL: opener w
as not shadowed"); |
58 var outerHeight = 1; | 56 var outerHeight = 1; |
59 log(outerHeight == 1 ? "PASS: outerHeight successfully shadowed" : "FAIL
: outerHeight was not shadowed"); | 57 log(outerHeight == 1 ? "PASS: outerHeight successfully shadowed" : "FAIL
: outerHeight was not shadowed"); |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 log(Range == 1 ? "PASS: Range successfully shadowed" : "FAIL: Range was
not shadowed"); | 339 log(Range == 1 ? "PASS: Range successfully shadowed" : "FAIL: Range was
not shadowed"); |
342 var XMLDocument = 1; | 340 var XMLDocument = 1; |
343 log(XMLDocument == 1 ? "PASS: XMLDocument successfully shadowed" : "FAIL
: XMLDocument was not shadowed"); | 341 log(XMLDocument == 1 ? "PASS: XMLDocument successfully shadowed" : "FAIL
: XMLDocument was not shadowed"); |
344 var DOMParser = 1; | 342 var DOMParser = 1; |
345 log(DOMParser == 1 ? "PASS: DOMParser successfully shadowed" : "FAIL: DO
MParser was not shadowed"); | 343 log(DOMParser == 1 ? "PASS: DOMParser successfully shadowed" : "FAIL: DO
MParser was not shadowed"); |
346 var XMLSerializer = 1; | 344 var XMLSerializer = 1; |
347 log(XMLSerializer == 1 ? "PASS: XMLSerializer successfully shadowed" : "
FAIL: XMLSerializer was not shadowed"); | 345 log(XMLSerializer == 1 ? "PASS: XMLSerializer successfully shadowed" : "
FAIL: XMLSerializer was not shadowed"); |
348 </script> | 346 </script> |
349 </body> | 347 </body> |
350 </html> | 348 </html> |
OLD | NEW |