Skip to content

Commit 50df895

Browse files
authored
Fix typo with cookie debugHelper() call (#105)
The wrong context was being passed through to debugHelper, resulting in exceptions being thrown when attempting to access properties of the context Object. Full credit to Konrad for correctly identifying this fix.
1 parent 228c878 commit 50df895

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

build/apple/contentScope.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/chrome/inject.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/firefox/inject.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/integration/contentScope.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/features/cookie.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function load (args) {
139139
if (document.cookie.split(';').findIndex(kv => kv.trim().startsWith(cookie.parts[0].trim())) !== -1) {
140140
cookie.maxAge = policy.maxAge
141141

142-
debugHelper('restrict', 'expiry', scriptOrigins)
142+
debugHelper('restrict', 'expiry', setCookieContext)
143143

144144
cookieSetter.apply(document, [cookie.toString()])
145145
} else {

0 commit comments

Comments
 (0)