whowrotethiscode opened a new issue, #1487:
URL: https://github.com/apache/wicket/issues/1487

   Hello,
   
   When a `Panel` contains the following code and is rendered via AJAX
   then the AJAX response processing in the client browser will hang 
indefinitely:
   
   ```java
       @Override
       public void renderHead(IHeaderResponse response) {
           super.renderHead(response);
   
           response.render(StringHeaderItem.forString(
                   "<link rel=\"stylesheet/less\" type=\"text/css\" 
href=\"demo.less\" media=\"all\"/>"));
       }
   ```
   
   It seems the non-standard `rel="stylesheet/less"`
   causes `wicket-ajax-jquery.js` to wait for an `onload` event which never 
happens.
   
   The above code worked OK in Wicket version `8`
   but it now hangs after upgrading to Wicket version `10`.
   
   Please see this minimal reproducible example: 
[ajax-hang-demo.zip](https://github.com/user-attachments/files/28873396/ajax-hang-demo.zip)
   
   Thanks to the Wicket team.
   
   #### Environment
    - Hangs in Wicket version `10.9.0`
    - Worked OK in Wicket `8.18.0`
    - Reproducible in all modern browsers
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to