Bug 206646

Summary: REGRESSION (r254329?): safaridriver regression in "find elements" command
Product: WebKit Reporter: Philip Jägenstedt <philip>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal CC: bburg, cgarcia, simon.fraser, w0nka, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=204151

Philip Jägenstedt
Reported 2020-01-23 01:44:14 PST
In https://github.com/web-platform-tests/wpt/pull/21369 I have debugged why there are new failures in STP 99 compared to STP 98: https://github.com/web-platform-tests/wpt/pull/21359#issuecomment-577519963 At the root of it is a "JavaScriptError;Unexpected keyword 'function'. Expected ')' to end a compound expression." which seems to be a failure to execute an internal script called WDFindNodes.js. In https://wpt.fyi/results/webdriver/tests?diff&filter=ADC&run_id=416830016&run_id=393600011 it looks like this affects many WebDriver endpoints, not just "find elements".
Attachments
Radar WebKit Bug Importer
Comment 1 2020-01-23 10:09:38 PST
Blaze Burg
Comment 2 2020-01-23 10:10:47 PST
Can confirm this is a recent regression, not sure where the fix is yet. I am assuming that the regression point is <https://trac.webkit.org/changeset/254329/webkit> but I have not confirmed. Will keep this updated as I dig further with a debug build.
Blaze Burg
Comment 3 2020-01-23 13:50:01 PST
r254329 indeed caused a problem with how safaridriver inserts sourceURL directives. A fix has been submitted for review on the safaridriver side. No fix needed in WebKit, thus no further updates will be provided here. The fix should be included in the next release of Safari Technology Preview. Unfortunately there is no workaround for this issue in STP99.
Blaze Burg
Comment 4 2020-01-27 10:18:02 PST
*** Bug 206827 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.