File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -166,11 +166,13 @@ const TriggerToolboxOverlay = Class(
166166 }
167167
168168 if ( ! harOverlay . automation ) {
169- let pref = "devtools.netmonitor.har.enableAutoExportToFile" ;
170- let autoExport = Services . prefs . getBoolPref ( pref ) ;
171- if ( ! autoExport ) {
172- Cu . reportError ( "You need to set '" + pref + "' pref to enable " +
173- " automated HAR export (browser restart is required)" ) ;
169+ let pref1 = "devtools.netmonitor.har.enableAutoExportToFile" ;
170+ let pref2 = "extensions.netmonitor.har.enableAutomation" ;
171+
172+ if ( ! harOverlay . automation ) {
173+ Cu . reportError ( "You need to set '" + pref1 + "' or '" + pref2 +
174+ "' pref to enable automated HAR export " +
175+ "(browser restart is required)" ) ;
174176 }
175177 return ;
176178 }
You can’t perform that action at this time.
0 commit comments