fune/toolkit/components/url-classifier/tests
Frederik Braun 30ca834b74 Bug 1752475 - Change nsICookie/CookieStruct to implicitly flip SameSite in getter func r=dveditz,dragana,freddyb
Given that we only support samesite lax/strict/none in our storage schema,
it's useful to introduce a default value, as required by the spec.
However, that would it hard to distinguish between none/lax when we switch
the default.
So, instead of doing that we use the peculiarities of our current schema
to our advantage: There's a "sameSite" attribute and a "rawSameSite"
attribute, where the latter is the literal value we received from the
server. With this patch, we'll interpret the "sameSite" attribute
based on the laxByDefault pref. This also has the advantage that various
front-end code (e.g., in DevTools) is always reading the "sameSite"
value of nsICookies.

Differential Revision: https://phabricator.services.mozilla.com/D137460
2022-04-05 08:20:25 +00:00
..
gtest Bug 1731564: Use motivated SpinEventLoopUntil inside toolkit/*. r=Gijs 2021-10-07 08:06:15 +00:00
mochitest Bug 1752475 - Change nsICookie/CookieStruct to implicitly flip SameSite in getter func r=dveditz,dragana,freddyb 2022-04-05 08:20:25 +00:00
unit Bug 1730126 - Enable ESLint rule no-loss-of-precision. r=Standard8 2021-10-29 08:29:26 +00:00
moz.build
UrlClassifierTestUtils.jsm