GoogleChrome / GoogleChrome/OriginTrials

DisableThirdPartyStoragePartitioning Trial Test isn't working

Open
#102 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bikeshed
Stars
534
Forks
141
PR merge metrics
No merged PRs in 30d

Description

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:
`





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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.