Skip to content

Commit

Permalink
Release build 6.14.0 [ci release]
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanKingston authored and github-actions[bot] committed Sep 3, 2024
1 parent 3ce4894 commit 1164f95
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 37 deletions.
10 changes: 4 additions & 6 deletions build/chrome-mv3/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -3851,8 +3851,8 @@
} else if (isTrackingCookie() || isNonTrackingCookie()) {
debugHelper('ignore', '3p frame', getCookieContext);
}
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
return cookieGetter.call(document)
// @ts-expect-error - error TS18048: 'cookieGetter' is possibly 'undefined'.
return cookieGetter.call(this)
}

/**
Expand Down Expand Up @@ -3883,7 +3883,7 @@
// if the value is valid. We will override this set later if the policy dictates that
// the expiry should be changed.
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
cookieSetter.call(document, argValue);
cookieSetter.call(this, argValue);

try {
// wait for config before doing same-site tests
Expand Down Expand Up @@ -3922,9 +3922,7 @@
}
}

this.defineProperty(globalThis.Document.prototype, 'cookie', {
enumerable: true,
configurable: true,
this.wrapProperty(globalThis.Document.prototype, 'cookie', {
set: setCookiePolicy,
get: getCookiePolicy
});
Expand Down
2 changes: 1 addition & 1 deletion build/chrome/inject.js

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions build/contentScope.js
Original file line number Diff line number Diff line change
Expand Up @@ -11663,8 +11663,8 @@
} else if (isTrackingCookie() || isNonTrackingCookie()) {
debugHelper('ignore', '3p frame', getCookieContext);
}
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
return cookieGetter.call(document)
// @ts-expect-error - error TS18048: 'cookieGetter' is possibly 'undefined'.
return cookieGetter.call(this)
}

/**
Expand Down Expand Up @@ -11695,7 +11695,7 @@
// if the value is valid. We will override this set later if the policy dictates that
// the expiry should be changed.
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
cookieSetter.call(document, argValue);
cookieSetter.call(this, argValue);

try {
// wait for config before doing same-site tests
Expand Down Expand Up @@ -11734,9 +11734,7 @@
}
}

this.defineProperty(globalThis.Document.prototype, 'cookie', {
enumerable: true,
configurable: true,
this.wrapProperty(globalThis.Document.prototype, 'cookie', {
set: setCookiePolicy,
get: getCookiePolicy
});
Expand Down
10 changes: 4 additions & 6 deletions build/firefox/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -3889,8 +3889,8 @@
} else if (isTrackingCookie() || isNonTrackingCookie()) {
debugHelper('ignore', '3p frame', getCookieContext);
}
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
return cookieGetter.call(document)
// @ts-expect-error - error TS18048: 'cookieGetter' is possibly 'undefined'.
return cookieGetter.call(this)
}

/**
Expand Down Expand Up @@ -3921,7 +3921,7 @@
// if the value is valid. We will override this set later if the policy dictates that
// the expiry should be changed.
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
cookieSetter.call(document, argValue);
cookieSetter.call(this, argValue);

try {
// wait for config before doing same-site tests
Expand Down Expand Up @@ -3960,9 +3960,7 @@
}
}

this.defineProperty(globalThis.Document.prototype, 'cookie', {
enumerable: true,
configurable: true,
this.wrapProperty(globalThis.Document.prototype, 'cookie', {
set: setCookiePolicy,
get: getCookiePolicy
});
Expand Down
10 changes: 4 additions & 6 deletions build/integration/contentScope.js
Original file line number Diff line number Diff line change
Expand Up @@ -11663,8 +11663,8 @@
} else if (isTrackingCookie() || isNonTrackingCookie()) {
debugHelper('ignore', '3p frame', getCookieContext);
}
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
return cookieGetter.call(document)
// @ts-expect-error - error TS18048: 'cookieGetter' is possibly 'undefined'.
return cookieGetter.call(this)
}

/**
Expand Down Expand Up @@ -11695,7 +11695,7 @@
// if the value is valid. We will override this set later if the policy dictates that
// the expiry should be changed.
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
cookieSetter.call(document, argValue);
cookieSetter.call(this, argValue);

try {
// wait for config before doing same-site tests
Expand Down Expand Up @@ -11734,9 +11734,7 @@
}
}

this.defineProperty(globalThis.Document.prototype, 'cookie', {
enumerable: true,
configurable: true,
this.wrapProperty(globalThis.Document.prototype, 'cookie', {
set: setCookiePolicy,
get: getCookiePolicy
});
Expand Down
10 changes: 4 additions & 6 deletions build/windows/contentScope.js
Original file line number Diff line number Diff line change
Expand Up @@ -3910,8 +3910,8 @@
} else if (isTrackingCookie() || isNonTrackingCookie()) {
debugHelper('ignore', '3p frame', getCookieContext);
}
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
return cookieGetter.call(document)
// @ts-expect-error - error TS18048: 'cookieGetter' is possibly 'undefined'.
return cookieGetter.call(this)
}

/**
Expand Down Expand Up @@ -3942,7 +3942,7 @@
// if the value is valid. We will override this set later if the policy dictates that
// the expiry should be changed.
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
cookieSetter.call(document, argValue);
cookieSetter.call(this, argValue);

try {
// wait for config before doing same-site tests
Expand Down Expand Up @@ -3981,9 +3981,7 @@
}
}

this.defineProperty(globalThis.Document.prototype, 'cookie', {
enumerable: true,
configurable: true,
this.wrapProperty(globalThis.Document.prototype, 'cookie', {
set: setCookiePolicy,
get: getCookiePolicy
});
Expand Down
10 changes: 4 additions & 6 deletions src/features/cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ export default class CookieFeature extends ContentFeature {
} else if (isTrackingCookie() || isNonTrackingCookie()) {
debugHelper('ignore', '3p frame', getCookieContext)
}
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
return cookieGetter.call(document)
// @ts-expect-error - error TS18048: 'cookieGetter' is possibly 'undefined'.
return cookieGetter.call(this)
}

/**
Expand Down Expand Up @@ -186,7 +186,7 @@ export default class CookieFeature extends ContentFeature {
// if the value is valid. We will override this set later if the policy dictates that
// the expiry should be changed.
// @ts-expect-error - error TS18048: 'cookieSetter' is possibly 'undefined'.
cookieSetter.call(document, argValue)
cookieSetter.call(this, argValue)

try {
// wait for config before doing same-site tests
Expand Down Expand Up @@ -225,9 +225,7 @@ export default class CookieFeature extends ContentFeature {
}
}

this.defineProperty(globalThis.Document.prototype, 'cookie', {
enumerable: true,
configurable: true,
this.wrapProperty(globalThis.Document.prototype, 'cookie', {
set: setCookiePolicy,
get: getCookiePolicy
})
Expand Down

0 comments on commit 1164f95

Please sign in to comment.