Chromium Code Reviews
DescriptionFix checking of iframe contents in SSLUITest.TestUnsafeContents.
This test attempts to check if iframe contents served over bad SSL are blocked, but it has
several problems:
- The page iframed in the test (bad_iframe.html) doesn't actually attempt to open a popup.
- Even if it did, it wouldn't be able to because it doesn't run inside a user gesture.
- The test uses IsShowingWebContentsModalDialog function to check if the popup opened, but
that function doesn't work properly.
This CL adds popup code to bad_iframe.html, allows popups without a user gesture and properly
checks if the popup opened or was blocked. It also adds a sanity check to make sure
subresources served over good SSL aren't blocked.
BUG=611162
Committed: https://crrev.com/416ca89721fe8b3f3559d121d0025b0df5bcbb44
Cr-Commit-Position: refs/heads/master@{#393394}
Patch Set 1 #
Total comments: 6
Patch Set 2 : estark comments #
Messages
Total messages: 13 (7 generated)
|
|||||||||||||||||||||||||||||||||||||