WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
26157
XPathEvaluator doesn't reuse an explicitly passed result object
https://bugs.webkit.org/show_bug.cgi?id=26157
Summary
XPathEvaluator doesn't reuse an explicitly passed result object
Alexey Proskuryakov
Reported
2009-06-03 01:13:31 PDT
One can pass an XPathResult object to reuse into evaluate(). WebKit just ignores that, and returns a new result object. I've never seen any code that depended on it though, and it does seem to be a significant optimization opportunity.
Attachments
test case
(1.09 KB, text/html)
2009-06-03 01:14 PDT
,
Alexey Proskuryakov
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2009-06-03 01:14:02 PDT
Created
attachment 30896
[details]
test case
Alexey Proskuryakov
Comment 2
2010-11-03 09:46:35 PDT
> it does seem to be a significant optimization opportunity
I meant, does NOT!
Ahmad Saleem
Comment 3
2022-08-04 10:25:10 PDT
I am able to reproduce this bug in Safari 15.6 on macOS 12.5 using attached test case and it shows "FAIL" for Safari 15.6 and Chrome Canary 106. While Firefox Nightly 105 show it as "PASS". Thanks!
Radar WebKit Bug Importer
Comment 4
2022-08-04 10:38:07 PDT
<
rdar://problem/98134829
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug