Bug 256953

Summary: XPath: Fix context node after evaluating an expression in a predicate
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: XMLAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: annevk, cdumez, karlcow, rniwa, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-05-18 01:02:43 PDT
Hi Team,

This is another potential merge to fix bug in DOMXPath and fix all uniquely failing tests in WebKit / Safari.

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/869417867e1da3822a03f8ce1e454d19706c6832

WPT Link - https://wpt.fyi/results/domxpath/predicates.html?label=experimental&label=master&aligned=

Direct Test Link - http://wpt.live/domxpath/predicates.html

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/xml/XPathPredicate.cpp#284

Just wanted to raise, so we can fix this last unique one as well.

Thanks!
Comment 1 Chris Dumez 2023-05-18 11:29:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14026
Comment 2 EWS 2023-05-18 13:46:23 PDT
Committed 264210@main (1ffefa8e2da2): <https://commits.webkit.org/264210@main>

Reviewed commits have been landed. Closing PR #14026 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-05-18 13:47:25 PDT
<rdar://problem/109530225>