Skip to content

Commit

Permalink
Merge pull request #104 from egilkh/master
Browse files Browse the repository at this point in the history
Add comment by @bmulholland for issue #75.
  • Loading branch information
egilkh committed Jun 19, 2015
2 parents 53eb47a + bda5e24 commit 193ccea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ngStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
){
function isStorageSupported(storageType) {

// Some installations of IE, for an unknown reason, throw "SCRIPT5: Error: Access is denied"
// when accessing window.localStorage. This happens before you try to do anything with it. Catch
// that error and allow execution to continue.

// fix 'SecurityError: DOM Exception 18' exception in Desktop Safari, Mobile Safari
// when "Block cookies": "Always block" is turned on
var supported;
Expand Down

0 comments on commit 193ccea

Please sign in to comment.