Skip to content

Commit

Permalink
use dyn tld node for tripadvisor & test
Browse files Browse the repository at this point in the history
  • Loading branch information
cowlicks committed Aug 10, 2017
1 parent f34937c commit c150fca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/multiDomainFirstParties.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ var _multiDomainFirstPartiesArray = [
["techdata.com", "techdata.ch"],
["telekom.com", "t-online.de"],
["tesla.com", "teslamotors.com"],
["tripadvisor.com", "tacdn.com", "tamgrt.com"],
[["tripadvisor", genCcNode, ccNode], ["tripadvisor", genCcNode], "tacdn.com", "tamgrt.com"],
["trsretire.com", "divinvest.com"],
["turbotax.com", "intuit.com"],
["twitch.tv", "ttvnw.net", "jtvnw.net"],
Expand Down
5 changes: 5 additions & 0 deletions src/tests/tests/multiDomainFirstParties.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,9 @@

assert.notOk(isMdfp('reddit.com', 'amazon.com'));
});

QUnit.test('Test real data', assert => {
assert.ok(mdfp.isMultiDomainFirstParty('tripadvisor.com', 'tacdn.com'));
assert.ok(mdfp.isMultiDomainFirstParty('tripadvisor.co.uk', 'tamgrt.com'));
});
})();

0 comments on commit c150fca

Please sign in to comment.