Bug 63065

Summary: IndexedDB: should throw TypeError when indexedDB.open() name argument is missing
Product: WebKit Reporter: Mark Pilgrim (Google) <pilgrim>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, dgrogan, fishd, hans, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Mark Pilgrim (Google) 2011-06-21 06:35:26 PDT
Follow-on to bug 62398, which incorrectly fixed this issue. (My bad.) As per WebIDL spec, missing required arguments should throw a TypeError, not a database exception.

Patch + fixed test case attached.
Comment 1 Mark Pilgrim (Google) 2011-06-21 06:38:03 PDT
Created attachment 97978 [details]
Patch
Comment 2 Hans Wennborg 2011-06-21 06:47:24 PDT
Looks good to me.
Comment 3 WebKit Review Bot 2011-06-21 14:07:13 PDT
Comment on attachment 97978 [details]
Patch

Clearing flags on attachment: 97978

Committed r89378: <http://trac.webkit.org/changeset/89378>
Comment 4 WebKit Review Bot 2011-06-21 14:07:18 PDT
All reviewed patches have been landed.  Closing bug.