• John Rummell's avatar
    Reland "Update BrowsingDataRemoverBrowserTest to include MediaLicenses" · 9efc6c3e
    John Rummell authored
    Original change's description:
    > MediaLicenses can be cleared from the ClearBrowsingData dialog, so update the
    > BrowsingDataRemoverBrowserTest to check them as well. This uses the test-only
    > External Clear Key CDM to store the license in the file system, if it is
    > available.
    >
    > The original CL was flaky due to Mac's only saving file timestamps to
    > second granularity. As a result it was possible for the newly created license
    > to be saved with a timestamp prior to the current actual time, and deleting
    > "old" licenses would include it in the deletion. Change is to wait for some
    > time on Macs only to ensure that the "new" license has a later timestamp.
    
    This reverts commit b6bfa2b7.
    
    BUG=808690
    TEST=new browser_tests pass
    
    Change-Id: Iad919ec23bf157a9bc4af3e6d54af2b28fdc217e
    Reviewed-on: https://chromium-review.googlesource.com/c/1354498Reviewed-by: default avatarChristian Dullweber <dullweber@chromium.org>
    Commit-Queue: John Rummell <jrummell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#612301}
    9efc6c3e
media_license.html 2.56 KB