Bug 186222

Summary: Move editor() and selection() from Frame to Document
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ggaren, rniwa, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2018-06-01 20:44:42 PDT
It's weird that Frame owns editor() and selection(); these should be per-document, so owned by Document. Otherwise we risk editor and selection state leaking between documents.
Comment 1 Radar WebKit Bug Importer 2018-06-01 20:50:26 PDT
<rdar://problem/40743780>