[Bug 22820] New: Missing type for attribute in NavigatorStorageUtils.cookieEnabled IDL

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

            Bug ID: 22820
           Summary: Missing type for attribute in
                    NavigatorStorageUtils.cookieEnabled IDL
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: joel.verhagen@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

See the following URL for exactly what I mean.
http://www.w3.org/html/wg/drafts/html/master/webappapis.html#navigatorstorageutils

The IDL for NavigatorStorageUtils is invalid. The "cookieEnabled" attribute
should have a type (presumably a boolean).

Right now, the IDL looks like this:

[NoInterfaceObject]
interface NavigatorStorageUtils {
  readonly attribute cookieEnabled;
  void yieldForStorageUpdates();
};

It should probably be changed to this:

[NoInterfaceObject]
interface NavigatorStorageUtils {
  readonly attribute boolean cookieEnabled;
  void yieldForStorageUpdates();
};

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Saturday, 27 July 2013 23:56:21 UTC