-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 1159586: Split browsing context groups by top-level site #322
Comments
@PF4Public if you have time, try checking this too. if I understand correctly, basically today a first party can communicate with itself via postmessage when it is a third party even between different partitions. |
@uazo Could you please rephrase your statement above? I'm not sure I completely understand you. From what I read, in order to send a message over |
you must excuse me, I thought I could do it but I have not yet had time to double check the code, but simply reading it:
a |
Yes, but how could first party be third-party at the same time? |
In different browsing context, by simplifying, different tabs.
(1) and (2) are first party and third-party at the same time |
This won't go unnoticed by user though! |
My example is just to make you understand how it is possible, I haven't checked yet. |
I wonder if it would be possible to create a simple proof of concept to verify if this woks or not :) |
should not be necessary, I think I saw an associated Ukm, tomorrow I will tell you |
nothing, I just don't understand how you can read that information. |
they replied: nothing, I guess it won't be possible to tell if sites exploit that possibility and how. |
Creating proof-of-concept could help with that |
it's a lot of work... I don't know, I think about it. |
It is, but it should give you 100% confidence on whether it is exploitable and whether your solution fixes this issue. |
But I would reach the same goal if I blocked it and produced a log, exactly as google does. |
Programmers would call this a Probabilistic Solution. You don't know when you catch it and you don't even know if you catch it at all. In addition to that you'll later have no way of telling whether your solution works or not. Probabilistic Solutions are not regarded well by programmers as far as I know. I'm not telling you that you are wrong, but it can take some (unpredictable) time before you have any results. PS: I'm not a programmer btw :) |
Yeah, especially without any log! |
https://bugs.chromium.org/p/chromium/issues/detail?id=1159586
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/common/metrics/post_message_counter.cc;l=1;bpv=1
test with https://wpt.live/html/browsers/windows/post-message/
The text was updated successfully, but these errors were encountered: