| Index: chrome/browser/cocoa/bug_report_window_controller_unittest.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/bug_report_window_controller_unittest.mm (revision 31117)
|
| +++ chrome/browser/cocoa/bug_report_window_controller_unittest.mm (working copy)
|
| @@ -54,9 +54,10 @@
|
| initWithTabContents:NULL
|
| profile:profile_.get()];
|
|
|
| - // Make sure that no page title or URL are recorded.
|
| - EXPECT_TRUE([[controller pageURL] isEqualToString:@""]);
|
| - EXPECT_TRUE([[controller pageTitle] isEqualToString:@""]);
|
| + // Make sure that no page title or URL are recorded. Note that IB reports
|
| + // empty textfields as NULL values.
|
| + EXPECT_FALSE([controller pageURL]);
|
| + EXPECT_FALSE([controller pageTitle]);
|
|
|
| // When we call "report bug" with empty tab contents, only menu options
|
| // that don't refer to a specific page should be available, and the send
|
|
|