Bug 243720 - [WinCairo?] XPathEvaluator_createNSResolver_all.svg test fails on webview
Summary: [WinCairo?] XPathEvaluator_createNSResolver_all.svg test fails on webview
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Windows 10
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 00:28 PDT by jaybhaskar
Modified: 2022-08-10 17:20 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jaybhaskar 2022-08-09 00:28:24 PDT
Following test fails on window platform when running with webview

dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_02.svg
dom/svg/level3/xpath/XPathEvaluator_createExpression_NS.svg
dom/svg/level3/xpath/XPathEvaluator_createNSResolver_all.svg
dom/svg/level3/xpath/XPathEvaluator_createNSResolver_documentElement.svg
dom/svg/level3/xpath/XPathEvaluator_evaluate_INVALID_EXPRESSION_ERR.svg

Giving error as:
TypeError: Argument 1 ('nodeResolver') to Document.createNSResolver must be an instance of Node
Comment 1 Alexey Proskuryakov 2022-08-10 17:20:30 PDT
These tests succeed in CI on all platforms: https://results.webkit.org/?suite=layout-tests&test=dom%2Fsvg%2Flevel3%2Fxpath%2FXPathEvaluator_createExpression_NS.svg

But I see that they are skipped on WinCairo for some reason:

# entire directory fails
dom/svg/level3/xpath [ Skip ]