| | 129 | diag(""); |
|---|
| | 130 | diag("If the tests still do not work, please submit a ticket to:"); |
|---|
| | 131 | diag("http://www.honeyclient.org/trac/newticket"); |
|---|
| | 132 | diag(""); |
|---|
| | 133 | fail("The drive() call failed."); |
|---|
| | 134 | } |
|---|
| | 135 | |
|---|
| | 136 | diag("About to restart FF. Please check if the \"Restore Previous Session\" dialog box appears."); |
|---|
| | 137 | $question = prompt("# Pick another website for FF browse to:", "http://www.mitre.org"); |
|---|
| | 138 | $ie->drive(url => $question); |
|---|
| | 139 | |
|---|
| | 140 | diag(""); |
|---|
| | 141 | $question = prompt("# Did the \"Restore Previous Session\" dialog box appear?", "yes"); |
|---|
| | 142 | diag(""); |
|---|
| | 143 | if ($question !~ /^n.*/i) { |
|---|
| | 144 | diag("You will need to disable the \"Restore Previous Session\" dialog box manually in Firefox."); |
|---|
| | 145 | diag("Here's how:"); |
|---|
| | 146 | diag("1) Start up Firefox manually."); |
|---|
| | 147 | diag("2) Go to 'about:config'."); |
|---|
| | 148 | diag("3) Change the 'browser.sessionstore.resume_from_crash' value to 'false'."); |
|---|
| | 149 | diag("4) Re-run these tests."); |
|---|