[Bug 17649] Address WebIDL comments from Kyle Huey

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

Joshua Bell <jsbell@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsbell@chromium.org

--- Comment #2 from Joshua Bell <jsbell@chromium.org> ---
One more I didn't see in Kyle's list:

3.1.12 Options Object - IDBObjectStoreParameters is defined as:

dictionary IDBObjectStoreParameters {
  DOMString? keyPath = null;
  boolean autoIncrement = false;
};

But the prose says: "If the optionalParameters argument is specified and has a
keyPath property which is not undefined or null, then set keyPath to the value
of this property. If keyPath is an Array, then each item in the array is
converted to a string. If keyPath is not an Array, it is converted to a
string."

The IDL should either be:

  DOMString? keyPath = null;

or:

  (sequence<DOMString> or DOMString)? keyPath = null;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 10 December 2012 18:50:28 UTC