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

Issue 2384953002: [DevTools] Fixed breakpoints in hotreloaded scripts (Closed)

Created:
4 years, 2 months ago by kozy
Modified:
4 years, 2 months ago
Reviewers:
lushnikov
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] Fixed breakpoints in hotreloaded scripts We need to use last arrived script for ResourceScriptFile. Otherwise _isDiverged check will always return true in case of: eval("source1 //# sourceURL=foo.js") eval("source2 //# sourceURL=foo.js") BUG=617450, 623150 R=lushnikov@chromium.org Committed: https://crrev.com/c0d25adc44ebd36c2dc2565942a1884479c40004 Cr-Commit-Position: refs/heads/master@{#422622}

Patch Set 1 #

Patch Set 2 : added a test #

Total comments: 4

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
kozy
Andrey, please take a look! If it is fine, I'll add a test on Monday.
4 years, 2 months ago (2016-10-01 05:11:42 UTC) #1
dgozman
On 2016/10/01 05:11:42, kozyatinskiy wrote: > Andrey, please take a look! If it is fine, ...
4 years, 2 months ago (2016-10-03 03:02:04 UTC) #6
kozy
test added, please take a look!
4 years, 2 months ago (2016-10-03 19:01:51 UTC) #7
lushnikov
lgtm (don't forget to merge!) https://codereview.chromium.org/2384953002/diff/50001/third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html File third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html (right): https://codereview.chromium.org/2384953002/diff/50001/third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html#newcode32 third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html:32: InspectorTest.completeDebuggerTest(); return; https://codereview.chromium.org/2384953002/diff/50001/third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html#newcode39 third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html:39: ...
4 years, 2 months ago (2016-10-03 20:07:54 UTC) #12
kozy
thanks! all done. https://codereview.chromium.org/2384953002/diff/50001/third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html File third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html (right): https://codereview.chromium.org/2384953002/diff/50001/third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html#newcode32 third_party/WebKit/LayoutTests/inspector/sources/dont-diverge-script-evaluated-twice.html:32: InspectorTest.completeDebuggerTest(); On 2016/10/03 20:07:53, lushnikov wrote: ...
4 years, 2 months ago (2016-10-03 20:45:18 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/2384953002/70001
4 years, 2 months ago (2016-10-03 20:46:23 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/152976)
4 years, 2 months ago (2016-10-03 22:01:15 UTC) #18
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/2384953002/70001
4 years, 2 months ago (2016-10-03 23:02:19 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:70001)
4 years, 2 months ago (2016-10-04 00:23:20 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 00:26:48 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c0d25adc44ebd36c2dc2565942a1884479c40004
Cr-Commit-Position: refs/heads/master@{#422622}

Powered by Google App Engine
This is Rietveld 408576698