Weaken is_active check more, since it appears that Chromium can switch to and from being the frontmost app during the course of a ui_tests run. This way errors will show up in more carefully controlled local tests, but won't turn the bots red.
Weaken is_active check more, since it appears that Chromium can switch to and
from being the frontmost app during the course of a ui_tests run. This way
errors will show up in more carefully controlled local tests, but won't turn
the bots red.

BUG=5278
TEST=make sure TabRestoreUiTest.* don't fail due to is_active being false


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

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

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