defunctzombie / zuul

[UNMAINTAINED] multi-framework javascript browser testing
958 stars 87 forks source link

How to trigger XHTML mode #299

Closed rafalwrzeszcz closed 8 years ago

rafalwrzeszcz commented 8 years ago

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)?

vvo commented 8 years ago

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.

rafalwrzeszcz commented 8 years ago

To make sure my library works fine with XHTML apps?

vvo commented 8 years ago

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.