8000
Skip to content

new_audit: third-party cookies - #15632

Merged
adamraine merged 14 commits into
mainfrom
3p-cookies
Dec 8, 2023
Merged

new_audit: third-party cookies#15632
adamraine merged 14 commits into
mainfrom
3p-cookies

Conversation

@adamraine
Copy link
Copy Markdown
Contributor

This was discussed internally on email chain. Wasn't too much work to create a prototype so here it is.

Technically we already surface these issues via the generic inspector issues audit alongside all the other cookie issues. However, specific information about each issue is missing and the call to action is just opening the issues panel for more info.

This audit will make 3PCD issues much more visible with a direct link to better documentation.

Screenshot 2023-11-27 at 12 05 22 PM

@adamraine

This comment was marked as outdated.

Comment thread cli/test/fixtures/dobetterweb/dbw_tester.html Fixed
displayValue: '1 cookie found',
details: {
items: [
{name: 'Foo', url: /^http:\/\/\[::1\]:10503\/dobetterweb\/empty_module\.js/},
@connorjclark connorjclark Dec 7, 2023
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should make a literalToRegexStartsWith('https://.....') ....

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new RegExp will escape all of the / for us but not the [. Eh too much thinking

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"headings": [],
"items": []
}
},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we update artifacts to populate this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, bit of noise in the sample changes but not too bad

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: I reverted this change because we will need to regen the DT log as well to prevent some subtle errors. I think the smoke test is sufficient until we do full artifacts regen.

Comment thread cli/test/fixtures/dobetterweb/dbw_tester.html Fixed
xela27rr

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

0