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

Issue 166273007: Reland r251495: Re-enable prerender RemovingLink browser tests. (Closed)

Created:
6 years, 10 months ago by davidben
Modified:
6 years, 10 months ago
Reviewers:
mmenke
CC:
chromium-reviews, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org, dominich+watch_chromium.org, davidben+watch_chromium.org
Visibility:
Public.

Description

Reland r251495: Re-enable prerender RemovingLink browser tests. The tests have changed significantly since they were first disabled. Add a WaitForStop or two for good measure, but leave them as-is for the most part. They can be disabled again if they still flake. Merge their custom prerender loader into the main one; it's mostly the same. In addition, for better test coverage, add a new test which asserts on events received when a <link rel=prerender> is added for an existing prerender after that prerender has loaded. Significantly rework the prerender events logic to allow the test framework to wait on an event being received in the loader. Fix implementation of set_loader_query_and_fragment to not produce URLs with two ?s. Original Review URL: https://codereview.chromium.org/142013004 BUG=167340, 128841 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252156

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -149 lines) Patch
M chrome/browser/prerender/prerender_browsertest.cc View 8 chunks +79 lines, -66 lines 0 comments Download
M chrome/test/data/prerender/prerender_events_common.js View 2 chunks +72 lines, -45 lines 0 comments Download
M chrome/test/data/prerender/prerender_loader.html View 1 chunk +5 lines, -1 line 0 comments Download
D chrome/test/data/prerender/prerender_loader_removing_links.html View 1 chunk +0 lines, -33 lines 0 comments Download
M chrome/test/data/prerender/prerender_page_pending.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/prerender/prerender_page_removes_pending.html View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
davidben
I'm sort of amazed the original version worked at all. I guess we were unlucky ...
6 years, 10 months ago (2014-02-18 23:25:45 UTC) #1
mmenke
On 2014/02/18 23:25:45, David Benjamin wrote: > I'm sort of amazed the original version worked ...
6 years, 10 months ago (2014-02-19 19:32:40 UTC) #2
davidben
On 2014/02/19 19:32:40, mmenke wrote: > On 2014/02/18 23:25:45, David Benjamin wrote: > > I'm ...
6 years, 10 months ago (2014-02-19 19:36:40 UTC) #3
mmenke
On 2014/02/19 19:36:40, David Benjamin wrote: > On 2014/02/19 19:32:40, mmenke wrote: > > On ...
6 years, 10 months ago (2014-02-19 19:40:29 UTC) #4
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 10 months ago (2014-02-19 19:42:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/166273007/1
6 years, 10 months ago (2014-02-19 19:45:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/166273007/1
6 years, 10 months ago (2014-02-20 00:19:22 UTC) #7
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 02:04:30 UTC) #8
Message was sent while issue was closed.
Change committed as 252156

Powered by Google App Engine
This is Rietveld 408576698