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

Issue 2734533002: IndexedDB: Align abort behavior on uncaught exception with Gecko (Closed)

Created:
3 years, 9 months ago by jsbell
Modified:
3 years, 9 months ago
Reviewers:
pwnall
CC:
chromium-reviews, blink-reviews, haraken, blink-reviews-w3ctests_chromium.org, jsbell+idb_chromium.org, cmumford
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IndexedDB: Align abort behavior on uncaught exception with Gecko Indexed DB specifies that an uncaught exception in an event handler should abort the transaction. The spec states that this should happen after dispatch, and Gecko agrees. Blink was aborting after the specific handler aborted. This change aligns Blink's behavior with Gecko and the spec, and adds test coverage to web-platform-tests. BUG=698342 R=pwnall@chromium.org Review-Url: https://codereview.chromium.org/2734533002 Cr-Commit-Position: refs/heads/master@{#454937} Committed: https://chromium.googlesource.com/chromium/src/+/ed3d60a6f09642595391b6678d46f548b649e832

Patch Set 1 #

Total comments: 15

Patch Set 2 : Test refactors per review #

Messages

Total messages: 14 (8 generated)
jsbell
pwnall@ - please take a look?
3 years, 9 months ago (2017-03-03 20:27:43 UTC) #3
pwnall
LGTM, because everything looks correct. Here are some refactoring suggestions that can make it easier ...
3 years, 9 months ago (2017-03-04 00:27:33 UTC) #6
jsbell
Thanks for the excellent feedback! https://codereview.chromium.org/2734533002/diff/1/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/fire-error-event-exception.html File third_party/WebKit/LayoutTests/external/wpt/IndexedDB/fire-error-event-exception.html (right): https://codereview.chromium.org/2734533002/diff/1/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/fire-error-event-exception.html#newcode4 third_party/WebKit/LayoutTests/external/wpt/IndexedDB/fire-error-event-exception.html:4: <script src=/resources/testharness.js></script> On 2017/03/04 ...
3 years, 9 months ago (2017-03-06 18:25:03 UTC) #9
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/2734533002/20001
3 years, 9 months ago (2017-03-06 18:25:27 UTC) #10
pwnall
On 2017/03/06 18:25:03, jsbell wrote: > Thanks for the excellent feedback! Thank you for taking ...
3 years, 9 months ago (2017-03-06 18:46:33 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 20:24:20 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ed3d60a6f09642595391b6678d46...

Powered by Google App Engine
This is Rietveld 408576698