Automated test case for 487928.
authorTom Sepez <tsepez@chromium.org>
Tue, 2 Jun 2015 23:51:07 +0000 (16:51 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 2 Jun 2015 23:51:07 +0000 (16:51 -0700)
commita76f557650dfc95cae5f535d4a1b627a84d2b5f0
tree40de9a298f1e02774dcb6cfb303d629bc97a7ec4
parentb29338d126125d96d63817af1d80a64ea929ffae
Automated test case for 487928.

Reproducing this bug requires the embedder to fire timers, something the
single-pass pdfium-test binary doesn't do properly at the present. So
we modify the embedder test delegate to allow the immediate triggering
of the same.

Perform some cleanup along the way by removing EmbedderTestDefaultDelegate
-- it buys us nothing over the the no-op one.

And, of course, v8 initialization is busted again, and we need v8 here.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1153213004
BUILD.gn
fpdfsdk/src/fpdfformfill_embeddertest.cpp
pdfium.gyp
testing/embedder_test.cpp
testing/embedder_test.h
testing/embedder_test_mock_delegate.h
testing/embedder_test_timer_handling_delegate.h [new file with mode: 0644]
testing/resources/bug_487928.in [new file with mode: 0644]
testing/resources/bug_487928.pdf [new file with mode: 0644]