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

Issue 306893002: Use a data url in DidStopLoadingDetailsWithPending test. (Closed)

Created:
6 years, 6 months ago by mkosiba (inactive)
Modified:
6 years, 6 months ago
Reviewers:
jam
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, miu+watch_chromium.org, Charlie Reis
Visibility:
Public.

Description

Use a data url in DidStopLoadingDetailsWithPending test. This is to make the test continue passing after http://crrev.com/181493007 lands. The test was relying on the renderer stopping all loaders when a new navigation is issued (which would result in a DidStopLoading callback). After the mentioned CL lands the renderer will not stop+restart loading when asked to navigate during a load breaking the test. The fix is to use a data URL which will result in a DidStopLoading immediately after the didCommitProvisionalLoad callback. Since the test is only checking whether the UI-side state is correct it doesn't matter that the DidStopLoading IPC is pending when didCommitProvisionalLoad is being received. BUG=325351 TEST=content_browsertests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273758

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M content/browser/web_contents/web_contents_impl_browsertest.cc View 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mkosiba (inactive)
PTAL.
6 years, 6 months ago (2014-05-29 17:04:52 UTC) #1
jam
lgtm
6 years, 6 months ago (2014-05-29 21:11:56 UTC) #2
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 6 months ago (2014-05-29 23:16:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/306893002/1
6 years, 6 months ago (2014-05-29 23:20:20 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 08:06:27 UTC) #5
Message was sent while issue was closed.
Change committed as 273758

Powered by Google App Engine
This is Rietveld 408576698