Bug 195064

Summary: Web Automation: cannot find nested iframe elements using Find Elements command
Product: WebKit Reporter: Brian Burg <bburg>
Component: WebDriverAssignee: Brian Burg <bburg>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bburg, cgarcia, drousso, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Brian Burg 2019-02-26 13:08:17 PST
.
Comment 1 Brian Burg 2019-02-26 13:08:34 PST
<rdar://problem/38673353>
Comment 2 Brian Burg 2019-02-26 13:52:02 PST
Created attachment 363017 [details]
Patch
Comment 3 Devin Rousso 2019-02-26 13:57:17 PST
Comment on attachment 363017 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=363017&action=review

rs=me

> Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.js:112
> +        if (value instanceof Array)

Should we also have an `instanceof Object` case?
Comment 4 Brian Burg 2019-02-26 14:15:58 PST
Comment on attachment 363017 [details]
Patch

Abandoning this patch, it doesn't solve the issue.
Comment 5 Brian Burg 2019-02-26 14:53:56 PST
After further analysis, WebKit is right here and client code is doing Bad Things. Closing.