Files
tubestation/toolkit/components/url-classifier/tests
dlee 84d4c57544 Bug 1539150 - Use window.open instead of setting iframe src in test_classify_by_default.html. ?baku r=baku
In the test_classify_by_default.html, we use "network.cookie.cookieBehavior"
to test if a channel is correctly classified.

Cookie restriction is only enabled in nightly and early beta so the
default preference is not always set. Although we set the preference
in the testcase, it is too late because that the channel's cookie
setting might inherit from it's parent and may end up with getting
the old(default) value.

In this patch, we use window.open to test the tracker frame to make
sure we use the udpated prefrence.

Differential Revision: https://phabricator.services.mozilla.com/D25657
2019-04-02 08:00:37 +00:00
..