• sammc's avatar
    OOP PDF: Fix PrintWebViewHelper test issues with OOP PDF enabled. · 81c98ba5
    sammc authored
    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
    
    Review URL: https://codereview.chromium.org/800343004
    
    Cr-Commit-Position: refs/heads/master@{#308450}
    81c98ba5
print_web_view_helper.cc 71.9 KB