Web Inspector: further align front-end configurations: get rid of saveAsAvailable...
[WebKit-https.git] / Source / WebCore / inspector / front-end / NetworkPanel.js
index 4cda71a..991cc4c 100644 (file)
@@ -944,7 +944,7 @@ WebInspector.NetworkLogView.prototype = {
         }
         contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Copy all as HAR" : "Copy All as HAR"), this._copyAll.bind(this));
 
-        if (Preferences.saveAsAvailable) {
+        if (InspectorFrontendHost.canSaveAs()) {
             contextMenu.appendSeparator();
             if (resource)
                 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Save entry as HAR" : "Save Entry as HAR"), this._exportResource.bind(this, resource));