| OLD | NEW |
| 1 CONFIRM NAVIGATION: This is beforeunload from the top level frame. | 1 Tests the returnValue attribute of the BeforeUnloadEvent from an event listener. |
| 2 Tests the returnValue attribute of the BeforeUnloadEvent. | |
| 3 | 2 |
| 4 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
". |
| 5 | 4 |
| 6 | 5 |
| 7 PASS testEvent.__proto__ is BeforeUnloadEvent.prototype | 6 PASS testEvent.__proto__ is BeforeUnloadEvent.prototype |
| 8 PASS testEvent.returnValue is "" | 7 PASS testEvent.returnValue is "" |
| 9 PASS testEvent.returnValue is "This is beforeunload from the top level frame." | |
| 10 PASS successfullyParsed is true | 8 PASS successfullyParsed is true |
| 11 | 9 |
| 12 TEST COMPLETE | 10 TEST COMPLETE |
| 13 | 11 |
| OLD | NEW |