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

Issue 2050803005: DatabaseTracker: Use 'raw' string as key for origin (Closed)

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

Description

DatabaseTracker: Use 'raw' string as key for origin Prior to r382660 the WebSQL implementation used DatabaseIdentifiers, and a serialization was used as the key in maps. This was changed to take SecurityOrigins instead and the serialization via toString(). This introduced additional special cases e.g. "null" for file:// origins in some cases, leading to mismatches between setting and lookup in the map depending on when the SecurityOrigin was minted. To fix, use toRawString() within the DatabaseTracker which matches the old behavior. Similarly, use toRawString() when serializing an origin for posting across threads. BUG=618381 R=michaeln@chromium.org Committed: https://crrev.com/1667e9b86e2ede1e6267db73445478b447cca2e8 Cr-Commit-Position: refs/heads/master@{#399743}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (9 generated)
jsbell
michaeln@ - please take a look? This is very similar to https://codereview.chromium.org/1914763002 - unfortunately not ...
4 years, 6 months ago (2016-06-09 21:44:20 UTC) #2
michaeln
lgtm, thanx for dealing with the fallout
4 years, 6 months ago (2016-06-13 17:30:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2050803005/1
4 years, 6 months ago (2016-06-14 08:14:44 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/229319)
4 years, 6 months ago (2016-06-14 09:00:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2050803005/1
4 years, 6 months ago (2016-06-14 10:57:12 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/238713)
4 years, 6 months ago (2016-06-14 15:49:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2050803005/1
4 years, 6 months ago (2016-06-14 16:09:35 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-14 17:54:59 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-14 17:55:18 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 17:57:43 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1667e9b86e2ede1e6267db73445478b447cca2e8
Cr-Commit-Position: refs/heads/master@{#399743}

Powered by Google App Engine
This is Rietveld 408576698