defunctzombie / zuul

[UNMAINTAINED] multi-framework javascript browser testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to trigger XHTML mode

rafalwrzeszcz opened this issue · comments

Is there any way to trigger XHTML page rendering to check compatibility with XHTML? Or at least specify custom headers (usually specifying Content-Type: application/xhtml+xml is what tells browser it's XHTML not HTML)?

I am not sure to follow your usecase, do you want to validate the testing webpage that is created by zuul for XHTML validation? What would be the usecase/benefit of doing this for you.

To make sure my library works fine with XHTML apps?

I think the current zuul test runner webpage is not aware and not able to switch to XHTML.

I don't think this should belong to zuul to have this option. It's an edge case that you could ensure in E2E testing.