Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Issue 3117032: Fix for the ChromeFrame unload event test failures seen on the builder. For s... (Closed)

Created:
10 years, 4 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
amit
CC:
chromium-reviews, amit
Visibility:
Public.

Description

Fix for the ChromeFrame unload event test failures seen on the builder. For some reason the test shows up as succeeded even though it is failing. The test fails when the automation client instance is reused, i.e the new page loads in the same tab. We need to set the ready state of the active document instance to ready when we reuse the automation client instance. TBR=amit Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56963

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M chrome_frame/chrome_active_document.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ananta
10 years, 4 months ago (2010-08-21 01:18:49 UTC) #1
amit
10 years, 4 months ago (2010-08-21 17:38:26 UTC) #2
ok. Thanks for debugging.

On Fri, Aug 20, 2010 at 6:18 PM, <ananta@chromium.org> wrote:

> Reviewers: amit,
>
> Description:
> Fix for the ChromeFrame unload event test failures seen on the builder. For
> some
> reason
> the test shows up as succeeded even though it is failing.
>
> The test fails when the automation client instance is reused, i.e the new
> page
> loads in
> the same tab. We need to set the ready state of the active document
> instance to
> ready
> when we reuse the automation client instance.
>
> TBR=amit
>
>
> Please review this at http://codereview.chromium.org/3117032/show
>
> SVN Base: svn://svn.chromium.org/chrome/trunk/src/
>
> Affected files:
>  M     chrome_frame/chrome_active_document.cc
>
>
> Index: chrome_frame/chrome_active_document.cc
> ===================================================================
> --- chrome_frame/chrome_active_document.cc      (revision 56679)
> +++ chrome_frame/chrome_active_document.cc      (working copy)
> @@ -83,6 +83,7 @@
>     DCHECK(automation_client_.get() != NULL);
>     automation_client_->Reinitialize(this, url_fetcher_.get());
>     is_automation_client_reused_ = true;
> +    OnAutomationServerReady();
>   } else {
>     // The FinalConstruct implementation in the ChromeFrameActivexBase
> class
>     // i.e. Base creates an instance of the ChromeFrameAutomationClient
> class
>
>
>

Powered by Google App Engine
This is Rietveld 408576698