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

Issue 2546583003: DevTools: [Persistence] guard against multiple UISourceCodes with similar URL (Closed)

Created:
4 years ago by lushnikov
Modified:
4 years ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: [Persistence] guard against multiple UISourceCodes with similar URL Currently, we assume that there is a single UISourceCode per URL in the Workspace. However, this is not the case. In order to avoid unpredicted behavior, we should guard against this sitation. BUG=649837 R=dgozman Committed: https://crrev.com/7ac7d36de53c8632613f193adcafa9d1678e4e39 Cr-Commit-Position: refs/heads/master@{#436486}

Patch Set 1 #

Patch Set 2 : add fixme #

Total comments: 3

Patch Set 3 : put check deep down #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/persistence/DefaultMapping.js View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
lushnikov
please, take a look
4 years ago (2016-12-01 02:45:11 UTC) #1
dgozman
https://codereview.chromium.org/2546583003/diff/20001/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js File third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js (right): https://codereview.chromium.org/2546583003/diff/20001/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js#newcode35 third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js:35: // FIXME(lushnikov): workspace should contain only one UISourceCode per ...
4 years ago (2016-12-01 18:29:06 UTC) #8
lushnikov
https://codereview.chromium.org/2546583003/diff/20001/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js File third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js (right): https://codereview.chromium.org/2546583003/diff/20001/third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js#newcode36 third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js:36: if (binding.network[Persistence.Persistence._binding] || binding.fileSystem[Persistence.Persistence._binding]) On 2016/12/01 18:29:06, dgozman wrote: ...
4 years ago (2016-12-02 01:54:56 UTC) #9
lushnikov
addressed comments. please, take a look
4 years ago (2016-12-03 01:16:29 UTC) #10
dgozman
lgtm
4 years ago (2016-12-05 23:36:39 UTC) #17
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/2546583003/40001
4 years ago (2016-12-05 23:48:14 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-06 02:31:26 UTC) #22
commit-bot: I haz the power
4 years ago (2016-12-06 02:34:24 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7ac7d36de53c8632613f193adcafa9d1678e4e39
Cr-Commit-Position: refs/heads/master@{#436486}

Powered by Google App Engine
This is Rietveld 408576698