-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
XPath namespace resolver callbacks are called too often #39596
Copy link
Copy link
Labels
Description
<!DOCTYPE html>
<body>
<script>
let resolverCalls = 0;
document.evaluate("/foo:bar", document.documentElement, () => {
resolverCalls++;
return "http://www.w3.org/1999/xhtml";
});
console.log(resolverCalls)
</script>
</body>Firefox logs 1 (good), servo logs 2 (bad).
Reactions are currently unavailable