| Index: chrome/browser/ui/browser_browsertest.cc
|
| diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc
|
| index 56901bcdfb435f9800494117dd64cd875f9a7148..4d1813f58a860c1666bf3bfaa6ab58c403412f4c 100644
|
| --- a/chrome/browser/ui/browser_browsertest.cc
|
| +++ b/chrome/browser/ui/browser_browsertest.cc
|
| @@ -231,6 +231,9 @@ class TestInterstitialPage : public content::InterstitialPageDelegate {
|
| void Proceed() {
|
| interstitial_page_->Proceed();
|
| }
|
| + void DontProceed() {
|
| + interstitial_page_->DontProceed();
|
| + }
|
|
|
| virtual std::string GetHTMLContents() OVERRIDE {
|
| return "<h1>INTERSTITIAL</h1>";
|
| @@ -1727,10 +1730,13 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, InterstitialClosesDialogs) {
|
| InterstitialObserver observer(contents,
|
| base::Closure(),
|
| loop_runner->QuitClosure());
|
| - interstitial->Proceed();
|
| + interstitial->DontProceed();
|
| loop_runner->Run();
|
| // interstitial is deleted now.
|
| }
|
| +
|
| + // Make sure input events still work in the renderer process.
|
| + EXPECT_FALSE(contents->GetRenderProcessHost()->IgnoreInputEvents());
|
| }
|
|
|
|
|
|
|