Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
No information provided| Origin trial desktop first | 147 |
| Origin trial desktop last | 152 |
| Origin trial extension 1 end milestone | 158 |
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6a45fcf5.198129d7.1d0cd0.0014.GAE%40google.com.
Update on Specification and Behavior of Nested iframes in Prerendering
Hi blink-dev,
We would like to share an update regarding the specification and restriction model for nested iframes within this prerendering-cross-origin-iframes feature.
The prerendering-cross-origin-iframes feature was designed to conditionally prerender cross-origin iframes under explicit opt-in controls.
However, we’ve found that the original specification did not fully account for nested iframes (iframes embedded within another iframe) based on feedback from Origin Trial and TAG reviews. Currently, nested iframes are prerendered without specific restriction checks regarding their parent frame's cross-origin relationship in both the spec and our implementation.
We believe nested iframes should not be prerendered automatically without explicit consent. We propose updating the model so that nested iframes also require the explicit opt-in header or must be same-origin relative to their parent frame.
Under the updated rules, a nested iframe will only be allowed to prerender if all of its ancestor frames have been prerendered and it meets either of the following conditions:
Same-Origin: The nested iframe is Same-Origin with respect to its immediate parent frame.
Explicit Opt-In: The immediate parent frame explicitly returns the following response header:
Supports-Loading-Mode: prerender-cross-origin-frames
Note: This restriction model applies recursively down through the entire iframe nesting hierarchy, with no limit on depth.
For a comprehensive breakdown of target scenarios, frame structures with diagrams, and interactions with other Supports-Loading-Mode headers, please review the detailed technical document:
Update on Specification and Behavior of Nested iframes in Prerendering
Please feel free to share any questions, feedback, or concerns regarding this update!
Best regards,
Yoichi Osato