Bug 216715 - Allow about:blank subframe loads for non app-bound top frames
Summary: Allow about:blank subframe loads for non app-bound top frames
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kate Cheney
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-18 14:37 PDT by Kate Cheney
Modified: 2020-09-21 07:58 PDT (History)
4 users (show)

See Also:


Attachments
Patch (13.90 KB, patch)
2020-09-18 15:22 PDT, Kate Cheney
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kate Cheney 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.
Comment 1 Kate Cheney 2020-09-18 14:37:33 PDT
<rdar://problem/69070720>
Comment 2 Kate Cheney 2020-09-18 15:22:34 PDT
Created attachment 409174 [details]
Patch
Comment 3 EWS 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].