forked from mirrors/gecko-dev
Previously, we operated under the understanding that with Flash blocking activated, non-whitelisted documents would be set to CTA. We are changing that such that now, documents will only be CTA'ed if Flash is set to "Ask to Activate". Flash blocking will now behave according to the following chart: User Setting Flash block Whitelisted sites Blacklisted sites Unlisted sites "Never ..." Off Deny Deny Deny "Ask ..." Off Ask Ask Ask "Always ..." Off Allow Allow Allow "Never ..." On Deny Deny Deny "Ask ..." On Allow Deny Ask "Always ..." On Allow Deny Allow This patch also completely reworks the flash blocking testing. Test data and most code remains consolidated, but will be run in multiple different tests. This avoids having to extend the timeout for Flash block testing to an extremely long length. The new Flash block testing additionally tests each of the six cases (rows) in the table above. MozReview-Commit-ID: 5aPGUEiUiCv --HG-- extra : rebase_source : d5f5711855d108a9a33b9d28aae6e312cc9cb432 |
||
|---|---|---|
| .. | ||
| browser | ||
| gtest | ||
| mochitest | ||
| unit | ||
| jar.mn | ||
| moz.build | ||
| unittests.xul | ||
| UrlClassifierTestUtils.jsm | ||