ICEfaces
  1. ICEfaces
  2. ICE-11183

Implement centralized browser feature-detection strategy

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any
    • Assignee Priority:
      P2

      Description

      In the past, browser feature detection in client-side component code has been left at the discretion of the component developers and limited to the individual requirements of the various components. As a result, browser feature detection code is duplicated in many parts of our components' client-side code. In addition, some of that code uses deprecated methods of browser detection.

      This improvement is to design and implement a centralized browser-feature detection strategy that can be used by any component (ACE, MOBI), making use of more reliable and current methods of browser feature detection. Most likely, this code should go in core.js.

        Activity

        Hide
        Ken Fyten added a comment -

        A likely candidate for this is to leverage the Modernizr JS library (https://modernizr.com/), which is a lightweight, well supported 3rd party JS library for browser feature detection.

        It might still be beneficial to centralize the APIs for this so the component's themselves are not exposed directly to the Modernizr APIs, if feasible.

        Show
        Ken Fyten added a comment - A likely candidate for this is to leverage the Modernizr JS library ( https://modernizr.com/ ), which is a lightweight, well supported 3rd party JS library for browser feature detection. It might still be beneficial to centralize the APIs for this so the component's themselves are not exposed directly to the Modernizr APIs, if feasible.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: