Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

pyjamas sites fail with addEventListener error in IE 9 #16

Open
pyjsorg opened this Issue · 2 comments

1 participant

@pyjsorg
Owner

I'm a pyjamas noob so apologies in advance if I'm posting in the wrong place. Using Internet Explorer 9 (9.0.8.112.16421) on Windows 7, I get an error when navigating to the pyjamas sites referenced at pyjs.org:

index TypeError: Object doesn't support property of method 'addEventListener'

I'm reporting here because

  • sites that fail: http://tickery.net/ everything under http://pyjs.org/examples/
  • these are other people's sites, not my code
  • the sites display properly using firefox and chrome
  • the sites are completely blank on IE 9
  • tried on 2 different windoze machines with same result
  • deleting browser history doesn't help
  • http://pyjs.org itself displays properly

The generated source I see for http://pyjs.org/examples/asteroids/output/Space.html:

<html>
<!-- auto-generated html - you should consider editing and
adapting this to suit your requirements
-->
<head>
<meta name="pygwt:module" content="Space">

<title>PyJamas Space Game</title>
</head>
<body bgcolor="white">
<script language="javascript" src="bootstrap.js"></script>
<iframe id='__pygwt_historyFrame' style='width:0;height:0;border:0'></iframe>

<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=2659074;
var sc_invisible=1;
var sc_partition=26;
var sc_security="53230453";
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js&quot;&gt;&lt;/script&gt;&lt;noscript&gt;&lt;a href="http://www.statcounter.com/" target="_blank"><img src="http://c27.statcounter.com/counter.php?sc_project=2659074&amp;java=0&amp;security=53230453&amp;invisible=0" alt="free hit counter" border="0"></a> </noscript>
<!-- End of StatCounter Code -->

</body>
</html>

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=707 (April 01, 2012 21:46:26)

@pyjsorg
Owner

From luke.lei...@gmail.com on April 03, 2012 23:01:31:
ok can you please recompile (for yourself) and test (locally) - not everyone has IE9. i have only IE7 for example.

thanks.

l.

@pyjsorg
Owner

From washingt...@gmail.com on April 28, 2012 13:52:13:
pyjs is apparently balking at something unavailable in IE9 quirks mode. pyjs is catching the error and putting up an alert, so that's as far as I can get. I do not get this alert (hello example works fine) from the pyjs.org web site in IE9 Standards Mode. If I run locally, pyjscompiling with pyjamas-0.8alpha1, hello example works fine in both quirks mode and IE9 Standards mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.