> It's interesting that these refer only to the implementation cost to Google, and does not make any reference to costs or benefits to other users of the web platform, which are discussed by other comments.
A few months back Chrome shipped Constructible Stylesheets. The proposed specification was strictly opposed by other browser vendors, with Safari stating that they will not ever consider implementing them in the current state [1].
Chrome not only shipped it enabled by default, but refused to bring it back under a flag because "is used on about ~.8% of page loads in Chrome now" [1] (safe to assume, all of them are Google users and users of Google-developed libraries).
It's the most recent example (also backed up by numbers provided by Google themselves). I won't even mention the plethora of standards that other browser vendors consider harmful, but are enabled by default in Google.
So yes, Google is only concerned by the cost to Chrome, never by the costs or benefits to other users of the web platform.
> it looks like the process of discussion does not exist at WhatWG anymore, and that Google basically dictates terms.
That is true. The standards process (both w3c/whatwg and tc39) is hijacked by the same 3-4 people from Google, and decisions are rammed through irregardless of anyone.
[1] https://github.com/WICG/construct-stylesheets/issues/45#issu...
[2] https://github.com/WICG/construct-stylesheets/issues/45#issu...
Consider adjusting this number to remove any Google sites that are viewed (to remove Google's own bias/quasi browser monopoly) - and it probably goes up a lot more even.
XPath predates CSS selectors being exposed to JS, and it is absolutely clear that XPath had its best shot to move from niche to mainstream over a decade ago and it didn't happen.
> arguments for are being presented publicly in that thread while those against are being discussed elsewhere (perhaps at Google?)
It's right there at the end of the highlighted comment:
"we would love to [...] replace them with something that generates less security bugs. Increasing the capabilities of XML in the browser runs counter to that goal."
So security bugs in XML seems to be the main issue?
Chrome actually has two XPath engines. One is used for querying the HTML DOM with Javascript, the other one in libxml2 is only used for XSLT transformations. (XSLT support is the main reason why Chrome still uses libxml2. If they weren't relying libxslt which in turn requires libxml2, they would probably switch to a better suited XML parser like Expat or write their own.)
If that's the case, rewrite the whole lot into JavaScript, run it in the browser sandbox, and rip out the libxml that has security concerns. Then invite pull requests to add new versions of whatwg things.
As soon as a browser API is written in JavaScript and only using other public API's, it becomes a near zero maintenance burden.
> this is a proposal for querying the HTML DOM with XPath, not XML.
> Per https://www.chromestatus.com/metrics/feature/popularity it does seem that about 1-2% of page views end up using XPath
One could argue whether a feature that has existed for over a decade and is only used by 1-2% of page views is worth improving, but that is not the argument that domenic is making here.
> Chrome is not interested in this. The XML parts of our pipeline are in maintenance mode...
> By "XML parts of our pipeline" I mean "everything implemented using libxml and libxslt".
His comment is that in the Chrome codebase, the XPath implementation is within some XML libraries, which are in maintenance mode. This may or may not be true for other browsers. It's interesting that these refer only to the implementation cost to Google, and does not make any reference to costs or benefits to other users of the web platform, which are discussed by other comments.
Overall, while there seem to be valid arguments both for and against the proposal, arguments for are being presented publicly in that thread while those against are being discussed elsewhere (perhaps at Google?), with only final, unchallengeable decisions being posted here. Domenic is fairly explicit in his refusal to engage in a discussion.
> As such, I won't be participating in this thread further. I think I've made our position clear.
Irrespective of whether you agree with the proposal itself, to an outsider like myself it looks like the process of discussion does not exist at WhatWG anymore, and that Google basically dictates terms.
Edit: moved a paragraph for clarity