Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Issue 1897253003: IndexedDB: Align exception priorities with Firefox (Closed)

Created:
4 years, 8 months ago by jsbell
Modified:
4 years, 3 months ago
Reviewers:
pwnall
CC:
chromium-reviews, blink-reviews, haraken, jsbell+idb_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IndexedDB: Align exception priorities with Firefox In cases where methods are called with multiple failure conditions, there's a choice of what exception to throw. For example, on a cursor update() call, if the transaction is inactive *and* the transaction is read-only *and* the cursor is advancing *and* the cursor's store has been deleted *and* the new value is invalid, one of several types of exceptions would be thrown. This CL aligns Blink with Gecko in the handful of cases where they differed so the same type is thrown. No meaningful web-facing change - users couldn't compatibly expect a particular exception type in these cases anyway. (Testing also revealed a bug in Firefox, reported to their IDB team.) Committed: https://crrev.com/dce205414aa1bde4125c3129fef24a8dc8ad32cc Cr-Commit-Position: refs/heads/master@{#416080}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Review feedback: more cases, split files, better messages #

Messages

Total messages: 21 (10 generated)
jsbell
cmumford@ - please take a look? (very low priority)
4 years, 8 months ago (2016-04-19 21:50:09 UTC) #2
jsbell
Hold off on reviewing; I've pinged the Gecko folks to see if they want to ...
4 years, 8 months ago (2016-04-25 21:03:51 UTC) #3
cmumford
On 2016/04/25 21:03:51, jsbell wrote: > Hold off on reviewing; I've pinged the Gecko folks ...
4 years, 8 months ago (2016-04-25 22:12:30 UTC) #4
jsbell
Rebooting this: Moz hasn't changed anything so let's go ahead and get this in. Low ...
4 years, 3 months ago (2016-08-31 18:08:35 UTC) #5
jsbell
pwnall@ - can you review?
4 years, 3 months ago (2016-09-01 18:03:45 UTC) #8
pwnall
The code changes look good, assuming they pass the tests. Asides from the line comments ...
4 years, 3 months ago (2016-09-01 19:03:52 UTC) #9
jsbell
On 2016/09/01 19:03:52, pwnall wrote: > Asides from the line comments on the tests, I'm ...
4 years, 3 months ago (2016-09-01 20:20:46 UTC) #12
pwnall
LGTM. I agree on the mind-numbingness :D I considered precedence tests for renaming, and backed ...
4 years, 3 months ago (2016-09-01 20:32:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1897253003/20001
4 years, 3 months ago (2016-09-01 22:10:18 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-01 22:14:52 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 22:16:52 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dce205414aa1bde4125c3129fef24a8dc8ad32cc
Cr-Commit-Position: refs/heads/master@{#416080}

Powered by Google App Engine
This is Rietveld 408576698