summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 19:14:55 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 19:14:55 +0000
commitdab37783392a25206ce529464723304d955fa637 (patch)
tree53d95c2872edf2c6200de941e7dc91e3521474f2 /chrome
parent6c3572b9344939dec9a0b599f2fe1a316f108835 (diff)
downloadchromium_src-dab37783392a25206ce529464723304d955fa637.zip
chromium_src-dab37783392a25206ce529464723304d955fa637.tar.gz
chromium_src-dab37783392a25206ce529464723304d955fa637.tar.bz2
Remove suppressions for pdf crasher.
BUG=70811 TEST= Review URL: http://codereview.chromium.org/6308021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/functional/pdf.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/test/functional/pdf.py b/chrome/test/functional/pdf.py
index b264288..800ca99 100644
--- a/chrome/test/functional/pdf.py
+++ b/chrome/test/functional/pdf.py
@@ -40,16 +40,15 @@ class PDFTest(pyauto.PyUITest):
breakpad_folder = properties['DIR_CRASH_DUMPS']
old_dmp_files = glob.glob(os.path.join(breakpad_folder, '*.dmp'))
pdf_files_path = os.path.join(self.DataDir(), 'pyauto_private', 'pdf')
- pdf_files = glob.glob(os.path.join(pdf_files_path, '*.pdf'))
+ pdf_files = map(self.GetFileURLForPath,
+ glob.glob(os.path.join(pdf_files_path, '*.pdf')))
# Add a pdf file over http:// to the list of pdf files.
# crbug.com/70454
- pdf_files += ['http://www.irs.gov/pub/irs-pdf/fw9.pdf']
- for pdf_file in pdf_files:
+ pdf_files += ['http://www.irs.gov/pub/irs-pdf/fw4.pdf']
+ for url in pdf_files:
# Some pdfs cause known crashes. Exclude them. crbug.com/63549
- # crbug.com/70811
- if os.path.basename(pdf_file) in ('nullip.pdf', 'sample.pdf', 'fw4.pdf'):
+ if os.path.basename(url) in ('nullip.pdf', 'sample.pdf'):
continue
- url = self.GetFileURLForPath(pdf_file)
self.AppendTab(pyauto.GURL(url))
for tab_index in range(1, len(pdf_files) + 1):
self.ActivateTab(tab_index)