Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-12459

JS error on loading any page in Safari 7.0.3 (OSX)

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-12505JS Error with session storage when using Safari in private browsing mode
      KULRICE-5270KRAD - KS Test View 1 - scroll bars display intermittently upon page load. (Chome OSX (longer), FF OSX)
      KULRICE-14044JS Error on Travel Account Maintenance Ad Hoc Requests person lookup
      KULRICE-11288jQuery countdown plugin 1.6.2 shows errors in Safari - needs upgrade
      KULRICE-8155JS error going to collections page
      KULRICE-12460Can’t add/delete collection rows in Safari in private browsing mode
      KULRICE-10625Conditional refresh demo view does not load correctly
      KULRICE-7892JS error on kitchen sink collections page
      KULRICE-12383KRAD Library Navigation Group with Toggle js error on ActionScript 4 in Firefox
      KULRICE-5912Rice Dev: KRAD Rendering issue with Cache Management Tool in Safari and IE9
    • Sprint:
      2.4.0-rc1 Sprint 8
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Log in and load any KRAD page in Safari 7 (OSX).

      Javascript Error
      QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.
      http://env14.rice.kuali.org/themes/kboot/scripts/kboot.2.4.0-M5-SNAPSHOT.min.js
      1601
      
      Javascript Error
      ReferenceError: Can't find variable: performance
      http://env14.rice.kuali.org/themes/kboot/scripts/kboot.2.4.0-M5-SNAPSHOT.min.js
      1003
      

        Issue Links

          Activity

          Show
          Peter Giles (Inactive) added a comment - Here's a relevant stackoverflow link: http://stackoverflow.com/questions/21159301/quotaexceedederror-dom-exception-22-an-attempt-was-made-to-add-something-to-st
          Hide
          Adam Campbell (Inactive) added a comment - - edited

          Per Peter's comment above - it does appear that the QuotaExceededError happens only in private browsing mode. (And - based on that link - apparently it's an issue in iOS a well as OSX.)

          The ReferenceError one happens in both Private and normal mode.

          Show
          Adam Campbell (Inactive) added a comment - - edited Per Peter's comment above - it does appear that the QuotaExceededError happens only in private browsing mode. (And - based on that link - apparently it's an issue in iOS a well as OSX.) The ReferenceError one happens in both Private and normal mode.
          Hide
          Martin Taylor (Inactive) added a comment -

          The reference error is related to performance (part of the navigation timing api) which is not supported by safari.

          https://developer.mozilla.org/en-US/docs/Navigation_timing

          Show
          Martin Taylor (Inactive) added a comment - The reference error is related to performance (part of the navigation timing api) which is not supported by safari. https://developer.mozilla.org/en-US/docs/Navigation_timing
          Hide
          Martin Taylor (Inactive) added a comment -

          issue is performance.now() call when there is no performance variable for safari. Can fix by updating jquery.countdown.js to the current version (2.0) or adding the patch attached.

          Show
          Martin Taylor (Inactive) added a comment - issue is performance.now() call when there is no performance variable for safari. Can fix by updating jquery.countdown.js to the current version (2.0) or adding the patch attached.
          Hide
          Martin Taylor (Inactive) added a comment -

          Updated jquery.countdown.js from 1.6.1 to 1.6.3. This should take care of the performance growl error. The 1.6.3 update corrects the issue with timing as well as handle timezone changes. It's _adjustSettings method parameters have been increased but it is only used internally.

          Show
          Martin Taylor (Inactive) added a comment - Updated jquery.countdown.js from 1.6.1 to 1.6.3. This should take care of the performance growl error. The 1.6.3 update corrects the issue with timing as well as handle timezone changes. It's _adjustSettings method parameters have been increased but it is only used internally.
          Hide
          Martin Taylor (Inactive) added a comment - - edited

          Notes:
          Regarding the Quota error. This is all related to storage option issues in private browsing. Tested:

          function supportsSessionStorage() {
          
              if(isSupportsSessionStorage === undefined) {
                  isSupportsSessionStorage = false;
                  if(sessionStorage) {
                      try {
                          var mod = "utilityModification";
                          sessionStorage.setItem(mod, mod);
                          sessionStorage.removeItem(mod);
                          isSupportsSessionStorage = true;
                      } catch(e) {
                          isSupportsSessionStorage = false;
                      }
                  }
              }
          
              return isSupportsSessionStorage;
          }
          

          to help track session support more accurately in safari (stored return value once so it could be reused) but I get several new errors in chrome private browsing unrelated to session storage.

          Show
          Martin Taylor (Inactive) added a comment - - edited Notes: Regarding the Quota error. This is all related to storage option issues in private browsing. Tested: function supportsSessionStorage() { if (isSupportsSessionStorage === undefined) { isSupportsSessionStorage = false ; if (sessionStorage) { try { var mod = "utilityModification" ; sessionStorage.setItem(mod, mod); sessionStorage.removeItem(mod); isSupportsSessionStorage = true ; } catch (e) { isSupportsSessionStorage = false ; } } } return isSupportsSessionStorage; } to help track session support more accurately in safari (stored return value once so it could be reused) but I get several new errors in chrome private browsing unrelated to session storage.
          Hide
          Martin Taylor (Inactive) added a comment -

          Still working on additional errors on session storage, moved onto a separate ticket (KULRICE-12505). ReferenceError issue has been corrected.

          Show
          Martin Taylor (Inactive) added a comment - Still working on additional errors on session storage, moved onto a separate ticket ( KULRICE-12505 ). ReferenceError issue has been corrected.

            People

            • Assignee:
              Martin Taylor (Inactive)
              Reporter:
              Adam Campbell (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 3 hours Remaining Estimate - 1 hour
                3h

                  Agile

                    Structure Helper Panel