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

Issue 2695123004: DevTools: Only provide static script content to UISourceCode (Closed)

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

Description

DevTools: Only provide static script content to UISourceCode This fixes live edited scripts losing their original content. BUG=610061 Review-Url: https://codereview.chromium.org/2695123004 Cr-Commit-Position: refs/heads/master@{#454150} Committed: https://chromium.googlesource.com/chromium/src/+/303b2827e8aac3bc43fc93aec9c79d6cd1834806

Patch Set 1 #

Patch Set 2 : Return null original for snippets #

Total comments: 1

Patch Set 3 : Now there is less #

Total comments: 8

Patch Set 4 : less in test #

Patch Set 5 : Private request original content #

Patch Set 6 : doc #

Patch Set 7 : merge #

Total comments: 2

Patch Set 8 : another try #

Messages

Total messages: 17 (5 generated)
einbinder
ptal. Still too much?
3 years, 10 months ago (2017-02-14 23:44:05 UTC) #2
pfeldman
https://codereview.chromium.org/2695123004/diff/20001/third_party/WebKit/Source/devtools/front_end/bindings/ContentProviderBasedProject.js File third_party/WebKit/Source/devtools/front_end/bindings/ContentProviderBasedProject.js (right): https://codereview.chromium.org/2695123004/diff/20001/third_party/WebKit/Source/devtools/front_end/bindings/ContentProviderBasedProject.js#newcode66 third_party/WebKit/Source/devtools/front_end/bindings/ContentProviderBasedProject.js:66: requestOriginalFileContent(uiSourceCode) { Still too much
3 years, 10 months ago (2017-02-15 22:33:15 UTC) #3
einbinder
On 2017/02/15 at 22:33:15, pfeldman wrote: > https://codereview.chromium.org/2695123004/diff/20001/third_party/WebKit/Source/devtools/front_end/bindings/ContentProviderBasedProject.js > File third_party/WebKit/Source/devtools/front_end/bindings/ContentProviderBasedProject.js (right): > > https://codereview.chromium.org/2695123004/diff/20001/third_party/WebKit/Source/devtools/front_end/bindings/ContentProviderBasedProject.js#newcode66 ...
3 years, 10 months ago (2017-02-15 23:26:20 UTC) #4
pfeldman
https://codereview.chromium.org/2695123004/diff/40001/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html File third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html (right): https://codereview.chromium.org/2695123004/diff/40001/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html#newcode17 third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html:17: project.requestOriginalFileContent = function(uri) Still some extra stuff https://codereview.chromium.org/2695123004/diff/40001/third_party/WebKit/Source/devtools/front_end/sdk/Script.js File ...
3 years, 10 months ago (2017-02-15 23:33:38 UTC) #6
einbinder
https://codereview.chromium.org/2695123004/diff/40001/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html File third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html (right): https://codereview.chromium.org/2695123004/diff/40001/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html#newcode17 third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html:17: project.requestOriginalFileContent = function(uri) On 2017/02/15 at 23:33:38, pfeldman wrote: ...
3 years, 10 months ago (2017-02-16 00:12:36 UTC) #7
pfeldman
ping
3 years, 10 months ago (2017-02-23 01:11:13 UTC) #8
einbinder
https://codereview.chromium.org/2695123004/diff/40001/third_party/WebKit/Source/devtools/front_end/sdk/Script.js File third_party/WebKit/Source/devtools/front_end/sdk/Script.js (right): https://codereview.chromium.org/2695123004/diff/40001/third_party/WebKit/Source/devtools/front_end/sdk/Script.js#newcode199 third_party/WebKit/Source/devtools/front_end/sdk/Script.js:199: if (!this._originalContentProvider) { On 2017/02/15 at 23:33:38, pfeldman wrote: ...
3 years, 9 months ago (2017-02-27 21:21:44 UTC) #9
pfeldman
https://codereview.chromium.org/2695123004/diff/120001/third_party/WebKit/Source/devtools/front_end/sdk/Script.js File third_party/WebKit/Source/devtools/front_end/sdk/Script.js (right): https://codereview.chromium.org/2695123004/diff/120001/third_party/WebKit/Source/devtools/front_end/sdk/Script.js#newcode201 third_party/WebKit/Source/devtools/front_end/sdk/Script.js:201: if (!this._originalContentProvider) { return this.requestContent().then(() => this._originalSource);
3 years, 9 months ago (2017-02-27 22:56:09 UTC) #10
einbinder
https://codereview.chromium.org/2695123004/diff/120001/third_party/WebKit/Source/devtools/front_end/sdk/Script.js File third_party/WebKit/Source/devtools/front_end/sdk/Script.js (right): https://codereview.chromium.org/2695123004/diff/120001/third_party/WebKit/Source/devtools/front_end/sdk/Script.js#newcode201 third_party/WebKit/Source/devtools/front_end/sdk/Script.js:201: if (!this._originalContentProvider) { On 2017/02/27 at 22:56:09, pfeldman wrote: ...
3 years, 9 months ago (2017-02-28 00:51:23 UTC) #11
pfeldman
lgtm
3 years, 9 months ago (2017-03-01 23:21:04 UTC) #12
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/2695123004/140001
3 years, 9 months ago (2017-03-01 23:54:01 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 02:07:22 UTC) #17
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/303b2827e8aac3bc43fc93aec9c7...

Powered by Google App Engine
This is Rietveld 408576698