Deflake PrerenderBrowserTest.PrerenderClientRedirectInIframe.
Deflake PrerenderBrowserTest.PrerenderClientRedirectInIframe.

What seems to be happening is that the client redirect can
result in starting and stopping the page loading again.  As
a result, we quit the message loop when the second load
finishes as well as the first, which can occur either while
we're waiting for the result of a Javascript function, or
while we're waiting for the navigation to occur.  Either
case will result in a test failure.

BUG=88973
TEST=PrerenderBrowserTest.PrerenderClientRedirectInIframe (And probably PrerenderBrowserTest.PrerenderClientRedirectToHttpsInIframe)

Review URL: http://codereview.chromium.org/7981033

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@102431 0039d316-1c4b-4281-b951-d872f2087c98

markYoungH/chromium.src,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,ltilve/chromium,anirudhSK/chromium,ltilve/chromium,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,rogerwang/chromium,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,bright-sparks/chromium-spacewalk,Chilledheart/chromium,Chilledheart/chromium,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,zcbenz/cefode-chromium,M4sse/chromium.src,keishi/chromium,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,keishi/chromium,junmin-zhu/chromium-rivertrail,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,anirudhSK/chromium,Fireblend/chromium-crosswalk,Jonekee/chromium.src,M4sse/chromium.src,zcbenz/cefode-chromium,littlstar/chromium.src,mogoweb/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,markYoungH/chromium.src,littlstar/chromium.src,ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,dednal/chromium.src,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,rogerwang/chromium,markYoungH/chromium.src,rogerwang/chromium,ltilve/chromium,hujiajie/pa-chromium,hujiajie/pa-chromium,keishi/chromium,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,Just-D/chromium-1,Just-D/chromium-1,jaruba/chromium.src,fujunwei/chromium-crosswalk,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,rogerwang/chromium,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,axinging/chromium-crosswalk,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,dednal/chromium.src,Jonekee/chromium.src,robclark/chromium,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,jaruba/chromium.src,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,ondra-novak/chromium.src,rogerwang/chromium,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,anirudhSK/chromium,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,M4sse/chromium.src,markYoungH/chromium.src,rogerwang/chromium,M4sse/chromium.src,krieger-od/nwjs_chromium.src,ltilve/chromium,robclark/chromium,patrickm/chromium.src,ChromiumWebApps/chromium,robclark/chromium,krieger-od/nwjs_chromium.src,robclark/chromium,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk,fujunwei/chromium-crosswalk,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,littlstar/chromium.src,pozdnyakov/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,nacl-webkit/chrome_deps,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,anirudhSK/chromium,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,dednal/chromium.src,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,M4sse/chromium.src,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,dednal/chromium.src,zcbenz/cefode-chromium,M4sse/chromium.src,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,littlstar/chromium.src,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,rogerwang/chromium,axinging/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,Jonekee/chromium.src,rogerwang/chromium,hgl888/chromium-crosswalk,Jonekee/chromium.src,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,ltilve/chromium,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,ltilve/chromium,hujiajie/pa-chromium,robclark/chromium,ondra-novak/chromium.src,mogoweb/chromium-crosswalk,patrickm/chromium.src,keishi/chromium,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,keishi/chromium,littlstar/chromium.src,anirudhSK/chromium,keishi/chromium,krieger-od/nwjs_chromium.src,jaruba/chromium.src,dednal/chromium.src,Fireblend/chromium-crosswalk,nacl-webkit/chrome_deps,dushu1203/chromium.src,ltilve/chromium,ondra-novak/chromium.src,nacl-webkit/chrome_deps,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk,chuan9/chromium-crosswalk,Just-D/chromium-1,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,keishi/chromium,robclark/chromium,hgl888/chromium-crosswalk,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,Jonekee/chromium.src,markYoungH/chromium.src,hujiajie/pa-chromium,axinging/chromium-crosswalk,zcbenz/cefode-chromium,patrickm/chromium.src,jaruba/chromium.src,keishi/chromium,jaruba/chromium.src,hgl888/chromium-crosswalk,robclark/chromium,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,ltilve/chromium,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,chuan9/chromium-crosswalk,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,robclark/chromium,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,jaruba/chromium.src,jaruba/chromium.src,ondra-novak/chromium.src,Just-D/chromium-1,keishi/chromium,markYoungH/chromium.src,ondra-novak/chromium.src,dushu1203/chromium.src,fujunwei/chromium-crosswalk,M4sse/chromium.src,timopulkkinen/BubbleFish,patrickm/chromium.src,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,Just-D/chromium-1,markYoungH/chromium.src,Just-D/chromium-1,axinging/chromium-crosswalk,axinging/chromium-crosswalk,M4sse/chromium.src,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,fujunwei/chromium-crosswalk,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,M4sse/chromium.src,patrickm/chromium.src,Chilledheart/chromium,dushu1203/chromium.src,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,markYoungH/chromium.src,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,anirudhSK/chromium,anirudhSK/chromium,rogerwang/chromium,ondra-novak/chromium.src,dednal/chromium.src,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,bright-sparks/chromium-spacewalk,rogerwang/chromium,anirudhSK/chromium,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,Just-D/chromium-1,zcbenz/cefode-chromium,ChromiumWebApps/chromium,dednal/chromium.src,timopulkkinen/BubbleFish,jaruba/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,Jonekee/chromium.src,keishi/chromium,TheTypoMaster/chromium-crosswalk,hujiajie/pa-chromium,chuan9/chromium-crosswalk,robclark/chromium,Chilledheart/chromium,patrickm/chromium.src,Chilledheart/chromium,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,hujiajie/pa-chromium,axinging/chromium-crosswalk,patrickm/chromium.src,fujunwei/chromium-crosswalk,anirudhSK/chromium,M4sse/chromium.src,Chilledheart/chromium,anirudhSK/chromium,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,timopulkkinen/BubbleFish,dednal/chromium.src,Chilledheart/chromium,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,fujunwei/chromium-crosswalk,zcbenz/cefode-chromium,Just-D/chromium-1,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,pozdnyakov/chromium-crosswalk,littlstar/chromium.src,timopulkkinen/BubbleFish,Jonekee/chromium.src,patrickm/chromium.src,dednal/chromium.src,keishi/chromium,robclark/chromium,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,ondra-novak/chromium.src,Jonekee/chromium.src,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,ChromiumWebApps/chromium,axinging/chromium-crosswalk,markYoungH/chromium.src,ltilve/chromium,nacl-webkit/chrome_deps