| OLD | NEW |
| 1 Test that CSS stylesheets don't lose custom properties on GC when only reachable
through child rules. | 1 Test that CSS stylesheets don't lose custom properties on GC when only reachable
through child rules. |
| 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 style.sheet is an instance of CSSStyleSheet | 6 PASS style.sheet is an instance of CSSStyleSheet |
| 7 PASS style.sheet is null | 7 PASS style.sheet is null |
| 8 FAIL rule.parentStyleSheet.foo should be 0. Threw exception TypeError: Cannot re
ad property 'foo' of null | 8 FAIL rule.parentStyleSheet.foo should be 0 (of type string). Was undefined (of t
ype undefined). |
| 9 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
| 10 | 10 |
| 11 TEST COMPLETE | 11 TEST COMPLETE |
| 12 | 12 |
| OLD | NEW |