| OLD | NEW |
| (Empty) |
| 1 A couple of tests to ensure that adding a stop with an invalid color to a gradie
nt throws exceptions normally, but not in dashboard. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Ensure exceptions are thrown in normal pages | |
| 7 PASS gradient.addColorStop(1, 'rgb(NaN%, NaN%, NaN%)') threw exception Error: Sy
ntaxError: DOM Exception 12. | |
| 8 PASS gradient.addColorStop(1, 'rgb(NaN%, NaN%, NaN%)') threw exception Error: Sy
ntaxError: DOM Exception 12. | |
| 9 Switching to dashboard compatibility mode. Invalid color strings should no long
er cause an exception. | |
| 10 PASS gradient.addColorStop(1, 'rgb(NaN%, NaN%, NaN%)') is undefined. | |
| 11 PASS gradient.addColorStop(1, 'rgb(NaN%, NaN%, NaN%)') is undefined. | |
| 12 PASS successfullyParsed is true | |
| 13 | |
| 14 TEST COMPLETE | |
| 15 | |
| OLD | NEW |