You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Felix Gonschorek (JIRA)" <ji...@apache.org> on 2013/11/29 18:35:35 UTC

[jira] [Updated] (TAP5-2246) Internet Explorer 8 JavaScript Error in pageinit.js / development mode

     [ https://issues.apache.org/jira/browse/TAP5-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Gonschorek updated TAP5-2246:
-----------------------------------

    Description: 
Version: 5.4 alpha 29
Browser: Windows XP / Internet Explorer 8


pageinit.js:

the following code 

if (console.debugEnabled) {
 argsString = _.map(initArguments, JSON.stringify).join(", ");

raises an exception in Internet Explorer 8: "Invalid replacer argument". See http://msdn.microsoft.com/en-us/library/ie/cc836459(v=vs.94).aspx

The method "JSON.stringify" is natively implemented in IE 8 and it seems one can not use it as a parameter.

intermediate fix:

include in header of your border / layout component:

<!--[if IE 8]>
<script language="javascript">
document.getElementsByTagName("HTML")[0].removeAttribute("data-debug-enabled");
</script>
-->

long-term fix: unknown

hint: for debugging, www.browserstack.com is great!

  was:
pageinit.js:

the following code 

if (console.debugEnabled) {
 argsString = _.map(initArguments, JSON.stringify).join(", ");

raises an exception in Internet Explorer 8: "Invalid replacer argument". See http://msdn.microsoft.com/en-us/library/ie/cc836459(v=vs.94).aspx

The method "JSON.stringify" is natively implemented in IE 8 and it seems one can not use it as a parameter.

intermediate fix:

include in header of your border / layout component:

<!--[if IE 8]>
<script language="javascript">
document.getElementsByTagName("HTML")[0].removeAttribute("data-debug-enabled");
</script>
-->

long-term fix: unknown

hint: for debugging, www.browserstack.com is great!


> Internet Explorer 8 JavaScript Error in pageinit.js / development mode
> ----------------------------------------------------------------------
>
>                 Key: TAP5-2246
>                 URL: https://issues.apache.org/jira/browse/TAP5-2246
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Felix Gonschorek
>            Priority: Minor
>
> Version: 5.4 alpha 29
> Browser: Windows XP / Internet Explorer 8
> pageinit.js:
> the following code 
> if (console.debugEnabled) {
>  argsString = _.map(initArguments, JSON.stringify).join(", ");
> raises an exception in Internet Explorer 8: "Invalid replacer argument". See http://msdn.microsoft.com/en-us/library/ie/cc836459(v=vs.94).aspx
> The method "JSON.stringify" is natively implemented in IE 8 and it seems one can not use it as a parameter.
> intermediate fix:
> include in header of your border / layout component:
> <!--[if IE 8]>
> <script language="javascript">
> document.getElementsByTagName("HTML")[0].removeAttribute("data-debug-enabled");
> </script>
> -->
> long-term fix: unknown
> hint: for debugging, www.browserstack.com is great!



--
This message was sent by Atlassian JIRA
(v6.1#6144)