Bug 95143 - IndexedDB: Throw TypeError for invalid version parameters
Summary: IndexedDB: Throw TypeError for invalid version parameters
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Grogan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-27 15:38 PDT by David Grogan
Modified: 2012-08-29 14:17 PDT (History)
5 users (show)

See Also:


Attachments
Patch (5.95 KB, patch)
2012-08-27 15:41 PDT, David Grogan
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from gce-cr-linux-07 (371.86 KB, application/zip)
2012-08-27 16:44 PDT, WebKit Review Bot
no flags Details
Patch (6.90 KB, patch)
2012-08-28 20:56 PDT, David Grogan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Grogan 2012-08-27 15:38:20 PDT
IndexedDB: Throw TypeError for invalid version parameters
Comment 1 David Grogan 2012-08-27 15:41:48 PDT
Created attachment 160829 [details]
Patch
Comment 2 David Grogan 2012-08-27 15:43:13 PDT
Josh, could you take a look at this?
Comment 3 Joshua Bell 2012-08-27 15:51:44 PDT
Comment on attachment 160829 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=160829&action=review

lgtm

> Source/WebCore/ChangeLog:8
> +        Still need to throw for -1, but developers are running into the string

This could probably be clearer for readers unfamiliar with the reported bug.

> Source/WebCore/Modules/indexeddb/IDBFactory.cpp:115
> +    // this to avoid wanting to throw an error with the sentinal.

Spelling: "sentinel"
Comment 4 WebKit Review Bot 2012-08-27 16:44:02 PDT
Comment on attachment 160829 [details]
Patch

Attachment 160829 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13637086

New failing tests:
http/tests/inspector/indexeddb/resources-panel.html
http/tests/inspector/indexeddb/database-data.html
http/tests/inspector/indexeddb/database-names.html
http/tests/inspector/indexeddb/database-structure.html
Comment 5 WebKit Review Bot 2012-08-27 16:44:05 PDT
Created attachment 160854 [details]
Archive of layout-test-results from gce-cr-linux-07

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-07  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Comment 6 David Grogan 2012-08-28 20:56:46 PDT
Created attachment 161126 [details]
Patch
Comment 7 David Grogan 2012-08-29 11:55:54 PDT
Tony, could you review this?
Comment 8 WebKit Review Bot 2012-08-29 14:16:59 PDT
Comment on attachment 161126 [details]
Patch

Clearing flags on attachment: 161126

Committed r127049: <http://trac.webkit.org/changeset/127049>
Comment 9 WebKit Review Bot 2012-08-29 14:17:02 PDT
All reviewed patches have been landed.  Closing bug.