[Webkit-unassigned] [Bug 30240] New: window attributes (like localStorage) that are disabled at runtime are still visible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 8 17:10:31 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30240

           Summary: window attributes (like localStorage) that are
                    disabled at runtime are still visible
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: atwilson at chromium.org


Chrome enables some DOMWindow attributes (like localStorage) at runtime based
on command line flags.

However, even when these attributes are supposed to be disabled, they still
appear if the client code does something like:

if ('localStorage' in window) {
   // yay, we have localStorage
}

This screws up capabilities detection.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list