You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/04/26 14:13:20 UTC

[jira] [Closed] (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 ]

Jochen Kemnade closed TAP5-2246.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4

> 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
>            Assignee: Jochen Kemnade
>            Priority: Minor
>             Fix For: 5.4
>
>         Attachments: 0001-use-CoffeeScript-list-comprehension-to-log-init-argu.patch
>
>
> 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.2#6252)