Skip to content

Commit

Permalink
removed line that ensures DNT checking happens in test
Browse files Browse the repository at this point in the history
this should be fixed in a different way.
  • Loading branch information
Alex Bruce committed May 23, 2017
1 parent a873df6 commit bf7f9a8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/tests/tests/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@
});

QUnit.test("DNT does not cascade", (assert) => {
let settings_map = storage.getBadgerStorageObject('settings_map');
settings_map.setItem("checkForDNTPolicy", true);
storage.setupDNT(DOMAIN);

// check domain itself
Expand Down Expand Up @@ -211,8 +209,6 @@
});

QUnit.test("blocking still cascades after domain declares DNT", (assert) => {
let settings_map = storage.getBadgerStorageObject('settings_map');
settings_map.setItem("checkForDNTPolicy", true);
storage.setupHeuristicAction(DOMAIN, constants.BLOCK);
storage.setupDNT(DOMAIN);

Expand Down Expand Up @@ -333,8 +329,6 @@
});

QUnit.test("user actions overrule everything else", (assert) => {
let settings_map = storage.getBadgerStorageObject('settings_map');
settings_map.setItem("checkForDNTPolicy", true);
storage.setupUserAction(DOMAIN, constants.USER_BLOCK);
storage.setupHeuristicAction(SUBDOMAIN, constants.COOKIEBLOCK);
storage.setupDNT(SUBSUBDOMAIN);
Expand Down

0 comments on commit bf7f9a8

Please sign in to comment.