opensubscriber
   Find in this group all groups
 
Unknown more information…

j : jwebunit-users@lists.sourceforge.net 13 August 2009 • 10:07AM -0400

[JWebUnit-users] Obsolete content type encountered: 'text/javascript'
by Jevon Wright

REPLY TO AUTHOR
 
REPLY TO GROUP






Hi,

I recently upgraded to the latest JWebUnit 2.2 (containing HtmlUnit
2.5) and started getting the following warnings:

  17:51:23 WARN html.HtmlPage: Obsolete content type encountered:
'text/javascript'.

The solution is to change <script type="text/javascript"> into <script
type="application/javascript"> as per RFC 4329:
http://www.ietf.org/rfc/rfc4329.txt.

Hope this helps someone :)

Jevon

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@list...
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.