 Chromium Code Reviews
 Chromium Code Reviews Issue 1663723002:
  [DevTools] Add sourceMap support for blackboxing  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@call-set-blackboxed-ranges-on-script-parsed
    
  
    Issue 1663723002:
  [DevTools] Add sourceMap support for blackboxing  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@call-set-blackboxed-ranges-on-script-parsed| 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 355d5baa239c838430b3db8648545d960b9b2640..c50dd5daf64b015b666bf40f58cead6c82926235 100644 | 
| --- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js | 
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js | 
| @@ -150,7 +150,7 @@ WebInspector.JavaScriptSourceFrame.prototype = { | 
| var networkURL = WebInspector.networkMapping.networkURL(this.uiSourceCode()); | 
| var url = projectType === WebInspector.projectTypes.Formatter ? this.uiSourceCode().url() : networkURL; | 
| var isContentScript = projectType === WebInspector.projectTypes.ContentScripts; | 
| - if (!WebInspector.BlackboxSupport.isBlackboxed(url, isContentScript)) { | 
| + if ((WebInspector.blackboxManager.isBlackboxedContentScripts() && isContentScript) || WebInspector.blackboxManager.isBlackboxedURL(url)) { | 
| 
dgozman
2016/02/09 23:44:51
isUISourceCodeBlackboxed()
 
kozy
2016/02/10 01:19:42
Done.
 | 
| this._hideBlackboxInfobar(); | 
| return; | 
| } | 
| @@ -172,7 +172,7 @@ WebInspector.JavaScriptSourceFrame.prototype = { | 
| function unblackbox() | 
| { | 
| - WebInspector.BlackboxSupport.unblackbox(url, isContentScript); | 
| + WebInspector.blackboxManager.unblackbox(url, isContentScript); | 
| } | 
| this._updateInfobars(); |