Bug 216715

Summary: Allow about:blank subframe loads for non app-bound top frames
Product: WebKit Reporter: Kate Cheney <katherine_cheney>
Component: WebKit Misc.Assignee: Kate Cheney <katherine_cheney>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, bfulgham, darin, ggaren
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Kate Cheney
Reported 2020-09-18 14:37:08 PDT
In the original implementation of App Bound Domains, any loads using certain protocols like about: were automatically considered app-bound. When a subframe loads about:blank for example, this forces web views into app-bound mode even if the top frame is not app-bound. An idea is to refer to the security origin of the top frame in this case to determine if a subframe should be considered app-bound.
Attachments
Patch (13.90 KB, patch)
2020-09-18 15:22 PDT, Kate Cheney
no flags
Kate Cheney
Comment 1 2020-09-18 14:37:33 PDT
Kate Cheney
Comment 2 2020-09-18 15:22:34 PDT
EWS
Comment 3 2020-09-21 07:58:05 PDT
Committed r267344: <https://trac.webkit.org/changeset/267344> All reviewed patches have been landed. Closing bug and clearing flags on attachment 409174 [details].
Note You need to log in before you can comment on or make changes to this bug.