Update path to data file in perf test

R=dennisjeffrey@chromium.org
BUG=139651
TEST=
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10832065

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148993 0039d316-1c4b-4281-b951-d872f2087c98
parent 1bf7bc00
......@@ -689,9 +689,10 @@ class TabPerfTest(BasePerfTest):
def testNewTabFlash(self):
"""Measures time to open a new tab navigated to a flash page."""
self.assertTrue(
os.path.exists(os.path.join(self.DataDir(), 'plugin', 'flash.swf')),
os.path.exists(os.path.join(self.ContentDataDir(), 'plugin',
'flash.swf')),
msg='Missing required flash data file.')
url = self.GetFileURLForDataPath('plugin', 'flash.swf')
url = self.GetFileURLForContentDataPath('plugin', 'flash.swf')
self._RunNewTabTest('NewTabFlashPage', lambda: self._AppendTab(url),
'open_tab')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment