Web Inspector: REGRESSION(r250991): Sources: local resource overrides should be enabled when not in tests
https://bugs.webkit.org/show_bug.cgi?id=202944

Reviewed by Joseph Pecoraro.

* UserInterface/Controllers/NetworkManager.js:
(WI.NetworkManager):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@251102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebInspectorUI/ChangeLog b/Source/WebInspectorUI/ChangeLog
index 1e57fba..0552085 100644
--- a/Source/WebInspectorUI/ChangeLog
+++ b/Source/WebInspectorUI/ChangeLog
@@ -1,3 +1,13 @@
+2019-10-14  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: REGRESSION(r250991): Sources: local resource overrides should be enabled when not in tests
+        https://bugs.webkit.org/show_bug.cgi?id=202944
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Controllers/NetworkManager.js:
+        (WI.NetworkManager):
+
 2019-10-11  Devin Rousso  <drousso@apple.com>
 
         Web Inspector: Debugger: support pattern blackboxing
diff --git a/Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js b/Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js
index 1b536b4..3eded78 100644
--- a/Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js
+++ b/Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js
@@ -50,7 +50,7 @@
         this._saveLocalResourceOverridesDebouncer = null;
 
         // FIXME: Provide dedicated UI to toggle Network Interception globally?
-        this._interceptionEnabled = !!window.InspectorTest;
+        this._interceptionEnabled = true;
 
         WI.notifications.addEventListener(WI.Notification.ExtraDomainsActivated, this._extraDomainsActivated, this);
         WI.Frame.addEventListener(WI.Frame.Event.MainResourceDidChange, this._handleFrameMainResourceDidChange, this);