You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DomNode.querySelector(String) -> DomNode.querySelector(String, DomNode) in 5.7.0 is a breaking change for Jenkins core #1193
changed the title [-]`DomNode.querySelector(String)` -> `DomNode.querySelector(String, DomNode)` is a breaking change for Jenkins core[/-][+]`DomNode.querySelector(String)` -> `DomNode.querySelector(String, DomNode)` in 5.7.0 is a breaking change for Jenkins core[/+]on Nov 13, 2026
Removing the one-argument variants was not really intended. HtmlUnit 5.8.0 restores DomNode.querySelector(String) and DomNode.querySelectorAll(String) with the same (binary compatible) signatures as 5.6.0; :scope then refers to the node the method is called on, like element.querySelector() in the browsers. No changes to the Jenkins tests are needed.
Thanks for reaching out, hope all the improvements of the last releases helping to make your work simpler :-)
At least 5.8 will bring a major update to csp support.
Removing the one-argument variants was not really intended. HtmlUnit 5.8.0 restores DomNode.querySelector(String) and DomNode.querySelectorAll(String) with the same (binary compatible) signatures as 5.6.0; :scope then refers to the node the method is called on, like element.querySelector() in the browsers
That is great news! I was making exactly that change in the callers to adapt to the new API. It will be much nicer that the called method assumes the scope if a scope is not provided.
Thanks for reaching out, hope all the improvements of the last releases helping to make your work simpler :-)
Thanks so much for your responsiveness and for all the work that you do in HTMLUnit. It is much appreciated!
@MarkEWaite 5.8.0 is out - its a huge one, hope it works for jenkins
It fails several Jenkins tests that pass with a Jenkins test harness development copy that includes HTMLUnit 5.8.0. The tests pass with HTMLUnit 5.5.0.
I'll explore further to see if I can identify a reasonable way to report the failures.
Activity
[-]`DomNode.querySelector(String)` -> `DomNode.querySelector(String, DomNode)` is a breaking change for Jenkins core[/-][+]`DomNode.querySelector(String)` -> `DomNode.querySelector(String, DomNode)` in 5.7.0 is a breaking change for Jenkins core[/+]rbri commentedon Nov 13, 2026
@MarkEWaite thanks for the report, will have a look
5.8.0 is plannend for the beginning of next week, maybe i can bring it back
rbri commentedon Nov 13, 2026
will check what a useful backward compatible version for dom node might be
rbri commentedon Nov 13, 2026
ok had a look...
Removing the one-argument variants was not really intended. HtmlUnit 5.8.0 restores DomNode.querySelector(String) and DomNode.querySelectorAll(String) with the same (binary compatible) signatures as 5.6.0; :scope then refers to the node the method is called on, like element.querySelector() in the browsers. No changes to the Jenkins tests are needed.
Thanks for reaching out, hope all the improvements of the last releases helping to make your work simpler :-)
At least 5.8 will bring a major update to csp support.
MarkEWaite commentedon Nov 13, 2026
That is great news! I was making exactly that change in the callers to adapt to the new API. It will be much nicer that the called method assumes the scope if a scope is not provided.
Thanks so much for your responsiveness and for all the work that you do in HTMLUnit. It is much appreciated!
rbri commentedon Nov 13, 2026
will ping you when the new release is out...
rbri commentedon Nov 17, 2026
@MarkEWaite 5.8.0 is out - its a huge one, hope it works for jenkins
MarkEWaite commentedon Nov 19, 2026
It fails several Jenkins tests that pass with a Jenkins test harness development copy that includes HTMLUnit 5.8.0. The tests pass with HTMLUnit 5.5.0.
I'll explore further to see if I can identify a reasonable way to report the failures.
rbri commentedon Nov 19, 2026
@MarkEWaite sorry for that, have so many tests here and still some regressions sometimes. If i can help i will try my best
rbri commentedon Nov 19, 2026
@MarkEWaite one last minute change is comming to my mind - see the description here
#1202
just an idea
rbri commentedon Nov 20, 2026
another cause might be the new csp stuff, maybe there are some errors or missing things...