W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: checklink:

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Mon, 10 May 2004 21:38:34 +0300
To: Hugh Secker-Walker <hugh@hodain.net>
Cc: www-validator@w3.org
Message-Id: <1084214314.13842.14.camel@bobcat.mine.nu>

On Mon, 2004-05-10 at 17:59, Hugh Secker-Walker wrote:

> This message regards a problem with the link checker service.  I'm
> using Opera 7.23 on Windows 2000, and every time I use the link
> checker, e.g. on http://swyc.com, it reports a JavaScript error in its
> Java Console:
[...]

I can reproduce this with Opera 7.23 on Linux.

> Not being a JavaScripter, I don't know if it's your JavaScript or
> Opera's interpreter.

I would blame Opera, because that version does not seem to support
<script type="application/x-javascript">, but it does not honor
Content-Script-Type [1] either and goes on to try to execute the inline
script which will fail because the called function was defined in an
"application/x-javascript" script element.

For now, the only workaround I can suggest (unless you're willing to
upgrade to a beta version, Opera 7.50 Beta 1 seems to be "fixed" wrt
this) is to turn off opening the JavaScript console on errors
(Tools->Preferences->Multimedia->JavaScript options->Open JavaScript
console on error here).

[1] Link Checker 3.9.2 sends Content-Script-Type as a real HTTP header,
    I've changed it to use <meta http-equiv> instead in the development
    version.  This does not affect the behaviour with Opera 7.23 though.
Received on Monday, 10 May 2004 14:38:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT