Skip to content

[JENKINS-7403] Build history timeline doesn't display in IE8 #19807

Closed

Description

@jenkins-infra-bot

Going to https://server/hudson/builds in IE8 results in a script error. The timeline then doesn't display (it's just an empty box). The timeline displays properly in Chrome, so it does work correctly on our server.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C)
Timestamp: Wed, 8 Sep 2010 13:38:01 UTC

Message: Object doesn't support this property or method
Line: 18
Char: 5
Code: 0
URI: https://hudson.server.local/hudson/builds

Line 18 is the window.addEventListener() line:

<script>
    var tz = -8.0;
    
    window.addEventListener('load', function() {
var tl_el = document.getElementById("tl");
...

Originally reported by rherrick, imported from: Build history timeline doesn't display in IE8
  • assignee: rherrick
  • status: Resolved
  • priority: Minor
  • component(s): core
  • resolution: Fixed
  • resolved: 2011-11-30T18:30:03+00:00
  • votes: 0
  • watchers: 1
  • imported: 2025-11-24
Raw content of original issue

Going to https://server/hudson/builds in IE8 results in a script error. The timeline then doesn't display (it's just an empty box). The timeline displays properly in Chrome, so it does work correctly on our server.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C)
Timestamp: Wed, 8 Sep 2010 13:38:01 UTC

Message: Object doesn't support this property or method
Line: 18
Char: 5
Code: 0
URI: https://hudson.server.local/hudson/builds

Line 18 is the window.addEventListener() line:

<script>
    var tz = -8.0;
window.addEventListener(<span class="code-quote">'load'</span>, function() {
    <span class="code-keyword">var</span> tl_el = document.getElementById(<span class="code-quote">"tl"</span>);

...

  • environment: Windows 7 64-bit, Internet Explorer 8

Activity

  1. jenkins-infra-bot commented on Nov 24, 2011

    @jenkins-infra-bot
    Author
    fredg:
    • Original comment link
    • Raw content of original comment:

      This issue is not a complete duplicate of JENKINS-6439. It's one of the problems described there, and hasn't been fixed as of Jenkins version 1.440. Therefore reopening.

    This issue is not a complete duplicate of JENKINS-6439. It's one of the problems described there, and hasn't been fixed as of Jenkins version 1.440. Therefore reopening.

  2. jenkins-infra-bot commented on Nov 24, 2011

    @jenkins-infra-bot
    Author
    fredg:

    Link describes a possible solution for the problem: http://msdn.microsoft.com/en-us/library/cc197055%28v=vs.85%29.aspx

  3. jenkins-infra-bot commented on Nov 24, 2011

    @jenkins-infra-bot
    Author
    fredg:

    Pull request: #317

  4. jenkins-infra-bot commented on Nov 30, 2011

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Fred G
    Path:
    changelog.html
    core/src/main/resources/hudson/model/BuildTimelineWidget/control.jelly
    http://jenkins-ci.org/commit/jenkins/7870d1987dceeab111f7a03455035d251724d02a
    Log:
    [FIXED JENKINS-7403] Build history timeline doesn't display in IE8

    Use window.attachEvent if window.addEventListener is not supported.

  5. jenkins-infra-bot commented on Nov 30, 2011

    @jenkins-infra-bot
    Author
    dogfood:

    Integrated in jenkins_main_trunk #1331
    [FIXED JENKINS-7403] Build history timeline doesn't display in IE8

    Kohsuke Kawaguchi : 7870d1987dceeab111f7a03455035d251724d02a
    Files :

    • core/src/main/resources/hudson/model/BuildTimelineWidget/control.jelly
    • changelog.html
  6. jenkins-infra-bot commented on Nov 24, 2025

    @jenkins-infra-bot
    Author

    [Original relates_to from Jira: JENKINS-6439]

  7. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions