Vaadin 7.x : Heartbeat requests and Firefox

I’ve discovered an issue with Firefox & Heartbeat requests[1]
.

Essentially, Firefox logs a error “no element found” to the javascript console for each heartbeat request. A quick google shows that this normally crops up when FF gets an empty XML response - now here, we’re creating a text/html request : the content type is not set on the response, so I assume that FF is treating the response as text/html.

Whatever the cause of the problem, it can be fixed by setting the response type on the heartbeat to “text/plain”.

I’ve created a ticket for this issue
12182

Cheers,

Charles

[1]
Our test tool, QFTest, captures all javascript errors raised on the page and highlights them - we wouldn’t have noticed if weren’t for that! It marks test scripts as failed, though, so it’s we’d like to get it fix. Will prioritize accordingly via Pro account.