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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js

Issue 2826573002: DevTools: fix tests to ensure clean revert of persistence2.0 (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-bind-dirty-sourcecode.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
index de2ac73fd12feaeb35d9cda3a8368b3dcaea8a35..86fd83ac9dd4e3ed4802260a5036b5e518e9ef3b 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
@@ -1253,7 +1253,7 @@ Sources.JavaScriptSourceFrame = class extends SourceFrame.UISourceCodeFrame {
if (this._prettyPrintInfobar)
return;
- if (!TextUtils.isMinified(/** @type {string} */ (this._debuggerSourceCode.content())))
+ if (!TextUtils.isMinified(/** @type {string} */ (this.uiSourceCode().content())))
dgozman 2017/04/17 22:36:02 How could this make a difference though?
lushnikov 2017/04/17 23:06:13 this.uiSourceCode() is the one which was requested
return;
this._prettyPrintInfobar = UI.Infobar.create(
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-bind-dirty-sourcecode.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698