Bug 205184

Summary: Behavior of [[GetOwnProperty]] for cross-origin windows is not spec-compliant
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, commit-queue, darin, ggaren, rniwa, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 205120    
Attachments:
Description Flags
WIP Patch
none
Patch none

Description Chris Dumez 2019-12-12 15:52:48 PST
Behavior of [[GetOwnProperty]] for cross-origin windows is not spec-compliant. We should be able to return frames by name, even if their name conflict with the name of a same-origin window property (e.g. "close").
Comment 1 Chris Dumez 2019-12-12 15:53:33 PST
Created attachment 385558 [details]
WIP Patch
Comment 2 Chris Dumez 2019-12-12 16:42:17 PST
Created attachment 385561 [details]
Patch
Comment 3 WebKit Commit Bot 2019-12-13 09:53:42 PST
Comment on attachment 385561 [details]
Patch

Clearing flags on attachment: 385561

Committed r253483: <https://trac.webkit.org/changeset/253483>
Comment 4 WebKit Commit Bot 2019-12-13 09:53:43 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-12-13 09:54:49 PST
<rdar://problem/57915284>