DescriptionOOP PDF: Fix PrintWebViewHelper test issues with OOP PDF enabled.
OOP PDF causes that the print-preview page to contain an iframe of the
PDF extension instead of directly including a plugin element. However,
the tests for PrintWebViewHelper use a fake print-preview page that
cannot contain an iframe of the extension because the necessary
infrastructure is not available in the test. This relaxes the
expectations so that in tests where the pdf element isn't an iframe,
that element is used instead.
BUG=303491
Committed: https://crrev.com/81c98ba5f74cbe9e6f1a12a0b96371b65dd4374e
Cr-Commit-Position: refs/heads/master@{#308450}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|