Hi again, chromium-mojo.
It's been around 6 months since I've done anything Mojo related, but
one of my old conversions from legacy IPC to Mojo has lead to
https://bugs.chromium.org/p/chromium/issues/detail?id=767539
"TabSpecificContentSettings::OnContentSettingChanged is not aware of
OOPIFs" being filed.
The issue report is:
"TabSpecificContentSettings::OnContentSettingChanged is sending
RendererContentSettingRules to the renderer process. The problem is
that the rules are only sent to the main frame's renderer and are not
sent to other renderers (i.e. to renderers hosting OOPIFs)."
My Mojofication of ChromeViewMsg_SetContentSettingRules CLs were
https://codereview.chromium.org/2582203003 and
https://codereview.chromium.org/2614033004
I can't remember much about that specific change. I didn't and still
don't know content settings rules very well, and similarly for
multiple renderer situations like OOPIFs. From my point of view, that
CL was just one of a number of mechanical "upgrade from legacy IPC"
changes that I made across the entire codebase.
Basically, I (and lukasza@, the issue reporter) need help. How do
OOPIFs and Mojo interact (or meant to interact)? I found
https://www.chromium.org/developers/design-documents/oop-iframes but
it doesn't discuss Mojo. I don't have a good sense of where to start.
I don't even know how to tell if the legacy
ChromeViewMsg_SetContentSettingRules IPC message handled OOPIFs
properly.