4 <script type=
"text/javascript">
7 document
.getElementById('console').appendChild(document
.createTextNode(msg
+ '\n'));
12 <pre id=
"console"></pre>
15 testRunner
.dumpAsText();
19 log(locationbar
== 1 ? "PASS: locationbar successfully shadowed" : "FAIL: locationbar was not shadowed");
21 log(menubar
== 1 ? "PASS: menubar successfully shadowed" : "FAIL: menubar was not shadowed");
23 log(personalbar
== 1 ? "PASS: personalbar successfully shadowed" : "FAIL: personalbar was not shadowed");
25 log(statusbar
== 1 ? "PASS: statusbar successfully shadowed" : "FAIL: statusbar was not shadowed");
27 log(toolbar
== 1 ? "PASS: toolbar successfully shadowed" : "FAIL: toolbar was not shadowed");
28 var devicePixelRatio
= 2;
29 log(devicePixelRatio
== 2 ? "PASS: devicePixelRatio successfully shadowed" : "FAIL: devicePixelRatio was not shadowed");
30 var defaultStatus
= 1;
31 log(defaultStatus
== 1 ? "PASS: defaultStatus successfully shadowed" : "FAIL: defaultStatus was not shadowed");
32 var defaultstatus
= 1;
33 log(defaultstatus
== 1 ? "PASS: defaultstatus successfully shadowed" : "FAIL: defaultstatus was not shadowed");
35 log(status
== 1 ? "PASS: status successfully shadowed" : "FAIL: status was not shadowed");
37 log(frames
== 1 ? "PASS: frames successfully shadowed" : "FAIL: frames was not shadowed");
39 log(event
== 1 ? "PASS: event successfully shadowed" : "FAIL: event was not shadowed");
41 log(innerHeight
== 1 ? "PASS: innerHeight successfully shadowed" : "FAIL: innerHeight was not shadowed");
43 log(innerWidth
== 1 ? "PASS: innerWidth successfully shadowed" : "FAIL: innerWidth was not shadowed");
45 log(length
== 1 ? "PASS: length successfully shadowed" : "FAIL: length was not shadowed");
47 log(name
== 1 ? "PASS: name successfully shadowed" : "FAIL: name was not shadowed");
48 var clientInformation
= 1;
49 log(clientInformation
== 1 ? "PASS: clientInformation successfully shadowed" : "FAIL: clientInformation was not shadowed");
50 var offscreenBuffering
= 2;
51 log(offscreenBuffering
== 2 ? "PASS: offscreenBuffering successfully shadowed" : "FAIL: offscreenBuffering was not shadowed");
53 log(opener
== 1 ? "PASS: opener successfully shadowed" : "FAIL: opener was not shadowed");
55 log(outerHeight
== 1 ? "PASS: outerHeight successfully shadowed" : "FAIL: outerHeight was not shadowed");
57 log(outerWidth
== 1 ? "PASS: outerWidth successfully shadowed" : "FAIL: outerWidth was not shadowed");
59 log(parent
== 1 ? "PASS: parent successfully shadowed" : "FAIL: parent was not shadowed");
61 log(screenX
== 1 ? "PASS: screenX successfully shadowed" : "FAIL: screenX was not shadowed");
63 log(screenY
== 1 ? "PASS: screenY successfully shadowed" : "FAIL: screenY was not shadowed");
65 log(screenLeft
== 1 ? "PASS: screenLeft successfully shadowed" : "FAIL: screenLeft was not shadowed");
67 log(screenTop
== 1 ? "PASS: screenTop successfully shadowed" : "FAIL: screenTop was not shadowed");
69 log(scrollX
== 1 ? "PASS: scrollX successfully shadowed" : "FAIL: scrollX was not shadowed");
71 log(scrollY
== 1 ? "PASS: scrollY successfully shadowed" : "FAIL: scrollY was not shadowed");
73 log(self
== 1 ? "PASS: self successfully shadowed" : "FAIL: self was not shadowed");
77 log(getSelection
== 1 ? "PASS: getSelection successfully shadowed" : "FAIL: getSelection was not shadowed");
78 var getComputedStyle
= 1;
79 log(getComputedStyle
== 1 ? "PASS: getComputedStyle successfully shadowed" : "FAIL: getComputedStyle was not shadowed");
80 var getMatchedCSSRules
= 1;
81 log(getMatchedCSSRules
== 1 ? "PASS: getMatchedCSSRules successfully shadowed" : "FAIL: getMatchedCSSRules was not shadowed");
83 log(atob
== 1 ? "PASS: atob successfully shadowed" : "FAIL: atob was not shadowed");
85 log(btoa
== 1 ? "PASS: btoa successfully shadowed" : "FAIL: btoa was not shadowed");
87 log(scroll
== 1 ? "PASS: scroll successfully shadowed" : "FAIL: scroll was not shadowed");
89 log(scrollBy
== 1 ? "PASS: scrollBy successfully shadowed" : "FAIL: scrollBy was not shadowed");
91 log(scrollTo
== 1 ? "PASS: scrollTo successfully shadowed" : "FAIL: scrollTo was not shadowed");
93 log(moveBy
== 1 ? "PASS: moveBy successfully shadowed" : "FAIL: moveBy was not shadowed");
95 log(moveTo
== 1 ? "PASS: moveTo successfully shadowed" : "FAIL: moveTo was not shadowed");
97 log(resizeBy
== 1 ? "PASS: resizeBy successfully shadowed" : "FAIL: resizeBy was not shadowed");
99 log(resizeTo
== 1 ? "PASS: resizeTo successfully shadowed" : "FAIL: resizeTo was not shadowed");
101 log(alert
== 1 ? "PASS: alert successfully shadowed" : "FAIL: alert was not shadowed");
103 log(confirm
== 1 ? "PASS: confirm successfully shadowed" : "FAIL: confirm was not shadowed");
105 log(prompt
== 1 ? "PASS: prompt successfully shadowed" : "FAIL: prompt was not shadowed");
107 log(open
== 1 ? "PASS: open successfully shadowed" : "FAIL: open was not shadowed");
109 log(print
== 1 ? "PASS: print successfully shadowed" : "FAIL: print was not shadowed");
111 log(setTimeout
== 1 ? "PASS: setTimeout successfully shadowed" : "FAIL: setTimeout was not shadowed");
112 var clearTimeout
= 1;
113 log(clearTimeout
== 1 ? "PASS: clearTimeout successfully shadowed" : "FAIL: clearTimeout was not shadowed");
115 log(focus
== 1 ? "PASS: focus successfully shadowed" : "FAIL: focus was not shadowed");
117 log(blur
== 1 ? "PASS: blur successfully shadowed" : "FAIL: blur was not shadowed");
119 log(close
== 1 ? "PASS: close successfully shadowed" : "FAIL: close was not shadowed");
121 log(setInterval
== 1 ? "PASS: setInterval successfully shadowed" : "FAIL: setInterval was not shadowed");
122 var clearInterval
= 1;
123 log(clearInterval
== 1 ? "PASS: clearInterval successfully shadowed" : "FAIL: clearInterval was not shadowed");
124 var captureEvents
= 1;
125 log(captureEvents
== 1 ? "PASS: captureEvents successfully shadowed" : "FAIL: captureEvents was not shadowed");
126 var releaseEvents
= 1;
127 log(releaseEvents
== 1 ? "PASS: releaseEvents successfully shadowed" : "FAIL: releaseEvents was not shadowed");
128 var addEventListener
= 1;
129 log(addEventListener
== 1 ? "PASS: addEventListener successfully shadowed" : "FAIL: addEventListener was not shadowed");
130 var removeEventListener
= 1;
131 log(removeEventListener
== 1 ? "PASS: removeEventListener successfully shadowed" : "FAIL: removeEventListener was not shadowed");
133 log(find
== 1 ? "PASS: find successfully shadowed" : "FAIL: find was not shadowed");
135 log(stop
== 1 ? "PASS: stop successfully shadowed" : "FAIL: stop was not shadowed");
139 log(Image
== 1 ? "PASS: Image successfully shadowed" : "FAIL: Image was not shadowed");
141 log(Option
== 1 ? "PASS: Option successfully shadowed" : "FAIL: Option was not shadowed");
142 var DOMException
= 1;
143 log(DOMException
== 1 ? "PASS: DOMException successfully shadowed" : "FAIL: DOMException was not shadowed");
144 var XMLHttpRequest
= 1;
145 log(XMLHttpRequest
== 1 ? "PASS: XMLHttpRequest successfully shadowed" : "FAIL: XMLHttpRequest was not shadowed");
146 var XSLTProcessor
= 1;
147 log(XSLTProcessor
== 1 ? "PASS: XSLTProcessor successfully shadowed" : "FAIL: XSLTProcessor was not shadowed");
149 log(StyleSheet
== 1 ? "PASS: StyleSheet successfully shadowed" : "FAIL: StyleSheet was not shadowed");
150 var CSSStyleSheet
= 1;
151 log(CSSStyleSheet
== 1 ? "PASS: CSSStyleSheet successfully shadowed" : "FAIL: CSSStyleSheet was not shadowed");
153 log(CSSRule
== 1 ? "PASS: CSSRule successfully shadowed" : "FAIL: CSSRule was not shadowed");
154 var CSSFontFaceRule
= 1;
155 log(CSSFontFaceRule
== 1 ? "PASS: CSSFontFaceRule successfully shadowed" : "FAIL: CSSFontFaceRule was not shadowed");
156 var CSSImportRule
= 1;
157 log(CSSImportRule
== 1 ? "PASS: CSSImportRule successfully shadowed" : "FAIL: CSSImportRule was not shadowed");
158 var CSSMediaRule
= 1;
159 log(CSSMediaRule
== 1 ? "PASS: CSSMediaRule successfully shadowed" : "FAIL: CSSMediaRule was not shadowed");
161 log(CSSPageRule
== 1 ? "PASS: CSSPageRule successfully shadowed" : "FAIL: CSSPageRule was not shadowed");
162 var CSSStyleRule
= 1;
163 log(CSSStyleRule
== 1 ? "PASS: CSSStyleRule successfully shadowed" : "FAIL: CSSStyleRule was not shadowed");
164 var CSSStyleDeclaration
= 1;
165 log(CSSStyleDeclaration
== 1 ? "PASS: CSSStyleDeclaration successfully shadowed" : "FAIL: CSSStyleDeclaration was not shadowed");
167 log(MediaList
== 1 ? "PASS: MediaList successfully shadowed" : "FAIL: MediaList was not shadowed");
169 log(CSSRuleList
== 1 ? "PASS: CSSRuleList successfully shadowed" : "FAIL: CSSRuleList was not shadowed");
170 var DOMImplementation
= 1;
171 log(DOMImplementation
== 1 ? "PASS: DOMImplementation successfully shadowed" : "FAIL: DOMImplementation was not shadowed");
172 var DocumentFragment
= 1;
173 log(DocumentFragment
== 1 ? "PASS: DocumentFragment successfully shadowed" : "FAIL: DocumentFragment was not shadowed");
175 log(Document
== 1 ? "PASS: Document successfully shadowed" : "FAIL: Document was not shadowed");
177 log(Node
== 1 ? "PASS: Node successfully shadowed" : "FAIL: Node was not shadowed");
179 log(NodeList
== 1 ? "PASS: NodeList successfully shadowed" : "FAIL: NodeList was not shadowed");
180 var NamedNodeMap
= 1;
181 log(NamedNodeMap
== 1 ? "PASS: NamedNodeMap successfully shadowed" : "FAIL: NamedNodeMap was not shadowed");
182 var CharacterData
= 1;
183 log(CharacterData
== 1 ? "PASS: CharacterData successfully shadowed" : "FAIL: CharacterData was not shadowed");
185 log(Attr
== 1 ? "PASS: Attr successfully shadowed" : "FAIL: Attr was not shadowed");
187 log(Element
== 1 ? "PASS: Element successfully shadowed" : "FAIL: Element was not shadowed");
189 log(Text
== 1 ? "PASS: Text successfully shadowed" : "FAIL: Text was not shadowed");
191 log(Comment
== 1 ? "PASS: Comment successfully shadowed" : "FAIL: Comment was not shadowed");
192 var CDATASection
= 1;
193 log(CDATASection
== 1 ? "PASS: CDATASection successfully shadowed" : "FAIL: CDATASection was not shadowed");
194 var DocumentType
= 1;
195 log(DocumentType
== 1 ? "PASS: DocumentType successfully shadowed" : "FAIL: DocumentType was not shadowed");
196 var ProcessingInstruction
= 1;
197 log(ProcessingInstruction
== 1 ? "PASS: ProcessingInstruction successfully shadowed" : "FAIL: ProcessingInstruction was not shadowed");
198 var HTMLDocument
= 1;
199 log(HTMLDocument
== 1 ? "PASS: HTMLDocument successfully shadowed" : "FAIL: HTMLDocument was not shadowed");
201 log(HTMLElement
== 1 ? "PASS: HTMLElement successfully shadowed" : "FAIL: HTMLElement was not shadowed");
202 var HTMLAnchorElement
= 1;
203 log(HTMLAnchorElement
== 1 ? "PASS: HTMLAnchorElement successfully shadowed" : "FAIL: HTMLAnchorElement was not shadowed");
204 var HTMLAreaElement
= 1;
205 log(HTMLAreaElement
== 1 ? "PASS: HTMLAreaElement successfully shadowed" : "FAIL: HTMLAreaElement was not shadowed");
206 var HTMLBRElement
= 1;
207 log(HTMLBRElement
== 1 ? "PASS: HTMLBRElement successfully shadowed" : "FAIL: HTMLBRElement was not shadowed");
208 var HTMLBaseElement
= 1;
209 log(HTMLBaseElement
== 1 ? "PASS: HTMLBaseElement successfully shadowed" : "FAIL: HTMLBaseElement was not shadowed");
210 var HTMLBlockquoteElement
= 1;
211 log(HTMLBlockquoteElement
== 1 ? "PASS: HTMLBlockquoteElement successfully shadowed" : "FAIL: HTMLBlockquoteElement was not shadowed");
212 var HTMLBodyElement
= 1;
213 log(HTMLBodyElement
== 1 ? "PASS: HTMLBodyElement successfully shadowed" : "FAIL: HTMLBodyElement was not shadowed");
214 var HTMLButtonElement
= 1;
215 log(HTMLButtonElement
== 1 ? "PASS: HTMLButtonElement successfully shadowed" : "FAIL: HTMLButtonElement was not shadowed");
216 var HTMLCanvasElement
= 1;
217 log(HTMLCanvasElement
== 1 ? "PASS: HTMLCanvasElement successfully shadowed" : "FAIL: HTMLCanvasElement was not shadowed");
218 var HTMLDListElement
= 1;
219 log(HTMLDListElement
== 1 ? "PASS: HTMLDListElement successfully shadowed" : "FAIL: HTMLDListElement was not shadowed");
220 var HTMLDirectoryElement
= 1;
221 log(HTMLDirectoryElement
== 1 ? "PASS: HTMLDirectoryElement successfully shadowed" : "FAIL: HTMLDirectoryElement was not shadowed");
222 var HTMLDivElement
= 1;
223 log(HTMLDivElement
== 1 ? "PASS: HTMLDivElement successfully shadowed" : "FAIL: HTMLDivElement was not shadowed");
224 var HTMLEmbedElement
= 1;
225 log(HTMLEmbedElement
== 1 ? "PASS: HTMLEmbedElement successfully shadowed" : "FAIL: HTMLEmbedElement was not shadowed");
226 var HTMLFieldSetElement
= 1;
227 log(HTMLFieldSetElement
== 1 ? "PASS: HTMLFieldSetElement successfully shadowed" : "FAIL: HTMLFieldSetElement was not shadowed");
228 var HTMLFontElement
= 1;
229 log(HTMLFontElement
== 1 ? "PASS: HTMLFontElement successfully shadowed" : "FAIL: HTMLFontElement was not shadowed");
230 var HTMLFormElement
= 1;
231 log(HTMLFormElement
== 1 ? "PASS: HTMLFormElement successfully shadowed" : "FAIL: HTMLFormElement was not shadowed");
232 var HTMLFrameElement
= 1;
233 log(HTMLFrameElement
== 1 ? "PASS: HTMLFrameElement successfully shadowed" : "FAIL: HTMLFrameElement was not shadowed");
234 var HTMLFrameSetElement
= 1;
235 log(HTMLFrameSetElement
== 1 ? "PASS: HTMLFrameSetElement successfully shadowed" : "FAIL: HTMLFrameSetElement was not shadowed");
236 var HTMLHRElement
= 1;
237 log(HTMLHRElement
== 1 ? "PASS: HTMLHRElement successfully shadowed" : "FAIL: HTMLHRElement was not shadowed");
238 var HTMLHeadElement
= 1;
239 log(HTMLHeadElement
== 1 ? "PASS: HTMLHeadElement successfully shadowed" : "FAIL: HTMLHeadElement was not shadowed");
240 var HTMLHeadingElement
= 1;
241 log(HTMLHeadingElement
== 1 ? "PASS: HTMLHeadingElement successfully shadowed" : "FAIL: HTMLHeadingElement was not shadowed");
242 var HTMLHtmlElement
= 1;
243 log(HTMLHtmlElement
== 1 ? "PASS: HTMLHtmlElement successfully shadowed" : "FAIL: HTMLHtmlElement was not shadowed");
244 var HTMLIFrameElement
= 1;
245 log(HTMLIFrameElement
== 1 ? "PASS: HTMLIFrameElement successfully shadowed" : "FAIL: HTMLIFrameElement was not shadowed");
246 var HTMLImageElement
= 1;
247 log(HTMLImageElement
== 1 ? "PASS: HTMLImageElement successfully shadowed" : "FAIL: HTMLImageElement was not shadowed");
248 var HTMLInputElement
= 1;
249 log(HTMLInputElement
== 1 ? "PASS: HTMLInputElement successfully shadowed" : "FAIL: HTMLInputElement was not shadowed");
250 var HTMLIsIndexElement
= 1;
251 log(HTMLIsIndexElement
== 1 ? "PASS: HTMLIsIndexElement successfully shadowed" : "FAIL: HTMLIsIndexElement was not shadowed");
252 var HTMLLIElement
= 1;
253 log(HTMLLIElement
== 1 ? "PASS: HTMLLIElement successfully shadowed" : "FAIL: HTMLLIElement was not shadowed");
254 var HTMLLabelElement
= 1;
255 log(HTMLLabelElement
== 1 ? "PASS: HTMLLabelElement successfully shadowed" : "FAIL: HTMLLabelElement was not shadowed");
256 var HTMLLegendElement
= 1;
257 log(HTMLLegendElement
== 1 ? "PASS: HTMLLegendElement successfully shadowed" : "FAIL: HTMLLegendElement was not shadowed");
258 var HTMLLinkElement
= 1;
259 log(HTMLLinkElement
== 1 ? "PASS: HTMLLinkElement successfully shadowed" : "FAIL: HTMLLinkElement was not shadowed");
260 var HTMLMapElement
= 1;
261 log(HTMLMapElement
== 1 ? "PASS: HTMLMapElement successfully shadowed" : "FAIL: HTMLMapElement was not shadowed");
262 var HTMLMarqueeElement
= 1;
263 log(HTMLMarqueeElement
== 1 ? "PASS: HTMLMarqueeElement successfully shadowed" : "FAIL: HTMLMarqueeElement was not shadowed");
264 var HTMLMenuElement
= 1;
265 log(HTMLMenuElement
== 1 ? "PASS: HTMLMenuElement successfully shadowed" : "FAIL: HTMLMenuElement was not shadowed");
266 var HTMLMetaElement
= 1;
267 log(HTMLMetaElement
== 1 ? "PASS: HTMLMetaElement successfully shadowed" : "FAIL: HTMLMetaElement was not shadowed");
268 var HTMLModElement
= 1;
269 log(HTMLModElement
== 1 ? "PASS: HTMLModElement successfully shadowed" : "FAIL: HTMLModElement was not shadowed");
270 var HTMLOListElement
= 1;
271 log(HTMLOListElement
== 1 ? "PASS: HTMLOListElement successfully shadowed" : "FAIL: HTMLOListElement was not shadowed");
272 var HTMLObjectElement
= 1;
273 log(HTMLObjectElement
== 1 ? "PASS: HTMLObjectElement successfully shadowed" : "FAIL: HTMLObjectElement was not shadowed");
274 var HTMLOptGroupElement
= 1;
275 log(HTMLOptGroupElement
== 1 ? "PASS: HTMLOptGroupElement successfully shadowed" : "FAIL: HTMLOptGroupElement was not shadowed");
276 var HTMLOptionElement
= 1;
277 log(HTMLOptionElement
== 1 ? "PASS: HTMLOptionElement successfully shadowed" : "FAIL: HTMLOptionElement was not shadowed");
278 var HTMLParagraphElement
= 1;
279 log(HTMLParagraphElement
== 1 ? "PASS: HTMLParagraphElement successfully shadowed" : "FAIL: HTMLParagraphElement was not shadowed");
280 var HTMLParamElement
= 1;
281 log(HTMLParamElement
== 1 ? "PASS: HTMLParamElement successfully shadowed" : "FAIL: HTMLParamElement was not shadowed");
282 var HTMLPreElement
= 1;
283 log(HTMLPreElement
== 1 ? "PASS: HTMLPreElement successfully shadowed" : "FAIL: HTMLPreElement was not shadowed");
284 var HTMLQuoteElement
= 1;
285 log(HTMLQuoteElement
== 1 ? "PASS: HTMLQuoteElement successfully shadowed" : "FAIL: HTMLQuoteElement was not shadowed");
286 var HTMLScriptElement
= 1;
287 log(HTMLScriptElement
== 1 ? "PASS: HTMLScriptElement successfully shadowed" : "FAIL: HTMLScriptElement was not shadowed");
288 var HTMLSelectElement
= 1;
289 log(HTMLSelectElement
== 1 ? "PASS: HTMLSelectElement successfully shadowed" : "FAIL: HTMLSelectElement was not shadowed");
290 var HTMLStyleElement
= 1;
291 log(HTMLStyleElement
== 1 ? "PASS: HTMLStyleElement successfully shadowed" : "FAIL: HTMLStyleElement was not shadowed");
292 var HTMLTableCaptionElement
= 1;
293 log(HTMLTableCaptionElement
== 1 ? "PASS: HTMLTableCaptionElement successfully shadowed" : "FAIL: HTMLTableCaptionElement was not shadowed");
294 var HTMLTableCellElement
= 1;
295 log(HTMLTableCellElement
== 1 ? "PASS: HTMLTableCellElement successfully shadowed" : "FAIL: HTMLTableCellElement was not shadowed");
296 var HTMLTableColElement
= 1;
297 log(HTMLTableColElement
== 1 ? "PASS: HTMLTableColElement successfully shadowed" : "FAIL: HTMLTableColElement was not shadowed");
298 var HTMLTableElement
= 1;
299 log(HTMLTableElement
== 1 ? "PASS: HTMLTableElement successfully shadowed" : "FAIL: HTMLTableElement was not shadowed");
300 var HTMLTableRowElement
= 1;
301 log(HTMLTableRowElement
== 1 ? "PASS: HTMLTableRowElement successfully shadowed" : "FAIL: HTMLTableRowElement was not shadowed");
302 var HTMLTableSectionElement
= 1;
303 log(HTMLTableSectionElement
== 1 ? "PASS: HTMLTableSectionElement successfully shadowed" : "FAIL: HTMLTableSectionElement was not shadowed");
304 var HTMLTextAreaElement
= 1;
305 log(HTMLTextAreaElement
== 1 ? "PASS: HTMLTextAreaElement successfully shadowed" : "FAIL: HTMLTextAreaElement was not shadowed");
306 var HTMLTitleElement
= 1;
307 log(HTMLTitleElement
== 1 ? "PASS: HTMLTitleElement successfully shadowed" : "FAIL: HTMLTitleElement was not shadowed");
308 var HTMLUListElement
= 1;
309 log(HTMLUListElement
== 1 ? "PASS: HTMLUListElement successfully shadowed" : "FAIL: HTMLUListElement was not shadowed");
311 log(Event
== 1 ? "PASS: Event successfully shadowed" : "FAIL: Event was not shadowed");
312 var MutationEvent
= 1;
313 log(MutationEvent
== 1 ? "PASS: MutationEvent successfully shadowed" : "FAIL: MutationEvent was not shadowed");
315 log(NodeFilter
== 1 ? "PASS: NodeFilter successfully shadowed" : "FAIL: NodeFilter was not shadowed");
317 log(Range
== 1 ? "PASS: Range successfully shadowed" : "FAIL: Range was not shadowed");
319 log(XMLDocument
== 1 ? "PASS: XMLDocument successfully shadowed" : "FAIL: XMLDocument was not shadowed");
321 log(DOMParser
== 1 ? "PASS: DOMParser successfully shadowed" : "FAIL: DOMParser was not shadowed");
322 var XMLSerializer
= 1;
323 log(XMLSerializer
== 1 ? "PASS: XMLSerializer successfully shadowed" : "FAIL: XMLSerializer was not shadowed");