[PATCH] hgweb: replace excanvas.js with a newer version

Javi Merino cibervicho at gmail.com
Wed Apr 23 17:41:13 CDT 2014


On Wed, Apr 23, 2014 at 11:32:48PM +0100, Javi Merino wrote:
> # HG changeset patch
> # User Javi Merino <cibervicho at gmail.com>
> # Date 1398281010 -3600
> #      Wed Apr 23 20:23:30 2014 +0100
> # Branch stable
> # Node ID 56a01f797cf9539d49abcea1f07d005177408c78
> # Parent  d36440d843284ba546858b241da9cc4817811fe5
> hgweb: replace excanvas.js with a newer version
> 
> The current version of excanvas is unknown.  Substitute it with the
> latest version from the excanvas website:
> 
> http://code.google.com/p/explorercanvas/
> 
> Instead of using the "compiled" version, just use the readable one.
> 

I've tried to test it with an up to date Internet Explorer 8 on a
Windows XP VM but mercurial 3.0-rc (and earlier versions) fail with
the following javascript errors:

8<---
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
Timestamp: Wed, 23 Apr 2014 19:26:51 UTC


Message: Expected identifier, string or number
Line: 379
Char: 21
Code: 0
URI: http://srv:8000/static/mercurial.js


Message: 'Graph' is undefined
Line: 75
Char: 1
Code: 0
URI: http://srv:8000/graph/868cc744dafb


Message: Object expected
Line: 134
Char: 5
Code: 0
URI: http://srv:8000/graph/868cc744dafb


Message: Object expected
Line: 147
Char: 1
Code: 0
URI: http://srv:8000/graph/868cc744dafb
8<---

With this patch applied, the errors are the same so at least I know I
haven't broken anything.  Can somebody test this with a more recent
version of Internet Explorer?

Thanks,
Javi


More information about the Mercurial-devel mailing list