[Bug 15096] New: 1.function supports_html5_storage() { 2. try { 3. return 'localStorage' in window && window['localStorage'] !== null; 4. } catch (e) { 5. return false; 6. } 7.}

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15096

           Summary: 1.function supports_html5_storage() {    2.    try {
                     3.        return 'localStorage' in window &&
                    window['localStorage'] !== null;    4.    } catch (e)
                    {    5.        return false;    6.    }    7.}
           Product: WebAppsWG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Web Storage (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: member-webapi-cvs@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-webapps@w3.org


Specification: http://dev.w3.org/html5/webstorage/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
1.function supports_html5_storage() {    
2.    try {   
3.      return 'localStorage' in window && window['localStorage'] !== null; 

4.    } catch (e) {   
5.      return false;   
6.    }   
7.}  


Posted from: 112.65.138.138
User agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
.NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; .NET CLR 1.1.4322)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 7 December 2011 09:23:38 UTC