Object.getOwnPropertyNames() should return indexed property indices / named property named for cross-origin windows: - https://html.spec.whatwg.org/#crossoriginproperties-(-o-) (Step 4)
Created attachment 300225 [details] Patch
Created attachment 300227 [details] Patch
Comment on attachment 300227 [details] Patch Attachment 300227 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2980299 New failing tests: js/dom/getOwnPropertyDescriptor.html
Created attachment 300233 [details] Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 300234 [details] Patch
Object.getOwnPropertyNames() output is incomplete for cross-origin Window: https://html.spec.whatwg.org/#windowproxy-ownpropertykeys We're missing: 1. Indices of subframes 2. Names of subframes 3. The following symbols: @@toStringTag, @@hasInstance, @@isConcatSpreadable
Waiting for https://github.com/w3c/web-platform-tests/pull/4690 to land upstream as the current tests we have are wrong / incomplete.
<rdar://problem/30339489>
Created attachment 300754 [details] WIP Patch
Created attachment 300757 [details] Patch
Test case: http://w3c-test.org/html/browsers/origin/cross-origin-objects/cross-origin-objects.html
Comment on attachment 300757 [details] Patch v.nice.
Comment on attachment 300757 [details] Patch Clearing flags on attachment: 300757 Committed r211756: <http://trac.webkit.org/changeset/211756>
All reviewed patches have been landed. Closing bug.
Those are some unfortunate anchor names, given how linkifiers work :(.