| OLD | NEW |
| 1 Tests the element upgrade algorithm. | 1 Tests the element upgrade algorithm. |
| 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 host.firstChild instanceof A is true | 6 PASS host.firstChild instanceof A is true |
| 7 PASS element instanceof B is true | 7 PASS element instanceof B is true |
| 8 PASS callCount is 1 | 8 PASS callCount is 1 |
| 9 PASS element instanceof C is false | 9 PASS element instanceof C is false |
| 10 PASS Object.getPrototypeOf(element) is HTMLElement.prototype | 10 PASS Object.getPrototypeOf(element) is HTMLElement.prototype |
| 11 PASS host.firstChild instanceof D is false | 11 PASS host.firstChild instanceof D is false |
| 12 PASS document.querySelector(":unresolved") is host.firstChild | 12 PASS document.querySelector(":unresolved") is host.firstChild |
| 13 PASS upgradedOrder is ["e2","e1","e3","e4","e5"] | 13 PASS upgradedOrder is ["e1","e2","e3","e4","e5"] |
| 14 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
| 15 | 15 |
| 16 TEST COMPLETE | 16 TEST COMPLETE |
| 17 | 17 |
| OLD | NEW |