Skip to content

DisableThirdPartyStoragePartitioning Trial Test isn't working #102

@TimWilliams-a

Description

@TimWilliams-a

Hey Everyone,
I am trying to the DisableThirdPartyStoragePartitioning for a third-party iframe with 0 success.
I did everything in the right order.
I have the following HTML Page:
`

<script src="https://www.example.com/test.js"></script> aaa `

Which rendered as an iframe with test.js content as:
`const TOKEN = 'TOKEN';

const otMeta = document.createElement('meta');
otMeta.httpEquiv = 'origin-trial';
otMeta.content = TOKEN;
document.head.append(otMeta);
console.log(localStorage);
localStorage.test=1;
console.log(localStorage)
`

When I open the Chrome dev tools on the Application I can see that everything is working
image

But when I am running the test on two different top TLD's I get two different localStorages which means that the test is failing and I can't understand why as everything is in green.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions