| OLD | NEW |
| 1 // We use a static list of window properties to avoid breaking when new properti
es are added. | 1 // We use a static list of window properties to avoid breaking when new properti
es are added. |
| 2 var staticWindowProperties = [ | 2 var staticWindowProperties = [ |
| 3 'CSSPrimitiveValue', | 3 'CSSPrimitiveValue', |
| 4 'CSSRule', | 4 'CSSRule', |
| 5 'CSSStyleDeclaration', | 5 'CSSStyleDeclaration', |
| 6 'CSSCharsetRule', | |
| 7 'CSSImportRule', | 6 'CSSImportRule', |
| 8 'CSSMediaRule', | 7 'CSSMediaRule', |
| 9 'CSSFontFaceRule', | 8 'CSSFontFaceRule', |
| 10 'CSSPageRule', | 9 'CSSPageRule', |
| 11 'WebKitCSSKeyframeRule', | 10 'WebKitCSSKeyframeRule', |
| 12 'WebKitCSSKeyframesRule', | 11 'WebKitCSSKeyframesRule', |
| 13 'DOMException', | 12 'DOMException', |
| 14 'DOMParser', | 13 'DOMParser', |
| 15 'Document', | 14 'Document', |
| 16 'DocumentFragment', | 15 'DocumentFragment', |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 178 |
| 180 function testJS(s) | 179 function testJS(s) |
| 181 { | 180 { |
| 182 shouldBeTrue("var object = " + s + "; isEqualJS(object, object);"); | 181 shouldBeTrue("var object = " + s + "; isEqualJS(object, object);"); |
| 183 } | 182 } |
| 184 | 183 |
| 185 function testObjC(s) | 184 function testObjC(s) |
| 186 { | 185 { |
| 187 shouldBeTrue("var object = " + s + "; isEqualObjC(object, object);"); | 186 shouldBeTrue("var object = " + s + "; isEqualObjC(object, object);"); |
| 188 } | 187 } |
| OLD | NEW |