Skip to content

Commit

Permalink
Merge pull request #105 from GoogleChromeLabs/remove-ibc-compliant
Browse files Browse the repository at this point in the history
Remove "IBC Compliant" status column
  • Loading branch information
mayan-000 authored Aug 16, 2023
2 parents b94ef24 + 6d06139 commit 97dd916
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 179 deletions.
47 changes: 0 additions & 47 deletions packages/extension/src/utils/checkIbcCompliance.ts

This file was deleted.

5 changes: 0 additions & 5 deletions packages/extension/src/utils/test-data/cookieMockData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ const data: {
url: 'https://edition.cnn.com/whatever/api',
headerType: 'response',
isFirstParty: true,
isIbcCompliant: true,
isCookieSet: true,
frameIdList: [1],
},
Expand All @@ -93,7 +92,6 @@ const data: {
url: 'https://api.pubmatic.com/whatever/api',
headerType: 'response',
isFirstParty: false,
isIbcCompliant: true,
isCookieSet: true,
frameIdList: [1],
},
Expand All @@ -114,7 +112,6 @@ const data: {
url: 'https://edition.cnn.com/whatever/api',
headerType: 'response',
isFirstParty: true,
isIbcCompliant: true,
isCookieSet: true,
frameIdList: [1],
},
Expand All @@ -135,7 +132,6 @@ const data: {
url: 'https://api.pubmatic.com/whatever/api',
headerType: 'response',
isFirstParty: false,
isIbcCompliant: true,
isCookieSet: true,
frameIdList: [1],
},
Expand All @@ -156,7 +152,6 @@ const data: {
url: 'https://api.pubmatic.com/whatever/api',
headerType: 'response',
isFirstParty: false,
isIbcCompliant: true,
isCookieSet: true,
frameIdList: [1],
},
Expand Down
66 changes: 0 additions & 66 deletions packages/extension/src/utils/tests/checkIbcCompliance.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ const mockResponse: {
headerType: 'response',
frameIdList: [1],
isFirstParty: true,
isIbcCompliant: true,
isCookieSet: true,
},
[uncategorized3pCookie.name]: {
Expand All @@ -87,7 +86,6 @@ const mockResponse: {
headerType: 'response',
frameIdList: [1],
isFirstParty: false,
isIbcCompliant: true,
isCookieSet: true,
},
[known1pCookie.name]: {
Expand All @@ -108,7 +106,6 @@ const mockResponse: {
headerType: 'response',
frameIdList: [1],
isFirstParty: true,
isIbcCompliant: true,
isCookieSet: true,
},
[known3pCookie.name]: {
Expand All @@ -129,7 +126,6 @@ const mockResponse: {
headerType: 'response',
frameIdList: [1],
isFirstParty: false,
isIbcCompliant: true,
isCookieSet: true,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,19 +137,6 @@ const tableColumns: ColumnDef<CookieTableData>[] = [
</a>
),
},
{
header: 'IBC Compliant',
accessorKey: 'isIbcCompliant',
cell: (info) => (
<p className="flex justify-center items-center">
{info.getValue() ? (
<Check className="scale-125 stroke-onyx dark:stroke-bright-gray" />
) : (
''
)}
</p>
),
},
{
header: 'Cookie Accepted',
accessorKey: 'isCookieSet',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -77,7 +76,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -103,7 +101,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -129,7 +126,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -155,7 +151,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -181,7 +176,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -207,7 +201,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -233,7 +226,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -259,7 +251,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -285,7 +276,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -311,7 +301,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -337,7 +326,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -363,7 +351,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -389,7 +376,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -415,7 +401,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -441,7 +426,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -467,7 +451,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -493,7 +476,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -519,7 +501,6 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
{
parsedCookie: {
Expand All @@ -545,6 +526,5 @@ export const TempCookieData: CookieTableData[] = [
frameIdList: [],
isCookieSet: false,
isFirstParty: true,
isIbcCompliant: false,
},
];
1 change: 0 additions & 1 deletion packages/extension/src/view/devtools/cookies.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import type { CookieData } from '../../localStore';

export type CookieTableData = CookieData & {
isIbcCompliant: boolean | null;
isCookieSet: boolean | null;
};

Expand Down
Loading

0 comments on commit 97dd916

Please sign in to comment.