ICEfaces
  1. ICEfaces
  2. ICE-11202

Errors when using Safari Private browsing mode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, 4.1
    • Fix Version/s: 4.2.BETA, 4.2, EE-3.3.0.GA_P05
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      IceMobile 1.3.1.GA_P01_Fedex06, ICEfaces 4 trunk

      Description

      FedEx is seeing some script errors when they run their application using IceMobile 1.3.1.GA_P01_Fedex06 in Safari Private browsing mode.

      Case description: "Is Private mode not supported by IceMobile on Safari? I'm seeing multiple JS errors when a user is in private mode and IcePush doesn't work either. I attached images of those errors (QuotaExceededError and undefined is not an object errors)."

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Assignee Patrick Corless [ patrick.corless ] Ken Fyten [ ken.fyten ]
        Hide
        Arran Mccullough added a comment -

        Attached screen shots of the errors seen.

        Show
        Arran Mccullough added a comment - Attached screen shots of the errors seen.
        Arran Mccullough made changes -
        Ken Fyten made changes -
        Summary Errors when using iOS Safari Private browsing mode Errors when using Safari Private browsing mode
        Ken Fyten made changes -
        Project ICEmobile [ 10060 ] ICEfaces [ 10021 ]
        Key MOBI-1168 ICE-11202
        Affects Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Affects Version/s EE 1.3.1.GA_P01 [ 11670 ]
        Component/s Framework [ 10013 ]
        Component/s Faces [ 10062 ]
        Hide
        Ken Fyten added a comment -

        Note that these failures are also seen when using desktop Safari in Private Browsing mode, with ICEfaces 4.x showcase.

        Firefox, in private window mode, does not have these failures.

        Need to investigate the root cause and see if there is anything to be done about it.

        Show
        Ken Fyten added a comment - Note that these failures are also seen when using desktop Safari in Private Browsing mode, with ICEfaces 4.x showcase. Firefox, in private window mode, does not have these failures. Need to investigate the root cause and see if there is anything to be done about it.
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
        Fix Version/s 4.2 [ 12870 ]
        Fix Version/s EE-3.3.0.GA_P05 [ 13082 ]
        Affects Version/s 4.1 [ 11375 ]
        Affects Version/s EE-3.3.0.GA_P01 [ 11174 ]
        Affects Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Environment IceMobile 1.3.1.GA_P01_Fedex06 IceMobile 1.3.1.GA_P01_Fedex06, ICEfaces 4 trunk
        Assignee Priority P2 [ 10011 ]
        Hide
        Mircea Toma added a comment -

        Fix local storage detection to work even if the window.localStorage global variable is present but non-functional.

        Show
        Mircea Toma added a comment - Fix local storage detection to work even if the window.localStorage global variable is present but non-functional.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49676 Mon Dec 12 17:57:53 MST 2016 mircea.toma ICE-11202 Fix local storage detection to work even if the window.localStorage global variable is present but non-functional.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/application.js
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces 4 trunk r49980 and icemobile trunk r49986 using Safari browser in private mode.

        IF4 trunk showcase - Native components demos are not loaded on the page (private browsing mode only)
        When opening the IF 4 trunk showcase / mobile Cloud Push demo in private window, it fails with a JS error. See screenshot console1.png

        icemobile trunk r49986 mobileshowcase - When opening the icemobile 1.3 trunk mobileshowcase in a Private Safari window, the attached QuotaExceeded JS errors are logged. Most demos seem to continue to function, however, attempting to navigate to the Cloud Push demo adds the bottom JS error when it tries to init push. See attached screenshot console2.PNG

        Show
        Liana Munroe added a comment - Tested with ICEfaces 4 trunk r49980 and icemobile trunk r49986 using Safari browser in private mode. IF4 trunk showcase - Native components demos are not loaded on the page (private browsing mode only) When opening the IF 4 trunk showcase / mobile Cloud Push demo in private window, it fails with a JS error. See screenshot console1.png icemobile trunk r49986 mobileshowcase - When opening the icemobile 1.3 trunk mobileshowcase in a Private Safari window, the attached QuotaExceeded JS errors are logged. Most demos seem to continue to function, however, attempting to navigate to the Cloud Push demo adds the bottom JS error when it tries to init push. See attached screenshot console2.PNG
        Liana Munroe made changes -
        Attachment console1.png [ 22413 ]
        Attachment console2.png [ 22414 ]
        Liana Munroe made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Mircea Toma added a comment -

        All the errors are generated by the access to window.localStorage from bridgeit.js code. Safari pretends that the local storage is available but full when running in private mode.

        Show
        Mircea Toma added a comment - All the errors are generated by the access to window.localStorage from bridgeit.js code. Safari pretends that the local storage is available but full when running in private mode.
        Hide
        Ken Fyten added a comment -

        Since the remaining issues are specific to BridgeIt, marking this as Fixed.

        There is no requirement for bridgeit.js to function in private mode at this time.

        Show
        Ken Fyten added a comment - Since the remaining issues are specific to BridgeIt, marking this as Fixed. There is no requirement for bridgeit.js to function in private mode at this time.
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: