FLUID-4762: Fluid view unit test failing (Dead man's blur test - non-excluded component one, failing test #2)

Metadata

Source
FLUID-4762
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
James Yoon
Created
2012-08-15T15:24:31.475-0400
Updated
2014-03-03T12:42:07.447-0500
Versions
  1. 1.5
Fixed Versions
N/A
Component
  1. Framework

Description

Environments

IE8/Win7

Attachments

Comments

  • Cindy Li commented 2012-08-23T16:31:42.397-0400

    With IE8, some dead man's blur unit tests, including the one specified in the title, throw js error: Object doesn't support this property or method.

    To produce,
    1. In IE8, go to tools -> Internet Options -> Advanced tab -> Browsing section -> Turn on "Display a notification about every script error"
    2. Run http://build.fluidproject.org/infusion/tests/framework-tests/core/html/FluidView-test.html

  • Anastasia Cheetham commented 2012-10-16T13:20:00.335-0400

    deadMansBlur() uses Date.now(), which is not supported in IE8. One suggestion is to use
    new Date().value()
    instead.

  • Justin Obara commented 2012-12-17T13:31:47.459-0500

    Added a pull request ( https://github.com/fluid-project/infusion/pull/250 ) to fix this. The change is to implement a fall back to use Date().gettime() instead of Date.now() when the latter doesn't exist.

  • Michelle D'Souza commented 2012-12-17T13:45:02.298-0500

    Merged pull request https://github.com/fluid-project/infusion/pull/250 into project repo at 725fd98d6cc3ebbe92f378b8c05738b178dc6516