| OLD | NEW |
| 1 Test that custom properties on rule style declarations are not lost after GC | 1 Test that custom properties on rule style declarations are not lost after GC |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE | 6 PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE |
| 7 PASS document.styleSheets[0].cssRules[0].media.foo is 'bar' | 7 FAIL document.styleSheets[0].cssRules[0].media.foo should be bar (of type string
). Was undefined (of type undefined). |
| 8 PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE | 8 PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE |
| 9 PASS document.styleSheets[0].cssRules[0].styleSheet.foo is 'bar' | 9 FAIL document.styleSheets[0].cssRules[0].styleSheet.foo should be bar (of type s
tring). Was undefined (of type undefined). |
| 10 PASS document.styleSheets[0].cssRules[1].type is CSSRule.STYLE_RULE | 10 PASS document.styleSheets[0].cssRules[1].type is CSSRule.STYLE_RULE |
| 11 PASS document.styleSheets[0].cssRules[1].style.foo is 'bar' | 11 FAIL document.styleSheets[0].cssRules[1].style.foo should be bar (of type string
). Was undefined (of type undefined). |
| 12 PASS document.styleSheets[0].cssRules[2].type is CSSRule.FONT_FACE_RULE | 12 PASS document.styleSheets[0].cssRules[2].type is CSSRule.FONT_FACE_RULE |
| 13 PASS document.styleSheets[0].cssRules[2].style.foo is 'bar' | 13 FAIL document.styleSheets[0].cssRules[2].style.foo should be bar (of type string
). Was undefined (of type undefined). |
| 14 PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE | 14 PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE |
| 15 PASS document.styleSheets[0].cssRules[3].cssRules.foo is 'bar' | 15 FAIL document.styleSheets[0].cssRules[3].cssRules.foo should be bar (of type str
ing). Was undefined (of type undefined). |
| 16 PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE | 16 PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE |
| 17 PASS document.styleSheets[0].cssRules[3].media.foo is 'bar' | 17 FAIL document.styleSheets[0].cssRules[3].media.foo should be bar (of type string
). Was undefined (of type undefined). |
| 18 PASS document.styleSheets[0].cssRules[4].type is CSSRule.WEBKIT_KEYFRAMES_RULE | 18 PASS document.styleSheets[0].cssRules[4].type is CSSRule.WEBKIT_KEYFRAMES_RULE |
| 19 PASS document.styleSheets[0].cssRules[4].cssRules.foo is 'bar' | 19 FAIL document.styleSheets[0].cssRules[4].cssRules.foo should be bar (of type str
ing). Was undefined (of type undefined). |
| 20 PASS document.styleSheets[0].cssRules[4].cssRules[0].type is CSSRule.WEBKIT_KEYF
RAME_RULE | 20 PASS document.styleSheets[0].cssRules[4].cssRules[0].type is CSSRule.WEBKIT_KEYF
RAME_RULE |
| 21 PASS document.styleSheets[0].cssRules[4].cssRules[0].style.foo is 'bar' | 21 FAIL document.styleSheets[0].cssRules[4].cssRules[0].style.foo should be bar (of
type string). Was undefined (of type undefined). |
| 22 PASS document.styleSheets[0].cssRules[5].type is CSSRule.PAGE_RULE | 22 PASS document.styleSheets[0].cssRules[5].type is CSSRule.PAGE_RULE |
| 23 PASS document.styleSheets[0].cssRules[5].style.foo is 'bar' | 23 FAIL document.styleSheets[0].cssRules[5].style.foo should be bar (of type string
). Was undefined (of type undefined). |
| 24 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
| 25 | 25 |
| 26 TEST COMPLETE | 26 TEST COMPLETE |
| 27 | 27 |
| OLD | NEW |