| OLD | NEW |
| 1 Test for Bug 33806: Would like API to disallow setting of document.domain for pa
ges with certain URL schemes. If the test succeeds, you will see a series of "PA
SS" messages below. | 1 Test for Bug 33806: Would like API to disallow setting of document.domain for pa
ges with certain URL schemes. If the test succeeds, you will see a series of "PA
SS" messages below. |
| 2 | 2 |
| 3 PASS: document.domain should be 127.0.0.1 and is | 3 PASS: document.domain should be 127.0.0.1 and is |
| 4 PASS: document.domain should be 0.0.1 and is | 4 PASS: document.domain should be 0.0.1 and is |
| 5 Forbidding domain relaxation for the http: scheme | 5 Forbidding domain relaxation for the http: scheme |
| 6 PASS: Setting document.domain from a forbidden URL scheme threw exception "Error
: SecurityError: DOM Exception 18" | 6 PASS: Setting document.domain from a forbidden URL scheme threw exception "Secur
ityError: An attempt was made to break through the security policy of the user a
gent." |
| 7 PASS: document.domain should be 0.0.1 and is | 7 PASS: document.domain should be 0.0.1 and is |
| 8 Allowing domain relaxation for the http: scheme | 8 Allowing domain relaxation for the http: scheme |
| 9 PASS: document.domain should be 0.1 and is | 9 PASS: document.domain should be 0.1 and is |
| 10 Forbidding domain relaxation for the not-http: scheme | 10 Forbidding domain relaxation for the not-http: scheme |
| 11 PASS: document.domain should be 1 and is | 11 PASS: document.domain should be 1 and is |
| 12 Allowing domain relaxation for the not-http: scheme | 12 Allowing domain relaxation for the not-http: scheme |
| 13 | 13 |
| OLD | NEW |